#1314 mod_smacks: cache size must be greater than zero

Reporter marc0s
Owner MattJ
Stars ★ (1)
  • Status-Fixed
  • Priority-Medium
  • Component-Community
  • Type-Defect
  1. marc0s on

    > What steps will reproduce the problem? 1. start an xmpp session with a mobile client 2. put the client application to background (socket will be closed by OS) 3. bring application back to foreground (SM resume will be sent) > What is the expected output? No error. > What do you see instead? With debug enabled: https://h.tenak.net/dejisitugo.txt > What version of the product are you using? On what operating system? Debian stretch package for prosody-0.11 > Please provide any additional information below. The lines from logs before the traceback: https://prosody.im/pastebin/b877542e-6cd3-4113-b08e-226cd9739283 Thanks!

  2. marc0s on

    Seems that we have another similar traceback, but this hits a bit harder https://h.tenak.net/esisubikev.txt

  3. marc0s on

    In this traceback there are a few more lines, in case they're useful https://h.tenak.net/ujacaveqex.log

  4. marc0s on

    I'm now seeing this even with a non-mobile client, just a web application with a stanza.io client connected. All of this using a proxied websocket connection with nginx. The nginx config is as follows: ``` location /xmpp-websocket { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Https $https; proxy_read_timeout 60s; proxy_pass http://xmpp-server:5280/xmpp-websocket; }```

  5. MattJ on

    This was a configuration issue. Better handling implemented in https://hg.prosody.im/prosody-modules/rev/3d4eefdd950a

    • owner MattJ
    • tags Status-Fixed
  6. Zash on

    • tags Component-Community

New comment

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