Author Topic: Jabber  (Read 13495 times)

0 Members and 2 Guests are viewing this topic.

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Jabber
« on: 29 04 2020, 12:04:35 »
hi there i have a very disgusting bug since a few months. i often send jabber messages from my laptop (miranda NG 0.95.11) to my smartphone android xabber 2.6.6.644. i always update. my jabber account is registered at jabber.de which uses openfire.

before 2019 i am sure i've never had this problem.

smartphone and laptop are online. there are 2 jabber accounts:
smartphone-xabber@jabber.de
laptop-miranda@jabber.de

just 2 examples. i send from smartphone to laptop (text, only text, other stuff like pdf jpg doesn't work properly but this is ok so far EDIT: just tested it, even files work) EVERYTHING works if i send from smartphone to miranda ng. i see the file clearly, wonderful!

if i send from laptop to smartphone, a desaster happens, i just can't tolerate it anymore. both are online. the message gets on the smartphone but strange things happen on laptop. the text i wrote doesn't appear on the laptop as chat log and after some seconds it says translated "message could not been sended" but i received it on the smartphone! if i close the window right after sending a message miranda says "message waits for confirmation etc. ....  long text" i press yes because i don't need miranda anymore and continue the work on the smartphone. message also doesn't appear on miranda but that's not important. i can't send files like pdf or jpg! if i turn off xabber on smartphone, if i simply go offline on the smartphone, sending text messages works flawlessly!!! like nothing happend no error or anything, sadly i can't send files this way, miranda says it's not supported offline file sending.

maybe it's because of this confirmation.

if anyone needs a screenshot just tell me. it's just not easy loading the screenshot to a server and posting the link here.

at least i figured out why reconnection after disconnecting doesn't work:

1. install the addon Status manager https://wiki.miranda-ng.org/index.php?title=Plugin:StatusManager/de
2. miranda => settings => status => keep status => [X] check connection => RESTART MIRANDA!!! => lower the delay if you want

since year 2023

1. install the addon Status manager https://wiki.miranda-ng.org/index.php?title=Plugin:StatusManager/de
2. miranda => settings => status => keep status => tab basic => [X] check connection => lower the delay if you want ............. => tab Advanced => reconnecting => Reconnect on APM resume => RESTART MIRANDA!!!
« Last Edit: 10 12 2022, 09:52:02 by rotefantas2 »
 

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #1 on: 30 04 2020, 12:05:21 »
had to disable XEP-0184: Message Delivery Receipts

https://wiki.miranda-ng.org/index.php?title=Plugin:Jabber#Troubleshooting

Settings => Network => Choose the Jabber-Account => Tab "Advanced" => Miscellaneous => uncheck Messagung [ ] XEP-0184: Message Delivery Receipts (IT'S THE FIRST)

 

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #2 on: 30 04 2020, 12:59:14 »
To use XEP-0363: HTTP File Upload, enable Protocol menu → Services... → Service discovery → Right-click on service → Use for uploads option

had to look a lot for "protocol menu", it's just a rightclick on last line of the miranda ng main window. then again right click on the server (first line) of the new window. use upload is marked to times!

« Last Edit: 30 04 2020, 13:02:54 by rotefantas2 »
 

Offline ghazan

Re: Jabber
« Reply #3 on: 30 04 2020, 15:04:04 »
had to disable XEP-0184: Message Delivery Receipts
that's strange, because Miranda doesn't request confirmations in case when another side doesn't publish such capability.

Just for fun, open User Details/Account/Capabilities in Miranda for that contact and look at the list of capabilities it declares: is there urn:xmpp:receipts or not?
 

Offline dartraiden

Re: Jabber
« Reply #4 on: 30 04 2020, 20:47:38 »
To use XEP-0363: HTTP File Upload
The server should support HTTP file upload.
After enabling you can just drag-n-drop file to message input area

 
The following users thanked this post: rotefantas2

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #5 on: 02 05 2020, 16:18:40 »
that's strange, because Miranda doesn't request confirmations in case when another side doesn't publish such capability.

Just for fun, open User Details/Account/Capabilities in Miranda for that contact and look at the list of capabilities it declares: is there urn:xmpp:receipts or not?

Code: [Select]
Unterstützt Nachrichtendurchschläge (XEP-0280) (urn:xmpp:carbons:2)
Kann eigene Versionsinformationen veröffentlichen (jabber:iq:version)
Kann Informationen über die letzte Aktivität des Benutzers veröffentlichen (jabber:iq:last)
Kann Chatzustand in einer Chatsitzung melden (http://jabber.org/protocol/chatstates)
Unterstützt Mehrbenutzerchat (http://jabber.org/protocol/muc)
Unterstützt Ausführung von Ad-hoc-Befehlen (http://jabber.org/protocol/commands)
Unterstützt Dateiübertragungen via SOCKS5-Bytestreams (http://jabber.org/protocol/bytestreams)
Kann über seine Jabberfähigkeiten informieren (http://jabber.org/protocol/caps)
Unterstützt Diensterkennung Liste der Einträge (http://jabber.org/protocol/disco#items)
Unterstützt Diensterkennung Info (http://jabber.org/protocol/disco#info)
Fähigkeiten dieses Clients
Unterstützt Diensterkennung Info (http://jabber.org/protocol/disco#info)
Unterstützt Diensterkennung Liste der Einträge (http://jabber.org/protocol/disco#items)
Kann über seine Jabberfähigkeiten informieren (http://jabber.org/protocol/caps)
Unterstützt Dateiübertragungen via SOCKS5-Bytestreams (http://jabber.org/protocol/bytestreams)
Unterstützt Ausführung von Ad-hoc-Befehlen (http://jabber.org/protocol/commands)
Unterstützt Mehrbenutzerchat (http://jabber.org/protocol/muc)
Kann Chatzustand in einer Chatsitzung melden (http://jabber.org/protocol/chatstates)
Kann Informationen über die letzte Aktivität des Benutzers veröffentlichen (jabber:iq:last)
Kann eigene Versionsinformationen veröffentlichen (jabber:iq:version)
Kann lokale Zeit des Nutzers veröffentlichen (urn:xmpp:time)
Kann Pinganfragen senden und empfangen (urn:xmpp:ping)
Unterstützt Datenformulare (jabber:x:data)
Unterstützt vCard (vcard-temp)
Unterstützt XHTML-Formatierung von Chatnachrichten (http://jabber.org/protocol/xhtml-im)
Blockiert Pakete von anderen Benutzern/Gruppenchats anhand der Privatsphärelisten (jabber:iq:privacy)
Unterstützt Lesebestätigungen (urn:xmpp:receipts)
Unterstützt Aufmerksamkeitsanfragen ('nudge') (urn:xmpp:attention:0)
Unterstützt Nachrichtendurchschläge (XEP-0280) (urn:xmpp:carbons:2)
Unterstützt Aufmerksamkeitsanfragen ('nudge') (urn:xmpp:attention:0)
Unterstützt Lesebestätigungen (urn:xmpp:receipts)
Blockiert Pakete von anderen Benutzern/Gruppenchats anhand der Privatsphärelisten (jabber:iq:privacy)
Unterstützt XHTML-Formatierung von Chatnachrichten (http://jabber.org/protocol/xhtml-im)
Unterstützt vCard (vcard-temp)
Unterstützt Datenformulare (jabber:x:data)
Kann Pinganfragen senden und empfangen (urn:xmpp:ping)
Kann lokale Zeit des Nutzers veröffentlichen (urn:xmpp:time)

can't find it.
 

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #6 on: 02 05 2020, 16:24:22 »
The server should support HTTP file upload.
After enabling you can just drag-n-drop file to message input area

"Use for uploads" is two times there. i have activated one of it.

it wasn't very easy to help myself. i am disappointed that you blocked my first account rotefantas. at least i am satisfied with miranda ng now. if you read this thread closely, it has the problems solved every jabber user has with miranda ng.

- miranda doesn't get confirmation and user gets insane (disable XEP-0184: Message Delivery Receipts)
- sending files doesn't work (use XEP-0363: HTTP File Upload)
- reconnection after disconnecting doesn't work

i wish this thread would be the first post in google if you type one of these problems
 

Offline ghazan

Re: Jabber
« Reply #7 on: 02 05 2020, 18:01:52 »
Unterstützt Lesebestätigungen (urn:xmpp:receipts)
This one. so this program declares support for message receipts, but doesn't send them back.
You can either disable them or file a bug report on this program
 

Offline webtau

  • Newbie
  • *
  • Posts: 11
Re: Jabber
« Reply #8 on: 08 10 2020, 06:55:49 »
One more problem is with jabber contacts, very often another users not receiving my authorization requests and they arr all time offline so i can`t send messages.

And when you add new contact hes name is (Unknown contact)
« Last Edit: 08 10 2020, 07:01:10 by webtau »
 

Offline ghazan

Re: Jabber
« Reply #9 on: 09 10 2020, 15:41:29 »
webtau,
XMPP servers usually don't allow you to send duplicate auth requests, also, if you are located at the different servers, server-to-server auth might not work.

And when you add new contact hes name is (Unknown contact)
Could you attach a screenshot, please, or describe how to reproduce it
 

Offline webtau

  • Newbie
  • *
  • Posts: 11
Re: Jabber
« Reply #10 on: 14 11 2020, 11:06:55 »
Could you attach a screenshot, please, or describe how to reproduce it
just simple add new jabber contact.

And another one error every month spoil all program and i should restore backup

 

Offline webtau

  • Newbie
  • *
  • Posts: 11
Re: Jabber
« Reply #11 on: 14 11 2020, 11:11:40 »
and ignore settings for online notifications not saving, group set for don`t notify when user come online and anyway every time when i add new user to any group i should go to ignore settings ant select on this user that ignore online notification.
 

Offline ghazan

Re: Jabber
« Reply #12 on: 18 11 2020, 19:55:54 »
webtau,
this bug was fixed in the development version a month ago, I've just merged it with the stable build and pushed it to the server. Enjoy
 
The following users thanked this post: webtau

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #13 on: 15 02 2021, 19:27:55 »
had to disable XEP-0184: Message Delivery Receipts

https://wiki.miranda-ng.org/index.php?title=Plugin:Jabber#Troubleshooting

Settings => Network => Choose the Jabber-Account => Tab "Advanced" => Miscellaneous => uncheck Messagung [ ] XEP-0184: Message Delivery Receipts (IT'S THE FIRST)

this is not neccessary anymore between miranda ng newest version and xabber android newest version
 

Offline rotefantas2

  • Newbie
  • *
  • Posts: 29
Re: Jabber
« Reply #14 on: 22 01 2023, 18:43:50 »
but this im important