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

I keep getting a webSocket error. #168

Open
angelmartesSIGMA opened this issue Nov 26, 2024 · 7 comments
Open

I keep getting a webSocket error. #168

angelmartesSIGMA opened this issue Nov 26, 2024 · 7 comments

Comments

@angelmartesSIGMA
Copy link

Error: Hyper client: hyper_util::client::legacy::Error(Connect, WebSocketConnectFailed("websocket did not open")) (client error (Wisp WebSocket failed to connect: websocket did not open))

How do I fix it?

@angelmartesSIGMA
Copy link
Author

Screenshot 2024-11-26 12 02 41 PM

@NottPeak
Copy link

That actually looks like an issue with Shadow, assuming you aren't selfhosting the link something got messed up with the wisp server it's trying to use.

try going into settings > developer and switch the drop-down on the left to custom. Enter wss://shadow.letsendobesity.org/wisp/ (or put the dropdown back to default) and try again (may need to clear your cache)

If the issue persists, you can join our discord and create a ticket for support

@angelmartesSIGMA
Copy link
Author

angelmartesSIGMA commented Nov 27, 2024

That actually looks like an issue with Shadow, assuming you aren't selfhosting the link something got messed up with the wisp server it's trying to use.

i dont even think I have a wisp server, I don't really know how to set up a wisp server and I thought it would set one up automatically

I am using a VPS run on Ubuntu 22.04, so it's not really self-hosting I think I dunno

try going into settings > developer and switch the drop-down on the left to custom. Enter wss://shadow.letsendobesity.org/wisp/ (or put the dropdown back to default) and try again (may need to clear your cache)

I was thinking of setting up my own wisp server, as that wisp server seems to be getting blocked, I tried a different shadow hosting unblocked on my computer and it worked.

I also tried it at my home and used it but it still didnt work even with the custom wisp server :C

@proudparrot2
Copy link
Contributor

hosting shadow on your own server is considered self-hosting, and they are shipping a wisp server with it but it's not being used for some reason

I'm getting the same thing when I try to launch shadow on my device - this is an error on their side, so I think it's best if you open an issue on their github repository or in their discord as Peak mentioned

@NottPeak
Copy link

hosting shadow on your own server is considered self-hosting, and they are shipping a wisp server with it but it's not being used for some reason

I'm getting the same thing when I try to launch shadow on my device - this is an error on their side, so I think it's best if you open an issue on their github repository or in their discord as Peak mentioned

I'll take a look at it tonight, our production environment runs the python implementation of wisp so we could have messed something up with the node server and not noticed it

@NottPeak
Copy link

That actually looks like an issue with Shadow, assuming you aren't selfhosting the link something got messed up with the wisp server it's trying to use.

i dont even think I have a wisp server, I don't really know how to set up a wisp server and I thought it would set one up automatically

I am using a VPS run on Ubuntu 22.04, so it's not really self-hosting I think I dunno

try going into settings > developer and switch the drop-down on the left to custom. Enter wss://shadow.letsendobesity.org/wisp/ (or put the dropdown back to default) and try again (may need to clear your cache)

I was thinking of setting up my own wisp server, as that wisp server seems to be getting blocked, I tried a different shadow hosting unblocked on my computer and it worked.

I also tried it at my home and used it but it still didnt work even with the custom wisp server :C

If you are running it on your own server I highly recommend you run either epoxy-server or the python implementation of wisp, they have much better performance

@proudparrot2
Copy link
Contributor

I agree - I'm going to run two load-balanced epoxy-servers on each node in production once we switch over to Wisp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants