When you start a server and headless client and then end the headless client process by either closing it or killing it in task manager. The server will output a message 'HeadlessClient is loosing connection' however the HC will never actually loose connection and no disconnect event will get called. The HC will still show in the player list when logged in as admin as still present on the server. Over the next 15 minutes or so, the server process will start to loose frames until it gets to 1 frame and then the process will die.
Description
Details
- Legacy ID
- 845067898
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Game Freezes
- Start Client, HC, Server.
- Wait a few minutes
- Close Headless Client Exe
- Use #monitor 1 and watch the server FPS drop to 1 over the next 15 minutes.
Graph of ASM of the server process loosing frames and dying
http://i.gyazo.com/ba2a4c454e1939202f4ab5ae0e9d946a.png
Screenshot showing #monitor and the server FPS of 0
http://i.gyazo.com/30fc9f3abf3a51df724b5568f11bb5aa.jpg
Screenshot showing HC still in the playerlist even tho it has been closed.
http://i.gyazo.com/6bf40245659cf1d337d760329c133985.jpg
Note: This issue will not happen after the next 15 minutes if NO HC ever connects to the server process. Also if HC never gets closed or looses connection then server frames are completely fine and this doesn't happen.
Event Timeline
Hello,
is this still happening? Our HC masters could not reproduce the problem. Would it be possible to verify the repro steps and in case these are no accurate, update them? Thank you very much.
This issue is still happening on the latest development build. All the repro steps are the same.
- Start Client, Server, HC
- Make sure you are using localClient and headlessClients in the server.cfg to your IP (127.0.0.1) etc
- #login as admin, note that headless client is in the server list
- Close Headless Client / Kill Process
- See a message 'hc' is loosing connection.
- Note that HC remains in the players list and won't disconnect.
Latest DEV (Fri) after 90 seconds of inactivity due to HC crash HC triggers both onPlayerDisconnected and HandleDisconnect events and HC object becomes NULL
Is it possible to check it once 1.38 Stable is out (or even better, on Release Candidate once it gets public?). It would help us a lot, thank you.