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 to <insert link> failed (nothing after???) #1115

Open
GamingInfinite opened this issue Aug 6, 2023 · 0 comments
Open
Labels
client related to peerjs client

Comments

@GamingInfinite
Copy link

GamingInfinite commented Aug 6, 2023

on a whim (and in part to learn how this package works better) I designed a sveltekit application to connect to my own PeerServer hosted on my computer and let me and my friends test our mashing skills against each other.

Problem: When testing it via vite dev --host on my own computer (website running on port 5137 and peerjs running on another port on docker) it works just fine. im able to have 2 or more people not only access the thing but play against each other in 1v1s. BUT, I use netlify to host projects sometimes and I figured I might as well do this one and for some reason, server running, the netlify can't access the peerjs server. haven't tried with the normal peerjs server.
Extra Things of Note:
I disabled SSR, because otherwise peerjs errors saying that navigator does not exist (it does, I literally was using it to get the controllers but whatever).

For now im just gonna run it for my friends through running it from code, but I'd love to see if there's a solution so I can send the netlify link to my discord without doxxing myself.

@irgalamarr irgalamarr added the client related to peerjs client label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client related to peerjs client
Projects
None yet
Development

No branches or pull requests

2 participants