Comments (11)
now when i check the console it says that the ws connection to localhost:8081 has failed.
2 errors in console:
WebSocket connection to 'ws://localhost:8081/socket.io/?EIO=3&transport=websocket' failed:
./node_modules/engine.io-client/lib/transports/websocket.js.WS.doOpen @ websocket.js:124
./node_modules/engine.io-client/lib/transport.js.Transport.open @ transport.js:84
./node_modules/engine.io-client/lib/socket.js.Socket.open @ socket.js:250
Socket @ socket.js:122
Socket @ socket.js:28
./node_modules/socket.io-client/lib/manager.js.Manager.open.Manager.connect @ manager.js:226
Manager @ manager.js:69
Manager @ manager.js:37
lookup @ index.js:56
connect @ socket.js:29
(anonymous) @ game.js:438
2nd one:
log.js:230 Error: websocket error
at WS../node_modules/engine.io-client/lib/transport.js.Transport.onError (transport.js:68)
at WebSocket.ws.onerror (websocket.js:163) []
error @ log.js:230
(anonymous) @ socket.js:40
./node_modules/socket.io-client/node_modules/component-emitter/index.js.Emitter.emit @ index.js:145
./node_modules/socket.io-client/lib/socket.js.Socket.emit @ socket.js:138
./node_modules/socket.io-client/lib/manager.js.Manager.emitAll @ manager.js:82
(anonymous) @ manager.js:243
./node_modules/engine.io-client/node_modules/component-emitter/index.js.Emitter.emit @ index.js:145
./node_modules/engine.io-client/lib/socket.js.Socket.onError @ socket.js:690
(anonymous) @ socket.js:281
./node_modules/engine.io-client/node_modules/component-emitter/index.js.Emitter.emit @ index.js:145
./node_modules/engine.io-client/lib/transport.js.Transport.onError @ transport.js:71
ws.onerror @ websocket.js:163
error (async)
./node_modules/engine.io-client/lib/transports/websocket.js.WS.addEventListeners @ websocket.js:162
./node_modules/engine.io-client/lib/transports/websocket.js.WS.doOpen @ websocket.js:141
./node_modules/engine.io-client/lib/transport.js.Transport.open @ transport.js:84
./node_modules/engine.io-client/lib/socket.js.Socket.open @ socket.js:250
Socket @ socket.js:122
Socket @ socket.js:28
./node_modules/socket.io-client/lib/manager.js.Manager.open.Manager.connect @ manager.js:226
Manager @ manager.js:69
Manager @ manager.js:37
lookup @ index.js:56
connect @ socket.js:29
(anonymous) @ game.js:438
setTimeout (async)
connect @ game.js:437
login @ app.js:349
(anonymous) @ app.js:262
dispatch @ event.js:357
elemData.handle @ event.js:161
from wtf-adventure.
I am having the same problem, but none of the same errors...
from wtf-adventure.
same here
from wtf-adventure.
Same. Anyone got a solution?
from wtf-adventure.
Make sure the server and mysql are both running. To start mysql you can use npm run mysql-start
and then to run the server use npm run wtfserver
.
from wtf-adventure.
everything is running it just fails to connect to the websocket
I will test again
from wtf-adventure.
from wtf-adventure.
from wtf-adventure.
@leonardo3dp are you getting any errors in your browser console? This is fired on src/client/js/network/socket.js
line 43. If you look a few lines above that, it should be writing the error to your browser console.
Also, do you get this only when you try to login? If so, try the Guest Login button and see if that lets you in.
from wtf-adventure.
Error appears when trying to login as guest or create account
from wtf-adventure.
All packages and dependencies have been updated to fix these problems.
from wtf-adventure.
Related Issues (17)
- Dependencies fail to install correctly HOT 4
- npm run wtfclient doesnt work HOT 1
- Missing client config.json HOT 1
- Clien jQuery error HOT 1
- Client doesnt work HOT 1
- Some issues HOT 6
- Interesting HOT 1
- Error on client start HOT 6
- database creation HOT 1
- Error on client start :( HOT 2
- Problem with my MySQL how to fix that the database is imported HOT 10
- sanırsam mysql server mysql a baglanmıyor HOT 13
- Oyun sunucusuna bağlanılamadı. HOT 3
- secret key in config.json server? HOT 2
- "player_data" rank is a withheld word in MySql 8.x
- Warning: all the old depndecies make this game hard to run in 2023 never got it running HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtf-adventure.