pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.7k stars 1.7k forks source link

websocket problem with api #4355

Closed savalet closed 2 years ago

savalet commented 2 years ago

Current Behavior

I would like to connect in websocket to pterodactyl so I retrieve the socket link of the token without worries but when trying to connect I have this error in the chrome console: image

Expected Behavior

Here is my code to connect to the websocket: const socket = new WebSocket(json.data.websocket.websocket_url);

Steps to Reproduce

Use this code: const socket = new WebSocket(json.data.websocket.websocket_url);

Panel Version

1.10.1

Wings Version

1.7.0

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

savalet commented 2 years ago

And I have change the wings port to 2021

DaneEveritt commented 2 years ago

This is not an API support channel.

savalet commented 2 years ago

then where I shloud post my issue ?