BlueBox never receives CONNECTION_LOST event
Posted: 26 Jan 2018, 16:49
Version 1.7.1
The Client connected by BlueBox seems to never trigger the CONNECTION_LOST and thus my client stays alive.
I am currently making a simple bot programm to make a few clients (1000+) and let them connect and play on our server to test some issues. Some of them are connected normaly, others with BlueBox. When for some reason the connection dies, the BlueBox clients never seem to get the event for that, while the other clients just get the CONNECTION_LOST event and I can handle it however is needed for testing.
A way to reproduce this is:
- Start server
- Start a client with bluebox connection (e.g. set wrong port in config)
- Stop server
Am I doing something wrong there? The client first logs
"ERROR sfs2x.client.bitswarm.BitSwarmClient - ## BlueBox Error: Connection refused"
and then just keeps spamming
"WARN sfs2x.client.bitswarm.bbox.BBClient - BB sending error: can't send data, BlueBox connection is not active" on my pings
with no event fired after stopping the server.
The Client connected by BlueBox seems to never trigger the CONNECTION_LOST and thus my client stays alive.
I am currently making a simple bot programm to make a few clients (1000+) and let them connect and play on our server to test some issues. Some of them are connected normaly, others with BlueBox. When for some reason the connection dies, the BlueBox clients never seem to get the event for that, while the other clients just get the CONNECTION_LOST event and I can handle it however is needed for testing.
A way to reproduce this is:
- Start server
- Start a client with bluebox connection (e.g. set wrong port in config)
- Stop server
Am I doing something wrong there? The client first logs
"ERROR sfs2x.client.bitswarm.BitSwarmClient - ## BlueBox Error: Connection refused"
and then just keeps spamming
"WARN sfs2x.client.bitswarm.bbox.BBClient - BB sending error: can't send data, BlueBox connection is not active" on my pings
with no event fired after stopping the server.