Why cant i connect to my websocket server

Ok so this chatroom i made uses websockets and it was working yesterday, until now. I didnt change anything and I dont really know what happened, so does anyone know what has happened?

https://test-1.12bits20.repl.co/

And its because its not connecting properly i think, but idk why that would happen

Hey @12bits20, welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

You can use the __repl thing on webviews to go to the Repl:
https://test-1.12bits20.repl.co/__repl

3 Likes

Ok and i looked in the socket and it said it was at ready state 3 which means it was closed or couldn’t open, and since it didnt open at all, it means it couldn’t open, so do you guys know why it might not be able to open when it could just a day before?

Anyone know yet? It still doesn’t work

Ok turns out websockets are blocked on my device

1 Like

Could you tell us more about how you discover the error and what you did to solve?

This will help other people with the same problem! (Don’t forget to mark your answer as the solution)

It works fine, its just because my school decided to block websockets, and I dont know a way to bypass it neither do i want to try, so im fine with people who CAN use it to use it instead of me

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.