Author Topic: Jabber - nie działają listy prywatności  (Read 6700 times)

0 Members and 1 Guest are viewing this topic.

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Jabber - nie działają listy prywatności
« on: 22 03 2021, 21:53:04 »
Mirandy używam od połowy 2019 roku i od samego początku nie działają mi listy prywatności w dwóch Jabberach. Konta są na serwerze jix.im oraz wtw.im. Podobno komunikator sam powinien utworzyć listę prywatności po zalogowaniu się do Jabbera i ustawienia statusu ukryty. A u mnie Miranda nigdy tego nie robiła. Nawet jeśli sam utworzę taką listę, włączę ją i ustawię jako domyślną, to po restarcie programu aktywna jest pozycja "<brak>".

W tej chwili mam Mirandę NG 0.95.13 build #23791. Ale tak jak pisałem wcześniej, u mnie listy prywatności nigdy nie działały, od wersji takiej, która była około 2 lata wstecz.
 

Online dartraiden

Re: Jabber - nie działają listy prywatności
« Reply #1 on: 23 03 2021, 16:43:38 »
Works for me...
Tested on jabber.ru

Maybe it's server-related

Yes, <none> is selected after restart, but default and active list is "iiii" (act. def. + green star and green mark)
« Last Edit: 23 03 2021, 16:48:00 by dartraiden »
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #2 on: 23 03 2021, 16:46:20 »
jojo87,
messenger hasn't to create its own hidden privacy list, some of them do (like Conversations), but it's not required.

it might depend on a server, more information could be gotten from a network log of privacy list saving (core + Jabber)
more info here: https://wiki.miranda-ng.org/index.php?title=Network_log
 

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie dzia%u0142aj%u0105 listy prywatno%u015Bci
« Reply #3 on: 23 03 2021, 18:04:28 »
Maybe it's server-related
I doubt it. I used this server on a different messenger before Miranda (I changed to Miranda because the previous messenger is not being developed anymore). In it, the privacy lists on jix.im worked.

ghazan, I create logs.
Core:
https://drive.google.com/file/d/1H2DZa46ivX2ifNGxZ-z1Nf_LU_7eXKPn/view?usp=sharing

Jabber #1:
https://drive.google.com/file/d/1stdVQWkC0QOUzDEspVRz733DIEwHFjTv/view?usp=sharing

Jabber #2:
https://drive.google.com/file/d/1O8QzDkvqdNZE30VXX1cgTKCyVsYsWz-A/view?usp=sharing

Explanation:
I have set the status "hidden" as startup. I turned off Miranda and just turned it on.
« Last Edit: 23 03 2021, 18:06:59 by jojo87 »
 

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie działają listy prywatności
« Reply #4 on: 30 03 2021, 06:39:16 »
Someone (I won't write who :P) told me it was probably a parsing error in Miranda.

From jabber 1.txt:
Quote
[2021-03-23 18:24:50 1374] [JABBER_1] parsing error 6: Error=XML_ERROR_PARSING_ELEMENT Err
orID=6 (0x6) Line number=1: XMLElement name=item

From jabber 2.txt:
Quote
[2021-03-23 18:24:50 1434] [JABBER_2] parsing error 6: Error=XML_ERROR_PARSING_ELEMENT Err
orID=6 (0x6) Line number=1: XMLElement name=item
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #5 on: 30 03 2021, 19:12:04 »
jojo87,
that's okay with parser, when the packet length exceeds current buffer size, Miranda expands a buffer, reads the rest and starts parsing from scratch

PS: well, in both cases the server simply did not return anything about privacy lists, like they don't exist at all
« Last Edit: 30 03 2021, 19:16:34 by ghazan »
 

Online dartraiden

Re: Jabber - nie działają listy prywatności
« Reply #6 on: 30 03 2021, 19:12:31 »
The server response is very large: <group>@wtw.im</group></item><item → parsing error → Miranda cannot parse → we need more memory → increasing network buffer size to 4096 → another attempt: </item><item ask='subscribe' name → parsing error → increasing network buffer size to 8192 → attempt #3 → success
« Last Edit: 30 03 2021, 19:14:52 by dartraiden »
 

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie działają listy prywatności
« Reply #7 on: 31 03 2021, 11:07:26 »
PS: well, in both cases the server simply did not return anything about privacy lists, like they don't exist at all
In fact, I don't have any privacy list at the moment. But as I wrote in the first post (in Polish) - if I create a privacy list, turn it on and set it as default, after Miranda restart I have "<none>" active anyway. Make a second log when starting Miranda when I create the privacy list myself,
activate it and set it as default?

The server response is very large: <group>@wtw.im</group></item>
That `s bad? I use the jix.im server on a daily basis anyway, so I could quit with wtw.im.
« Last Edit: 31 03 2021, 11:09:54 by jojo87 »
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #8 on: 31 03 2021, 14:16:04 »
l
sure. how else could we debug this issue? :D

That `s bad? I
no, that's ok, that's how it should be
 

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie działają listy prywatności
« Reply #9 on: 01 04 2021, 18:38:21 »
So, I set the status "hidden" as the default for jix.im and wtw.im, for both servers I created a privacy list (but I don't know if it's correct for hidden), disabled Miranda and restarted it a second time.

Upon startup, it turned out that the privacy list for wtw.im is set as default, for jix.im it is not.

Core:
https://drive.google.com/file/d/1OtGJ2Wy_TMvvrw1hqM-NxZYWzgufp5od/view?usp=sharing

Jabber #1 (jix.im):
https://drive.google.com/file/d/1cD4K8MZC1-2xhLTt_XiG3iO7DDes00m9/view?usp=sharing

Jabber #2 (wtw.im):
https://drive.google.com/file/d/1WB15kEAk0lqE0nPC4hwuGvAtJOgiGhIs/view?usp=sharing
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #10 on: 14 04 2021, 15:05:26 »
jojo87,
yes, looks like a problem at the first server with setting active list.
dunno, usually it works without problems
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #11 on: 14 04 2021, 15:09:23 »
jojo87,
maybe I could find some info in a network of assigning active list at  jix.im?
which server software is installed there?
 

Offline jojo87

  • Newbie
  • *
  • Posts: 12
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie działają listy prywatności
« Reply #12 on: 14 04 2021, 21:18:44 »
ghazan, at this moment ejabberd 21.01.
« Last Edit: 14 04 2021, 21:20:32 by jojo87 »
 

Offline ghazan

Re: Jabber - nie działają listy prywatności
« Reply #13 on: 17 04 2021, 15:06:00 »
jojo87,
, at this moment ejabberd 21.01.
hmm... it doesn't explain why it fails to handle active privacy list...[
 

Offline Beherit

  • Newbie
  • *
  • Posts: 5
  • Country: pl
  • Jabber: Jabber ID
Re: Jabber - nie działają listy prywatności
« Reply #14 on: 17 04 2021, 18:07:56 »
it doesn't explain why it fails to handle active privacy list...

What exactly information do you need? The server has the mod_privacy module enabled with no additional options. I don't see errors in config file, the server has standard config - very similar to ejabberd sample config file.