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.
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:
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?
[X] I have searched the existing issues before opening this issue.
[X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
[X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
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:
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?