Giter Site home page Giter Site logo

Comments (11)

thenewsupercell avatar thenewsupercell commented on July 30, 2024

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.

jcboysha avatar jcboysha commented on July 30, 2024

I am having the same problem, but none of the same errors...

from wtf-adventure.

leonardo3dp avatar leonardo3dp commented on July 30, 2024

same here

from wtf-adventure.

rcgit avatar rcgit commented on July 30, 2024

Same. Anyone got a solution?

from wtf-adventure.

design1online avatar design1online commented on July 30, 2024

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.

leonardo3dp avatar leonardo3dp commented on July 30, 2024

everything is running it just fails to connect to the websocket
I will test again

from wtf-adventure.

leonardo3dp avatar leonardo3dp commented on July 30, 2024

image
image
image

from wtf-adventure.

leonardo3dp avatar leonardo3dp commented on July 30, 2024

image

from wtf-adventure.

design1online avatar design1online commented on July 30, 2024

@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.

leonardo3dp avatar leonardo3dp commented on July 30, 2024

Error appears when trying to login as guest or create account
ttt

from wtf-adventure.

design1online avatar design1online commented on July 30, 2024

All packages and dependencies have been updated to fix these problems.

from wtf-adventure.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.