Miranda NG Official Community Forum
Other languages speaking Miranda NG users => Polski => Topic started by: jojo87 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.
-
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)
-
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
-
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.
-
Someone (I won't write who :P) told me it was probably a parsing error in Miranda.
From jabber 1.txt:
[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:
[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
-
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
-
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
-
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.
-
l
sure. how else could we debug this issue? :D
That `s bad? I
no, that's ok, that's how it should be
-
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
-
jojo87,
yes, looks like a problem at the first server with setting active list.
dunno, usually it works without problems
-
jojo87,
maybe I could find some info in a network of assigning active list at jix.im?
which server software is installed there?
-
ghazan, at this moment ejabberd 21.01.
-
jojo87,
, at this moment ejabberd 21.01.
hmm... it doesn't explain why it fails to handle active privacy list...[
-
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.
-
Anyway, I checked privacy lists on my server jix.im by connecting from other IMs and everything work perfect. I have strong suspicions that the problems is with Miranda.
-
The privacy list in wtw.im them works perfectly. In jix.im - no. In wtw.im I can disconnect from the server, then set the status to hidden immediately and I can see who is online. If I set my privacy list as default and active before disconnecting from jix.im, then after reconnecting (as hidden) it is only default but not enabled.
-
Beherit,
frankly speaking, an account at your server :) you can send me credentials in the private message
-
I sent credentials in pm.
-
Beherit,
got it, thanks
-
jojo87,
dunno, but for me it works okay. what have I done:
- added a privacy list with a rule "Subscription none - deny";
- saved it with name "mylist";
- clicked on "Make active" & "make default"
In the network log I see that everything worked fine:
[20:51:57 2CD0] [JABBER_6] (0000000004569C60:1644) Data sent
<iq type="get" id="mir08b35d47801170a2_19"><query xmlns="jabber:iq:privacy"/></iq>
[20:51:57 3B0C] [JABBER_6] (0000000004569C60:1644) Data received
<iq xml:lang='en' to='mtest@jix.im/Miranda' from='mtest@jix.im' type='result' id='mir08b35d47801170a2_19'><query xmlns='jabber:iq:privacy'><active name='mylist'/><default name='mylist'/><list name='mylist'/></query></iq>
-
Beherit,
jojo87 is right: after restart Miranda loses active privacy list:
[20:56:25 0F04] [JABBER_6] (0000000004480200:1424) Data received
<iq xml:lang='en' to='mtest@jix.im/Miranda' from='mtest@jix.im' type='result' id='mira0291555dd2b108b_7'><query xmlns='jabber:iq:privacy'><active/><default name='mylist'/><list name='mylist'/></query></iq>
Something goes wrong: active list really remains active only during current session...
-
jojo87 is right: after restart Miranda loses active privacy list:
Not only during Miranda restart. If I have the Mirande enabled, I will enable/set my default privacy list to jix.im, I will set the offline status on this server (but Miranda is still enabled), then after trying to set the status to "invisible" my privacy list is default but not enabled.
So it's not about the process of turning on Miranda, but connecting to the Jabber network.
However, the same situation in wtw.im makes the privacy list work perfectly.
-
Something goes wrong: active list really remains active only during current session...
The most important information for me - do you think the problem is with the server? If yes, I will report it on the ejabberd github.
-
Beherit,
yes, I do think so, because that is the only server which behaves this way
PS: maybe that's a problem with database? wrong/unpatched database structure, for example, which prevents a server from updating data? dunno, just a hypothesis
-
Strange because I checked privacy lists on other IM and there everything works okay ;) Anyway I will double check database and logs.
-
In 0.95.13.1 build #23799 privacy list in:
- wtw.im - work
- jix.im - doesn't work
-
Privacy lista in jix.im in Miranda 0.95.13.1 build #23806 still doesn't work. And additionally, the window with the privacy lists broke.
Screen: https://www.dropbox.com/s/ydv4jd914afcstl/1%20%282%29.png?dl=0
-
Privacy lista in jix.im in Miranda 0.95.13.1 build #23806 still doesn't work. And additionally, the window with the privacy lists broke.
Screen: https://www.dropbox.com/s/ydv4jd914afcstl/1%20%282%29.png?dl=0 (https://www.dropbox.com/s/ydv4jd914afcstl/1%20%282%29.png?dl=0)
This little bug has already been fixed recently.
But Miranda's privacy lists in jix.im still don't work. Please. Fix it. In my opinion, Miranda is to blame.
Jix.im + Miranda - privacy lists not working.
Wt.im + Miranda - Privacy lists are working.
Jix.im + AQQ - privacy lists work - AQQ has not been an expandable communicator for a long time!
Jix.im + Gaijim - privacy lists work.