Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket connection failed #116

Closed
opiums9 opened this issue Dec 5, 2024 · 9 comments
Closed

WebSocket connection failed #116

opiums9 opened this issue Dec 5, 2024 · 9 comments

Comments

@opiums9
Copy link

opiums9 commented Dec 5, 2024

Hello! I'm trying to set up Revolt on a reverse proxy using nginx, but I get a WebSocket error.
Registration is successful, but an error occurs after attempting to log in.
Image

Maybe I configured the server incorrectly?
I'm attaching screenshots of the configuration, any help would be helpful

Image
Image
Image
Image

@github-project-automation github-project-automation bot moved this to 🆕 Untriaged in Revolt Project Dec 5, 2024
@jared1ternet
Copy link

Hello,

I have exactly the same problem. I bypassed my reverse proxy and I still get the same error..

@ykatkus
Copy link

ykatkus commented Jan 17, 2025

same problem here, could you guys fix it?

its actually a showstopper error :/

tried deploying on hetzner vsp, same as on ubuntu 24.04 vm.

as far as debugging the webclient i couldnt spot a difference in data between official app.revolt.chat and my self-hosted. so maybe it might be a server/proxy issue?!

@michelleDeko
Copy link

I'm having the same issue

Image

@Apatkin
Copy link

Apatkin commented Jan 28, 2025

Image
Hello, I am getting the same error.
I access Revolt and register an account, providing an email and a name, after which I receive a message saying that the registration was successful. However, after entering the email and password, I get an error like the one in the screenshots above or an infinite loading loop. In the browser console, the following message appears.
Please let me know if you find a solution.

@jennso
Copy link

jennso commented Feb 3, 2025

I was able to make it work, by changing ws:// to wss:// in the .toml config file, and enabling websocket support in my reverse proxy, I'm using, nginx proxy manager as proxy server.

Image

though I'm still getting some websocket erros here and there like

Image

@maxi1134
Copy link

maxi1134 commented Feb 4, 2025

I was able to make it work, by changing ws:// to wss:// in the .toml config file, and enabling websocket support in my reverse proxy, I'm using, nginx proxy manager as proxy server.

Image though I'm still getting some websocket erros here and there like Image

Could you share your entire Nginx proxy manager config?

@jennso
Copy link

jennso commented Feb 4, 2025

Nothing special, I think I probably need to add some custom locations to make other things work.
Image

Image

Image

Image

@insertish
Copy link
Member

Likely duplicate of #125

Please report back if instructions in last comment work, thanks!

@insertish insertish moved this from 🆕 Untriaged to 🏗 In Progress in Revolt Project Feb 9, 2025
@insertish insertish added bug Something isn't working and removed bug Something isn't working labels Feb 9, 2025
@opiums9
Copy link
Author

opiums9 commented Feb 9, 2025

This issue has been fixed, see #125

@opiums9 opiums9 closed this as completed Feb 9, 2025
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in Revolt Project Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

8 participants