CONNECTION_FAILED event handling and connection quality status range

You will have more control and settings to handle those when using nginx.

Thanks again.

I have installed nginx and the Jitsi-meet, the issue I did face is add_header was adding duplicate header and hence http-bind call were throwing error “expected one value but got multiple”, so I changed it to proxy_set_header, now it works.

Edited because now everything works after doing fresh installation on fresh VM strange but after apt-get purge few config files were still there and causing problems.

Hi @Nilesh_Sargar @damencho
On mobile platform if internet is disconnected for 10 seconds or longer conference hangup. Can we increase this timeout around 30 seconds so that device gets enough buffer time to reconnect to internet. if so In what file do we need to make changes.

Regards

Good afternoon, I have the jitsi meet system on ubutu 18.04 tls 2 months ago, working correctly with several meetings with 27 clients, and two days ago he only let me create the room and if any participant enters it, it bounces this message “Unfortunately something went wrong. We are trying to fix this. Re-connecting in so many seconds¨ It does not allow more users to join the room, the truth is that I did not touch the configuration of the same and I do not explain how this problem can happen. After updating it to the latest version it keeps doing the same to me.

What are the js console logs saying?

I am seeing similar errors
The behavior is that E2E RTT latency spikes up to 46,384ms and then the call eventually disconnects, and says "The conference will be reloaded after xx seconds.'

Can you tell me if anything below looks out of the ordinary about my logs?

08-12 15:06:32.645 6445 6821 I ReactNativeJS: ‘[modules/xmpp/xmpp.js]’, '<>: ', ‘(TIME) Strophe connfail[item-not-found]:\t’, 1597259192645
08-12 15:06:32.647 6445 6821 I ReactNativeJS: ‘[modules/xmpp/xmpp.js]’, '<>: ', ‘(TIME) Strophe disconnected[item-not-found]:\t’, 1597259192646
08-12 15:06:32.647 6445 6821 I ReactNativeJS: ‘[modules/xmpp/strophe.ping.js]’, '<>: ', ‘Ping interval cleared’
08-12 15:06:32.647 6445 6821 I ReactNativeJS: ‘[modules/statistics/statistics.js]’, '<>: ', ‘{“type”:“operational”,“action”:“connection.failed”,“attributes”:{“error_type”:“connection.otherError”,“error_message”:“item-not-found”,“suspend_time”:7}}’

Further error messages:

Error Connecting through Bosh
org.jivesoftware.smack.SmackException: Timeout reached for the connection to null:0.

08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: Connection XMPPTCPConnection[not-authenticated] (9) closed with error
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: java.io.EOFException
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:169)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at java.io.InputStreamReader.read(InputStreamReader.java:233)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at java.io.BufferedReader.read(BufferedReader.java:325)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.kxml2.io.KXmlParser.fillBuffer(KXmlParser.java:1515)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.kxml2.io.KXmlParser.peekType(KXmlParser.java:992)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.kxml2.io.KXmlParser.next(KXmlParser.java:349)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1352)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$1000(XMPPTCPConnection.java:1092)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1112)
08-12 14:54:59.562 7519 8111 W AbstractXMPPConnection: at java.lang.Thread.run(Thread.java:818)

08-12 14:55:03.613 7519 7546 W PingManager: XMPPConnection was not authenticated
08-12 14:55:03.619 7519 7546 W PingManager: XMPPConnection was not authenticated
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: shutdown
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: java.lang.NullPointerException: Attempt to invoke virtual method ‘org.igniterealtime.jbosh.AttrSessionID org.igniterealtime.jbosh.CMSessionParams.getSessionID()’ on a null object reference
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.applySessionData(BOSHClient.java:921)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.send(BOSHClient.java:498)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.disconnect(BOSHClient.java:586)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.disconnect(BOSHClient.java:567)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.jivesoftware.smack.bosh.XMPPBOSHConnection.shutdown(XMPPBOSHConnection.java:263)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.jivesoftware.smack.bosh.XMPPBOSHConnection.notifyConnectionError(XMPPBOSHConnection.java:419)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.jivesoftware.smack.bosh.XMPPBOSHConnection$BOSHConnectionListener.connectionEvent(XMPPBOSHConnection.java:466)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.fireConnectionClosedOnError(BOSHClient.java:1683)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.dispose(BOSHClient.java:705)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1137)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:998)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1727)
08-12 14:55:03.673 7519 8108 W XMPPBOSHConnection: at java.lang.Thread.run(Thread.java:818)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: Connection XMPPBOSHConnection[not-authenticated] (10) closed with error
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: org.igniterealtime.jbosh.BOSHException: Could not obtain response
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:251)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:192)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1122)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:998)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.BOSHClient.access$300(BOSHClient.java:100)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.BOSHClient$RequestProcessor.run(BOSHClient.java:1727)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at java.lang.Thread.run(Thread.java:818)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: Caused by: java.net.UnknownHostException: Unable to resolve host “jabber.airsuite-live.atheerair.com”: No address associated with hostname
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at java.net.InetAddress.lookupHostByName(InetAddress.java:470)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at java.net.InetAddress.getAllByName(InetAddress.java:215)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:142)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:235)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: … 6 more
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at libcore.io.Posix.android_getaddrinfo(Native Method)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
08-12 14:55:03.682 7519 8108 W AbstractXMPPConnection: … 15 more

Where do you see these messages?
It is something in the xmpp server, what do the prosody logs look like?

Hi Damencho, Sorry for bothering,
I think my problem was the java.net.UnknownHostException: Unable to resolve host.

The problem seems isolated to the specific device (Android 6.0.1) and and several google results have pointed to 6.0.1 as being the issue

The DNS sometimes does not resolve properly, but sometimes resolves fine.
There is a temporary fix of toggling the WiFi on the device, but the issue reoccurs after reboot.
Unfortunately, there are no newer ROMs after the 6.0.1 for this device :frowning: