#1358 Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value)
Reporter
Myrmidon
Owner
Zash
Created
Updated
Stars
★★ (2)
Tags
Type-Defect
Milestone-0.12
Status-Fixed
Priority-Medium
Myrmidon
on
Raspberry PI
Linux 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
Prosody 0.11.2
Lua 5.2
From https://github.com/bjc/prosody
mod_csi_simple:
c2s1744d58 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value)
stack traceback:
/usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?'
/usr/local/lib/prosody/util/filters.lua:25: in function 'filter'
/usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send'
/usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?'
/usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza'
/usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func'
/usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
Zash
on
Thanks for the report.
The traceback does not match Prosody 0.11.2 sources. Presumably it's the month old trunk version from bjcs mirror.
Please provide debug logs leading up to this and a list of enabled modules.
Changes
tags Status-NeedInfo
meaz
on
I have the same error, not with a raspberry pi.
Prosodyctl about:
Prosody trunk nightly build 1104 (2019-05-08, e057e8318130)
# Prosody directories
Data directory: /var/lib/prosody
Config directory: /etc/prosody
Source directory: /usr/lib/prosody
Plugin directories:
/opt/prosody-modules - prosody-modules rev: d8cc8b71a199
/usr/lib/prosody/modules/
# Operating system
Linux 4.9.0-8-amd64
# Lua environment
Lua version: Lua 5.1
Lua module search paths:
/usr/lib/prosody/?.lua
/usr/local/share/lua/5.1/?.lua
/usr/local/share/lua/5.1/?/init.lua
/usr/local/lib/lua/5.1/?.lua
/usr/local/lib/lua/5.1/?/init.lua
/usr/share/lua/5.1/?.lua
/usr/share/lua/5.1/?/init.lua
/root/.luarocks/share/lua/5.1/?.lua
/root/.luarocks/share/lua/5.1/?/init.lua
Lua C module search paths:
/usr/lib/prosody/?.so
/usr/local/lib/lua/5.1/?.so
/usr/lib/x86_64-linux-gnu/lua/5.1/?.so
/usr/lib/lua/5.1/?.so
/usr/local/lib/lua/5.1/loadall.so
/root/.luarocks/lib/lua/5.1/?.so
LuaRocks: Installed (2.4.2)
# Network
Backend: select
# Lua module versions
lfs: LuaFileSystem 1.6.3
lxp: LuaExpat 1.3.0
socket: LuaSocket 3.0-rc1
ssl: 0.6
meaz
on
And here is what I have just before the error:
May 12 06:52:01 myserver.com:cloud_notify debug Sending push notification for gulsahnymph@myserver.com to pubsub.chatsecure.org (0030AA8B-B633-4312-9259-)
May 12 06:52:01 s2sout55934a54d5f0 debug Sending[s2sout]: <iq id='78e4dcc0747c2c6357c6e1c4cb84d493354e32da3a44b55b692ce9e' type='set' to='pubsub.chatsecure.org' from='myserver.com'>
May 12 06:52:01 c2s55934b037dc0 debug hibernating, stanza queued
May 12 06:52:01 c2s55934889a660 debug Sending[c2s]: <presence type='unavailable' to='meaz@myserver.com/Conversations.527g' from='smallworldgroup12@muc.myserver.com/meaz'>
May 12 06:52:01 myserver.com:throttle_presence debug Buffering presence stanza from smallworldgroup12@muc.myserver.com/meaz to meaz@myserver.com/Conversations.527g
May 12 06:52:01 c2s55934889a660 debug Handled 100 incoming stanzas
May 12 06:52:01 c2s55934889a660 debug Received[c2s]: <presence type='unavailable' to='smallworldgroup8@muc.myserver.com/meaz' from='meaz@myserver.com/Conversations.527g'>
May 12 06:52:01 myserver.com:pep debug get_pep_service("meaz")
May 12 06:52:01 myserver.com:pep debug Get item f1215d345a1f0370eda5b2eb795e4ee8e81ff6aa (published at 1557611693 by <nil>)
May 12 06:52:01 muc.myserver.com:muc debug session meaz@myserver.com/Conversations.527g is leaving occupant smallworldgroup8@muc.myserver.com/meaz
May 12 06:52:01 c2s5593484e17b0 debug Sending[c2s]: <presence type='unavailable' to='senasu@myserver.com/Conversations.S8gt' from='smallworldgroup8@muc.myserver.com/meaz'>
May 12 06:52:01 myserver.com:throttle_presence debug Buffering presence stanza from smallworldgroup8@muc.myserver.com/meaz to senasu@myserver.com/Conversations.S8gt
May 12 06:52:01 c2s55934a1d6f20 debug Sending[c2s]: <presence type='unavailable' to='andreas@myserver.com/chatsecure98980' from='smallworldgroup8@muc.myserver.com/meaz'>
May 12 06:52:01 c2s55934a1d6f20 debug Queue size limit hit, flushing buffer (queue size is 256)
May 12 06:52:01 runnerEqN7C-N4 debug changed state from ready to error (ready)
May 12 06:52:01 c2s55934889a660 error Traceback[c2s]: /usr/lib/prosody/modules/mod_csi_simple.lua:66: attempt to index field 'conn' (a nil value)
stack traceback:
meaz
on
And the modules:
-- Generally required
"roster"; -- Allow users to have a roster. Recommended ;)
"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
"tls"; -- Add support for secure TLS on c2s/s2s connections
"dialback"; -- s2s dialback support
"disco"; -- Service discovery
-- Not essential, but recommended
"carbons"; -- Keep multiple clients in sync
"pep"; -- Enables users to publish their mood, activity, playing music and more
"private"; -- Private XML storage (for room bookmarks, etc.)
"blocklist"; -- Allow users to block communications with other users
-- Nice to have
"version"; -- Replies to server version requests
"uptime"; -- Report how long server has been running
"time"; -- Let others know the time here on this server
"ping"; -- Replies to XMPP pings with pongs
"register"; -- Allow users to register on this server using a client and change passwords
"mam"; -- Store messages in an archive and allow users to access it
-- Admin interfaces
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- HTTP modules
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
"websocket"; -- XMPP over WebSockets
-- Other specific functionality
"groups"; -- Shared roster support
"announce"; -- Send announcement to all online users
"watchregistrations"; -- Alert admins of registrations
-- Community modules:
"csi"; -- client state indication
"throttle_presence"; -- cuts down on presence traffic when clients indicate they are inactive
"csi_simple"; --buffer unimportant traffic to inactive devices. The data is released when any important data comes in (such as a message from a contact), or when the queue size is reached.
"smacks"; -- allows to resume a disconnected session and prevents message loss
"profile"; -- provides a replacement for mod_vcard and handles avatar
"http_upload_external"; -- to send files larger than 10Mb
"default_bookmarks"; -- if the user bookmarks list is empty, as it would be for new users, this returns the list supplied in the config. If the room is moderated, then new users will be visitors, not participants, so they can't write messages.
"cloud_notify"; -- Chatsecure on iOS
"firewall";
"block_registrations"; -- allows you to reserve individual usernames, or those matching certain patterns. It also allows you to ensure that usernames conform to a certain pattern.
"bookmarks"; -- this allows interop between older clients that use XEP-0048: Bookmarks in its 1.0 version and recent clients which use it in
"log_auth"; -- enables logging of the IP address in a failed authentication attempt
"register_dnsbl"; -- checks the IP addresses attempting to register an account against a DNSBL, blocking the attempt if there is a hit
"password_reset"; -- allows users to reset their password via a simple link to a web page. Can also be done by an admin. A link is only valid for a single reset, and expires after a duration (24 hours by default)
"lastlog"; -- stores the timestamp of when a user logs in
"list_inactive"; -- lists those users, who haven’t used their account in a defined time-frame
meaz
on
I have the same error, not with a raspberry pi.
Prosodyctl about:
Prosody trunk nightly build 1104 (2019-05-08, e057e8318130)
# Prosody directories
Data directory: /var/lib/prosody
Config directory: /etc/prosody
Source directory: /usr/lib/prosody
Plugin directories:
/opt/prosody-modules - prosody-modules rev: d8cc8b71a199
/usr/lib/prosody/modules/
# Operating system
Linux 4.9.0-8-amd64
# Lua environment
Lua version: Lua 5.1
Lua module search paths:
/usr/lib/prosody/?.lua
/usr/local/share/lua/5.1/?.lua
/usr/local/share/lua/5.1/?/init.lua
/usr/local/lib/lua/5.1/?.lua
/usr/local/lib/lua/5.1/?/init.lua
/usr/share/lua/5.1/?.lua
/usr/share/lua/5.1/?/init.lua
/root/.luarocks/share/lua/5.1/?.lua
/root/.luarocks/share/lua/5.1/?/init.lua
Lua C module search paths:
/usr/lib/prosody/?.so
/usr/local/lib/lua/5.1/?.so
/usr/lib/x86_64-linux-gnu/lua/5.1/?.so
/usr/lib/lua/5.1/?.so
/usr/local/lib/lua/5.1/loadall.so
/root/.luarocks/lib/lua/5.1/?.so
LuaRocks: Installed (2.4.2)
# Network
Backend: select
# Lua module versions
lfs: LuaFileSystem 1.6.3
lxp: LuaExpat 1.3.0
socket: LuaSocket 3.0-rc1
ssl: 0.6
Myrmidon
on
Module:
| adhoc
| admin_adhoc
| auth_internal_hashed
| blocklist
| c2s
| carbons
| cloud_notify
| csi
| csi_simple
| dialback
| disco
| http
| http_files
| http_upload
| iq
| mam
| message
| offline
| pep
| ping
| presence
| private
| register
| register_ibr
| register_limits
| roster
| s2s
| saslauth
| smacks
| storage_internal
| time
| tls
| uptime
| user_account_management
| vcard4
| vcard_legacy
| version
| Result: nil
May 13 07:19:39 c2s57c4c8 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value)
stack traceback:
/usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?'
/usr/local/lib/prosody/util/filters.lua:25: in function 'filter'
/usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send'
/usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?'
/usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza'
/usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func'
/usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
May 13 07:20:55 c2sbfcbb8 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value)
stack traceback:
/usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?'
/usr/local/lib/prosody/util/filters.lua:25: in function 'filter'
/usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send'
/usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?'
/usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza'
/usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func'
/usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
May 13 08:54:45 c2s985250 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value)
stack traceback:
/usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?'
/usr/local/lib/prosody/util/filters.lua:25: in function 'filter'
/usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send'
/usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?'
/usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75>
(...tail calls...)
/usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza'
/usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func'
/usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
Raspberry PI Linux 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux Prosody 0.11.2 Lua 5.2 From https://github.com/bjc/prosody mod_csi_simple: c2s1744d58 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value) stack traceback: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?' /usr/local/lib/prosody/util/filters.lua:25: in function 'filter' /usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send' /usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?' /usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75> (...tail calls...) /usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func' /usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
Thanks for the report. The traceback does not match Prosody 0.11.2 sources. Presumably it's the month old trunk version from bjcs mirror. Please provide debug logs leading up to this and a list of enabled modules.
ChangesI have the same error, not with a raspberry pi. Prosodyctl about: Prosody trunk nightly build 1104 (2019-05-08, e057e8318130) # Prosody directories Data directory: /var/lib/prosody Config directory: /etc/prosody Source directory: /usr/lib/prosody Plugin directories: /opt/prosody-modules - prosody-modules rev: d8cc8b71a199 /usr/lib/prosody/modules/ # Operating system Linux 4.9.0-8-amd64 # Lua environment Lua version: Lua 5.1 Lua module search paths: /usr/lib/prosody/?.lua /usr/local/share/lua/5.1/?.lua /usr/local/share/lua/5.1/?/init.lua /usr/local/lib/lua/5.1/?.lua /usr/local/lib/lua/5.1/?/init.lua /usr/share/lua/5.1/?.lua /usr/share/lua/5.1/?/init.lua /root/.luarocks/share/lua/5.1/?.lua /root/.luarocks/share/lua/5.1/?/init.lua Lua C module search paths: /usr/lib/prosody/?.so /usr/local/lib/lua/5.1/?.so /usr/lib/x86_64-linux-gnu/lua/5.1/?.so /usr/lib/lua/5.1/?.so /usr/local/lib/lua/5.1/loadall.so /root/.luarocks/lib/lua/5.1/?.so LuaRocks: Installed (2.4.2) # Network Backend: select # Lua module versions lfs: LuaFileSystem 1.6.3 lxp: LuaExpat 1.3.0 socket: LuaSocket 3.0-rc1 ssl: 0.6
And here is what I have just before the error: May 12 06:52:01 myserver.com:cloud_notify debug Sending push notification for gulsahnymph@myserver.com to pubsub.chatsecure.org (0030AA8B-B633-4312-9259-) May 12 06:52:01 s2sout55934a54d5f0 debug Sending[s2sout]: <iq id='78e4dcc0747c2c6357c6e1c4cb84d493354e32da3a44b55b692ce9e' type='set' to='pubsub.chatsecure.org' from='myserver.com'> May 12 06:52:01 c2s55934b037dc0 debug hibernating, stanza queued May 12 06:52:01 c2s55934889a660 debug Sending[c2s]: <presence type='unavailable' to='meaz@myserver.com/Conversations.527g' from='smallworldgroup12@muc.myserver.com/meaz'> May 12 06:52:01 myserver.com:throttle_presence debug Buffering presence stanza from smallworldgroup12@muc.myserver.com/meaz to meaz@myserver.com/Conversations.527g May 12 06:52:01 c2s55934889a660 debug Handled 100 incoming stanzas May 12 06:52:01 c2s55934889a660 debug Received[c2s]: <presence type='unavailable' to='smallworldgroup8@muc.myserver.com/meaz' from='meaz@myserver.com/Conversations.527g'> May 12 06:52:01 myserver.com:pep debug get_pep_service("meaz") May 12 06:52:01 myserver.com:pep debug Get item f1215d345a1f0370eda5b2eb795e4ee8e81ff6aa (published at 1557611693 by <nil>) May 12 06:52:01 muc.myserver.com:muc debug session meaz@myserver.com/Conversations.527g is leaving occupant smallworldgroup8@muc.myserver.com/meaz May 12 06:52:01 c2s5593484e17b0 debug Sending[c2s]: <presence type='unavailable' to='senasu@myserver.com/Conversations.S8gt' from='smallworldgroup8@muc.myserver.com/meaz'> May 12 06:52:01 myserver.com:throttle_presence debug Buffering presence stanza from smallworldgroup8@muc.myserver.com/meaz to senasu@myserver.com/Conversations.S8gt May 12 06:52:01 c2s55934a1d6f20 debug Sending[c2s]: <presence type='unavailable' to='andreas@myserver.com/chatsecure98980' from='smallworldgroup8@muc.myserver.com/meaz'> May 12 06:52:01 c2s55934a1d6f20 debug Queue size limit hit, flushing buffer (queue size is 256) May 12 06:52:01 runnerEqN7C-N4 debug changed state from ready to error (ready) May 12 06:52:01 c2s55934889a660 error Traceback[c2s]: /usr/lib/prosody/modules/mod_csi_simple.lua:66: attempt to index field 'conn' (a nil value) stack traceback:
And the modules: -- Generally required "roster"; -- Allow users to have a roster. Recommended ;) "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in. "tls"; -- Add support for secure TLS on c2s/s2s connections "dialback"; -- s2s dialback support "disco"; -- Service discovery -- Not essential, but recommended "carbons"; -- Keep multiple clients in sync "pep"; -- Enables users to publish their mood, activity, playing music and more "private"; -- Private XML storage (for room bookmarks, etc.) "blocklist"; -- Allow users to block communications with other users -- Nice to have "version"; -- Replies to server version requests "uptime"; -- Report how long server has been running "time"; -- Let others know the time here on this server "ping"; -- Replies to XMPP pings with pongs "register"; -- Allow users to register on this server using a client and change passwords "mam"; -- Store messages in an archive and allow users to access it -- Admin interfaces "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands "admin_telnet"; -- Opens telnet console interface on localhost port 5582 -- HTTP modules "bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" "websocket"; -- XMPP over WebSockets -- Other specific functionality "groups"; -- Shared roster support "announce"; -- Send announcement to all online users "watchregistrations"; -- Alert admins of registrations -- Community modules: "csi"; -- client state indication "throttle_presence"; -- cuts down on presence traffic when clients indicate they are inactive "csi_simple"; --buffer unimportant traffic to inactive devices. The data is released when any important data comes in (such as a message from a contact), or when the queue size is reached. "smacks"; -- allows to resume a disconnected session and prevents message loss "profile"; -- provides a replacement for mod_vcard and handles avatar "http_upload_external"; -- to send files larger than 10Mb "default_bookmarks"; -- if the user bookmarks list is empty, as it would be for new users, this returns the list supplied in the config. If the room is moderated, then new users will be visitors, not participants, so they can't write messages. "cloud_notify"; -- Chatsecure on iOS "firewall"; "block_registrations"; -- allows you to reserve individual usernames, or those matching certain patterns. It also allows you to ensure that usernames conform to a certain pattern. "bookmarks"; -- this allows interop between older clients that use XEP-0048: Bookmarks in its 1.0 version and recent clients which use it in "log_auth"; -- enables logging of the IP address in a failed authentication attempt "register_dnsbl"; -- checks the IP addresses attempting to register an account against a DNSBL, blocking the attempt if there is a hit "password_reset"; -- allows users to reset their password via a simple link to a web page. Can also be done by an admin. A link is only valid for a single reset, and expires after a duration (24 hours by default) "lastlog"; -- stores the timestamp of when a user logs in "list_inactive"; -- lists those users, who haven’t used their account in a defined time-frame
I have the same error, not with a raspberry pi. Prosodyctl about: Prosody trunk nightly build 1104 (2019-05-08, e057e8318130) # Prosody directories Data directory: /var/lib/prosody Config directory: /etc/prosody Source directory: /usr/lib/prosody Plugin directories: /opt/prosody-modules - prosody-modules rev: d8cc8b71a199 /usr/lib/prosody/modules/ # Operating system Linux 4.9.0-8-amd64 # Lua environment Lua version: Lua 5.1 Lua module search paths: /usr/lib/prosody/?.lua /usr/local/share/lua/5.1/?.lua /usr/local/share/lua/5.1/?/init.lua /usr/local/lib/lua/5.1/?.lua /usr/local/lib/lua/5.1/?/init.lua /usr/share/lua/5.1/?.lua /usr/share/lua/5.1/?/init.lua /root/.luarocks/share/lua/5.1/?.lua /root/.luarocks/share/lua/5.1/?/init.lua Lua C module search paths: /usr/lib/prosody/?.so /usr/local/lib/lua/5.1/?.so /usr/lib/x86_64-linux-gnu/lua/5.1/?.so /usr/lib/lua/5.1/?.so /usr/local/lib/lua/5.1/loadall.so /root/.luarocks/lib/lua/5.1/?.so LuaRocks: Installed (2.4.2) # Network Backend: select # Lua module versions lfs: LuaFileSystem 1.6.3 lxp: LuaExpat 1.3.0 socket: LuaSocket 3.0-rc1 ssl: 0.6
Module: | adhoc | admin_adhoc | auth_internal_hashed | blocklist | c2s | carbons | cloud_notify | csi | csi_simple | dialback | disco | http | http_files | http_upload | iq | mam | message | offline | pep | ping | presence | private | register | register_ibr | register_limits | roster | s2s | saslauth | smacks | storage_internal | time | tls | uptime | user_account_management | vcard4 | vcard_legacy | version | Result: nil May 13 07:19:39 c2s57c4c8 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value) stack traceback: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?' /usr/local/lib/prosody/util/filters.lua:25: in function 'filter' /usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send' /usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?' /usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75> (...tail calls...) /usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func' /usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125> May 13 07:20:55 c2sbfcbb8 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value) stack traceback: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?' /usr/local/lib/prosody/util/filters.lua:25: in function 'filter' /usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send' /usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?' /usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75> (...tail calls...) /usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func' /usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125> May 13 08:54:45 c2s985250 error Traceback[c2s]: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: attempt to index field 'conn' (a nil value) stack traceback: /usr/local/lib/prosody/modules/mod_csi_simple.lua:69: in function '?' /usr/local/lib/prosody/util/filters.lua:25: in function 'filter' /usr/local/lib/prosody/core/sessionmanager.lua:57: in function 'send' /usr/local/lib/prosody/modules/mod_iq.lua:20: in function '?' /usr/local/lib/prosody/util/events.lua:79: in function </usr/local/lib/prosody/util/events.lua:75> (...tail calls...) /usr/local/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/local/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/local/lib/prosody/modules/mod_c2s.lua:282: in function 'func' /usr/local/lib/prosody/util/async.lua:127: in function </usr/local/lib/prosody/util/async.lua:125>
Suspected the 3rd party mod_smacks interacted badly with mod_csi_simple, so tested and confirmed. Fixed in https://hg.prosody.im/trunk/rev/4498f601516d Thanks all.
Changes