#1085 [trunk] BOSH events broken

Reporter Frank Doepper
Owner Zash
Created
Updated
Stars ★★ (3)
Tags
  • Priority-Medium
  • Status-Fixed
  • Type-Defect
  • Milestone-0.11
  1. Frank Doepper on

    What steps will reproduce the problem? After https://hg.prosody.im/trunk/raw-rev/d424fe42b4d2 BOSH (and admin_web) does not work anymore. What is the expected output? BOSH login succeeding. What do you see instead? BOSH login timing out. What version of the product are you using? On what operating system? I am using deb http://packages.prosody.im/debian stretch main Please provide any additional information below. debug log: Feb 14 14:09:51 http.server debug Firing event: POST jabber.woffs.de/http-bind/ Feb 14 14:09:51 mod_bosh debug Handling new request table: 0x556ea23eab30: <body rid='3549019272' xmlns='http://jabber.org/protocol/httpbind' to='jabber.woffs.de' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/> ---------- Feb 14 14:09:51 mod_bosh debug BOSH body open (sid: <none>) Feb 14 14:09:51 bosh6d503b3b-e2bb-46f9-b02a-d1be6772e712 debug BOSH session created for request from 193.104.220.1 Feb 14 14:09:51 mod_bosh info New BOSH session, assigned it sid '6d503b3b-e2bb-46f9-b02a-d1be6772e712' Feb 14 14:09:51 mod_bosh debug We have an open request, so sending on that Feb 14 14:09:51 mod_bosh debug Request destroyed: table: 0x556ea23eabe0 Feb 14 14:09:51 bosh6d503b3b-e2bb-46f9-b02a-d1be6772e712 debug BOSH session marked as inactive (for 60s) Feb 14 14:09:51 mod_bosh debug Session 6d503b3b-e2bb-46f9-b02a-d1be6772e712 has 0 out of 1 requests open Feb 14 14:09:51 mod_bosh debug and there are 0 things in the send_buffer: Feb 14 14:09:51 http.server debug Firing event: POST jabber.woffs.de/http-bind/ Feb 14 14:09:51 mod_bosh debug Handling new request table: 0x556ea1d5c8e0: <body rid='3549019273' xmlns='http://jabber.org/protocol/httpbind' sid='6d503b3b-e2bb-46f9-b02a-d1be6772e712'/> ---------- Feb 14 14:09:51 mod_bosh debug BOSH body open (sid: 6d503b3b-e2bb-46f9-b02a-d1be6772e712) Feb 14 14:09:51 mod_bosh debug Session 6d503b3b-e2bb-46f9-b02a-d1be6772e712 has 1 out of 1 requests open Feb 14 14:09:51 mod_bosh debug and there are 0 things in the send_buffer: Feb 14 14:09:51 mod_bosh debug Have nothing to say, so leaving request unanswered for now config: [...] modules_enabled = { [...] "admin_web"; [...] }; [...] VirtualHost "example.com" enabled = false [...] VirtualHost "localhost" VirtualHost "anon.jabber.woffs.de" enabled = true authentication = "anonymous" VirtualHost "jabber.woffs.de" enabled = true [... component definitions follow ...]

  2. MattJ on

    This is because mod_bosh is a global module, and it needs to fire the 'stream-features' event on the sessions login host. After commit d424fe42b4d2 it now fires a global event.

    Changes
    • owner Zash
    • title BOSH events broken [trunk] BOSH events broken
    • tags Status-Accepted
  3. Zash on

    Looks like this was part of a series of BOSH changes intended to address #402, but not all of them were pushed.

  4. Zash on

    Should be fixed by https://hg.prosody.im/trunk/rev/30671b378ab5

    Changes
    • tags Status-Fixed Milestone-0.11

New comment

Not published. Used for spam prevention and optional update notifications.