[Etherpad] - Error when adding comment #1445

Open
opened 2026-07-04 22:47:25 +02:00 by muppeth · 3 comments
Owner

Trying to add a comment results in an error:

Trying to add a comment results in an error:
Owner

@muppeth this issue is coz of CSP. If we set them back as before worked on them (check PR 357 on host_vars), we don't have the issue anymore. Should we get back to what we have before?

Also, I've seen in Firefox console quick a few number of this kind o message : GET wss://pad.disroot.org/socket.io/?padId=test&EIO=4&transport=websocket&sid=sPsdfsfdsfdsfdsf NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
So I'm wondering if this could be related to Anubis blocking.

@muppeth this issue is coz of CSP. If we set them back as before worked on them (check PR 357 on host_vars), we don't have the issue anymore. Should we get back to what we have before? Also, I've seen in Firefox console quick a few number of this kind o message : `GET wss://pad.disroot.org/socket.io/?padId=test&EIO=4&transport=websocket&sid=sPsdfsfdsfdsfdsf NS_ERROR_WEBSOCKET_CONNECTION_REFUSED` So I'm wondering if this could be related to Anubis blocking.
meaz self-assigned this 2026-07-08 08:16:00 +02:00
Author
Owner

yes on both sides I think. For now reverting the csp is good. I would say fix it in prod and make PR. I will be doing my cleanup on proxies this week (hopefully) so then I will run it. As for anubis we need to check how to do it properly to avoid websockets connection failures. My guess is we should route all non sock traffic through anubis. I will check the docs cause I guess this use case is even documented.

yes on both sides I think. For now reverting the csp is good. I would say fix it in prod and make PR. I will be doing my cleanup on proxies this week (hopefully) so then I will run it. As for anubis we need to check how to do it properly to avoid websockets connection failures. My guess is we should route all non sock traffic through anubis. I will check the docs cause I guess this use case is even documented.
Owner

fixed on prod + PR done on host_vars

fixed on prod + PR done on host_vars
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Disroot/Disroot-Project#1445
No description provided.