WebSocket connection to 'ws://localhost:25565' failed HTTP authentication: no valid credentials available

I'm getting an error using colyseus.js to connect my colyseus server.

WebSocket connection to 'ws://localhost:25565/r1eFgSW7cG?{%22options%22:{%22requestId%22:1},%22colyseusid%22:%22B1pg-Wm5f%22}' failed: HTTP Authentication failed; no valid credentials available

Can't seem to find much about this problem.
Any help would be great.


Hi @DillonHemphill,

Sorry, for some reason when you install colyseus.js it's grabbing the latest alpha version, which is still under development.

The latest working versions are:

  • colyseus.js@0.8.4 (client)
  • colyseus@0.8.15 (server)


I've just fixed the latest tags from both client and server to be the right ones. Sorry for the inconvenience! :sweat_smile:

@endel That did the job. Thank you very much !