Troubleshoot XMPP connection when switching to mobile data

asked 2014-01-07 00:20:14 +0300

Hess gravatar image

Basically, when switching to mobile data, XMPP accounts can't go online anymore.

  1. When wifi is available I connect to my XMPP account,
  2. Move away from Wifi and switch to mobile data manually — switch off Wlan, turn on Mobile data,
  3. Go to presence details and try to set to go online by setting 'Available',
  4. 'Available' indicator blinks and then stops. As a result XMPP is still offline,
  5. Go back to area of Wifi and switch to wifi manually — switch off mobile data, turn on Wlan,
  6. Automatically XMPP goes online.

I was able to repeat this twice today. If I'm in area of Wifi and switching to mobile data manually, then XMPP still is online. The mobile data was working except for XMPP: there was an indicator on the lock screen, twitter was updating, stock browser opening web pages.

The question: How can I troubleshoot XMPP connection issues? Are there any log files that I should check?

Probably, there should be better feedback on the screen why connection fails, but first I'd like to find out reason why.

edit retag flag offensive close delete

Comments

1

I never had this experience until i updated to 1.0.8.19. Since this update my XMPP accounts behave exactly the way it is described here. ...and thats very annoying. every time i leave home (wifi area) i can't receive messages. Is there any solution, except switching off wifi manually? Is anybody else having this problem?

Zandi ( 2014-07-16 16:57:55 +0300 )edit

try opening the presence details dialog and setting the state to Away, that works for me

benna86 ( 2014-08-08 00:36:13 +0300 )edit
1

This bug is still present even in latest update from December'14. I tested it by jamming my home AP with deauth packets forcing my Jolla to switch between WiFi and 2G network like crazy. At some point XMPP will no longer connect to my ejabberd service and I have to reboot the phone to make it work again. So yes with evil tools and packet injection you can reliably reproduce this failure.

Nekron ( 2015-01-12 13:46:12 +0300 )edit