#890 mod_secure_interfaces traceback with BOSH connections

Reporter MattJ
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.9
  • Priority-Medium
  • Status-Fixed
  • Type-Defect
  1. MattJ on

    Prosody 0.9. Apr 17 17:22:59 http.server error Traceback[httpserver]: ...ules/mod_secure_interfaces/mod_secure_interfaces.lua:6: attempt to call method 'socket' (a nil value) stack traceback: [C]: in function 'parse' /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed' /usr/lib/prosody/modules/mod_bosh.lua:128: in function '?' /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/lib/prosody/net/http/server.lua:225: in function </usr/lib/prosody/net/http/server.lua:168> (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/net/http/server.lua:109: in function 'process_next' /usr/lib/prosody/net/http/server.lua:125: in function 'success_cb' /usr/lib/prosody/net/http/parser.lua:173: in function 'feed' /usr/lib/prosody/net/http/server.lua:154: in function 'onincoming' /usr/lib/prosody/net/server_event.lua:636: in function </usr/lib/prosody/net/server_event.lua:582> [C]: in function 'loop' /usr/lib/prosody/net/server_event.lua:797: in function </usr/lib/prosody/net/server_event.lua:796> [C]: in function 'xpcall' /usr/bin/prosody:376: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ?

  2. Zash on

    session.conn = {} https://hg.prosody.im/0.9/file/2a7b52437167/plugins/mod_bosh.lua#l250

  3. Zash on

    Fixed (hopefully, didn't test) in https://hg.prosody.im/0.9/rev/8d1fd6d34bda

    Changes
    • tags Milestone-0.9 Status-Fixed
    • owner Zash

New comment

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