Opened 7 years ago

Closed 7 years ago

#10337 closed defect

BOSH - lost connection after 120 seconds

Reported by: docks Owned by: deryni
Milestone: Component: XMPP
Version: 2.6.2 Keywords: BOSH
Cc:

Description

Directly (without a proxy) connecting to a jabber server running ejabberd 2.0.x from pidgin 2.6.2 (Linux) leads to error message:

gnutls: receive failed: A TLS packet with unexpected length was received.

Reconnecting does not succeed.

Same account on pidgin 2.6.2 (Windows XP) works much better (via a squid proxy), but rarely leads to a similar message.

Attached you can find a debug log.

Attachments (2)

pidgin-debug-bosh.log (69.6 KB) - added by docks 7 years ago.
pidin_with_gnutls_debug_bosh_connect.log (67.4 KB) - added by docks 7 years ago.

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by docks

comment:1 Changed 7 years ago by QuLogic

  • Component changed from unclassified to XMPP
  • Owner changed from rekkanoryo to deryni

comment:2 Changed 7 years ago by darkrain42

  • Status changed from new to pending

This is an SSL/GnuTLS issue of some sort. Please attach a debug log after starting up Pidgin with the PURPLE_GNUTLS_DEBUG variable set to 3.

Changed 7 years ago by docks

comment:3 Changed 7 years ago by docks

  • Status changed from pending to new

Attachment (pidin_with_gnutls_debug_bosh_connect.log) added by ticket reporter.

comment:4 follow-up: Changed 7 years ago by darkrain42

  • Status changed from new to pending

Does it work if you try to connect with Pidgin 2.6.2 without BOSH (perhaps from someplace not firewalled if your connectivity is limited where you currently are)?

This looks like it might be EJAB-939.

comment:5 in reply to: ↑ 4 Changed 7 years ago by docks

  • Status changed from pending to new

Yes, it works fine without BOSH, direct as well as over a SOCKS proxy.

comment:6 Changed 7 years ago by darkrain42

  • Status changed from new to pending

The second debug log you provided (with GnuTLS) doesn't exhibit the same issue you're describing (in the second log, the BOSH connection manager just terminates the session, and I'm not sure I see why, although I only skimmed the log.)

Please try to get another log with GnuTLS logging enabled where you get the gnutls: receive failed: A TLS packet with unexpected length was received. message in the log.

comment:7 Changed 7 years ago by trac-robot

  • Status changed from pending to closed

This ticket was closed automatically by the system. It was previously set to a Pending status and hasn't been updated within 14 days.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!