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.81k stars 1.74k forks source link

WebSocket is already in CLOSING or CLOSED state. #2007

Closed NgLoader closed 4 years ago

NgLoader commented 4 years ago

Background (please complete the following information):

Describe the bug Unable to start any kind of server

Panel: Zend Engine v3.3.14 Daemon:

To Reproduce Steps to reproduce the behavior:

  1. Go to a random server
  2. Click on Start
  3. See error in web console WebSocket is already in CLOSING or CLOSED state.

Expected behavior https://cloud.wuffy.eu/s/HAA3CcfAstNZ8Cz

Wings error:

May 08 21:33:39 ****.contaboserver.net wings[22018]:
May 08 21:33:39 ****.contaboserver.net wings[22018]: [GIN-debug] [WARNING] Headers were already written. Wanted to override status code 200 with 500
May 08 21:33:39 ****.contaboserver.net wings[22018]: [GIN] 2020/05/08 - 21:33:39 | 500 |  1.025182512s |   ***.***.***.*** | GET      "/api/servers/dbc4e459-9794-46d4-b5c3-8274dd36165d/ws"
matthewpi commented 4 years ago

Have you checked that wings isn't throwing errors?

parkervcp commented 4 years ago

probably related to #2000

NgLoader commented 4 years ago

@matthewpi of yeah

parkervcp commented 4 years ago

Yeah this is related to #2000 but the panel and not wings.

parkervcp commented 4 years ago

I am going to go with a "this is just #2000 causing this issue." and close this as a duplicate.