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

Hello - togetherjs not working #1197

Open
stevecalla opened this issue Jan 28, 2021 · 7 comments
Open

Hello - togetherjs not working #1197

stevecalla opened this issue Jan 28, 2021 · 7 comments

Comments

@stevecalla
Copy link

Hello - I installed togetherjs as instructed but not working. Invite sent to another person. They were asked to join but after that nothing seems to happen to connect. Here's the site. https://stevecalla.github.io/solo-project-slap-jack/#. Maybe I missed a step (I added the script line above body and added the button as you can see on the page). Steve

@mamamia5x
Copy link

I think it's been not working forever now. I've tried to get this project to work. And I've used it for projects before, and it worked, but now it doesn't. I don't really understand, because at one point it was working just fine. Then, it just stopped. But, I've tried using it on the site itself, and still no luck. I hope that it's just some bug, because this project is really cool. I don't know if anyone else is experiencing this either, but hopefully a solution can be found (if infact it is a bug).

@stevesap
Copy link

stevesap commented Feb 5, 2021

@stevecalla your application seems to have the issue:

togetherjsPackage.js?bust=1612520151841:1272 WebSocket connection to 'wss://hub.togetherjs.com/hub/vTqeudTHQx' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

could it be due to the server being down? (see #1172)

@mamamia5x
Copy link

That probably explains it, and I've had this issue since around this time. But this isn't really anything we can do to fix it.

@stevecalla
Copy link
Author

@stevesap @mamamia5x Thanks so much!

@biologistbrian
Copy link

No it works! definitely use #1172

There's a great post on deploying a glitch server. It's magic!

@zhu956645239
Copy link

@stevesap @mamamia5x Have you ever had this problem??
togetherjsPackage.js?bust=1615541581728:1955 Uncaught TypeError: msg.peer.updateFromHello is not a function
at constructor.c.onmessage (togetherjsPackage.js?bust=1615541581728:1955)
at constructor._incoming (togetherjsPackage.js?bust=1615541581728:1261)
at constructor. (togetherjsPackage.js?bust=1615541581728:1370)

@mamamia5x
Copy link

No, I get an error that the Websocket cannot connect to the server.
channels.js?bust=1615556464444:174 WebSocket close unclean code: 1006 reason: none
1006 Error means that the connection closed locally.
Like @biologistbrian said, you just need to create a server.

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

5 participants