#1419 net/server_select.lua: attempt to call upvalue 'dispatch' (a nil value)

Reporter perflyst
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-NeedInfo
  • Type-Defect
  • Priority-Medium
  1. perflyst on

    What steps will reproduce the problem? unknown What do you see instead? Sep 02 07:02:12 s2sin56534f572120 warn No certificate provided by pubsub.beta.kontalk.net Sep 02 07:02:12 mod_s2s warn Forbidding insecure connection to/from pubsub.beta.kontalk.net Sep 02 07:02:13 general error Top-level error, please report: /usr/lib/prosody/net/server_select.lua:523: attempt to call upvalue 'dispatch' (a nil value) Sep 02 07:02:13 general error stack traceback: /usr/lib/prosody/net/server_select.lua:523: in function 'readbuffer' /usr/lib/prosody/net/server_select.lua:943: in function </usr/lib/prosody/net/server_select.lua:927> [C]: in function 'xpcall' /usr/lib/prosody/../../bin/prosody:80: in function 'loop' /usr/lib/prosody/../../bin/prosody:90: in main chunk [C]: ? What version of the product are you using? On what operating system? Prosody trunk nightly build 1136 (2019-09-01, 6c804b6b2ca2) on Debian Stretch Please provide any additional information below. pubsub.beta.kontalk.net does not exist in public internet, dunno whats going on there in general: https://forum.kontalk.org/t/expired-certificate-on-pubsub-beta-kontalk-net/685/2

  2. Zash on

    Thanks for the report. I'm not entirely sure whether the s2s connection is directly related, more debug logs would help if you can catch this with debug logging enabled.

    Changes
    • tags Status-NeedInfo
  3. perflyst on

    This is what I could catch Sep 04 20:22:05 socket debug server.lua: auto-starting ssl negotiation... Sep 04 20:22:05 socket debug server.lua: attempting to start tls on tcp{client}: 0x55f010d93278 Sep 04 20:22:05 socket debug server.lua: accepted new client connection from IPV6-1:49688 to 5281 Sep 04 20:22:05 socket debug server.lua: ssl handshake done Sep 04 20:22:05 socket debug server.lua: closed client handler and removed socket from list Sep 04 20:22:06 general error Top-level error, please report: /usr/lib/prosody/net/server_select.lua:528: attempt to call upvalue 'dispatch' (a nil value) Sep 04 20:22:06 general error stack traceback: /usr/lib/prosody/net/server_select.lua:528: in function 'readbuffer' /usr/lib/prosody/net/server_select.lua:948: in function </usr/lib/prosody/net/server_select.lua:932> [C]: in function 'xpcall' /usr/lib/prosody/../../bin/prosody:80: in function 'loop' /usr/lib/prosody/../../bin/prosody:90: in main chunk [C]: ? Sep 04 20:22:06 socket debug server.lua: client IPV6-2:clientport read error: closed Sep 04 20:22:06 net.connect debug [pending connection i5sHRKm-] Connection attempt failed: closed Sep 04 20:22:06 net.connect debug [pending connection i5sHRKm-] Checking for targets... Sep 04 20:22:06 net.connect debug [pending connection i5sHRKm-] No more connection targets to try Sep 04 20:22:06 s2sout55f00f870ca0 debug s2s connection attempt failed: closed Sep 04 20:22:06 s2sout55f00f870ca0 debug s2s disconnected: snopyta.org->chinwag.im (closed) Sep 04 20:22:06 s2sout55f00f870ca0 debug Destroying outgoing session snopyta.org->chinwag.im: closed Sep 04 20:22:06 s2sout55f00f870ca0 info Sending error replies for 2 queued stanzas because of failed outgoing connection to chinwag.im Sep 04 20:22:06 stanzarouter debug Received[s2sin]: <iq id='xx' type='error' to='x@snopyta.org/a' from='x@chinwag.im'> Sep 04 20:22:06 c2s55f0135836a0 debug Sending[c2s]: <iq id='xx' type='error' to='x@snopyta.org/a' from='x@chinwag.im'> Sep 04 20:22:06 stanzarouter debug Received[s2sin]: <iq id='xx' type='error' to='x@snopyta.org/a' from='x2@chinwag.im'> Sep 04 20:22:06 c2s55f0135836a0 debug Sending[c2s]: <iq id='xx' type='error' to='x@snopyta.org/a' from='x2@chinwag.im'> Sep 04 20:22:06 socket debug server.lua: closed client handler and removed socket from list Sep 04 20:22:06 socket debug server.lua: found no handler and closed socket (writelist)

New comment

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