converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Catching HTTP 403 response without body

Open laszlovl opened this issue 7 years ago • 1 comments

When uploading an avatar image, Ejabberd may return a HTTP 403 response without body. (Ejabberd logs don't reveal any information, but it looks like this happens when the image is too large).

When this happens, Converse gets in a broken state where it's still running, but your roster disappears and no new messages are processed.

Error log:

ERROR: request id 13.1 error 403 happened
_onRequestStateChange

XML Parsing Error: no root element found
Location: https://bosh.domain.com/http-bind
Line Number 1, Column 1:

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

laszlovl avatar Oct 29 '18 17:10 laszlovl

@laszlovl can you still reproduce this with the latest release?

Echolon avatar Sep 10 '21 21:09 Echolon