Good morning everyone, lately there are pilots who have all the applications in order and have problems accessing the server. In the server log I get the following message:
time=“2023-01-28T13:25:19+01:00” level=error msg=“couldn’t handle tcp connection (read message length)” error=“read tcp 192.168.1.100:9607->46.24.213.118:64887: wsarecv: An existing connection was forced broken by the remote host.”
appreciate any help, thanks.
This sounds like the drivers games are failing to load or crashing, so the server loses their connection.
Can you ask the drivers to watch the bottom left hand corner of the screen to see what message is shown when their game crashes? This will help us track down the cause of the issue.
The logs on the server just suggest that your game is closing/crashing whilst connecting to the server, unfortunately in this case they can’t provide more context. There can be quite a few different causes for this but it’s usually possible to diagnose by checking a few things locally as covered on our Wiki here:
It may also be a checksum issue, which are covered here:
The first thing I would suggest checking is the final message you see at the bottom left of the loading screen (before the no connection message) when connecting to the server. If that message is Error: can't compare checksum then refer to the second link. If it’s anything else look at the first link, specifically your local log files to see if there are any errors there.
time=“2025-01-30T18:19:16+01:00” level=error msg=“couldn’t handle tcp connection (read message length)” error=“read tcp 149.202.77.147:29648->88.125.209.163:51707: wsarecv: An existing connection was forcibly closed by the remote host.”
We tried the same configuration (auto + tracking + checksum etc.) on another server (friend server), from “assetto hosting”, and it’s working.
So the drivers have this “checksum failed” on my server, but not on my friend’s server.
However, we have tried a lot of things: removing checksum , removing mandatory apps, changing CSP versions… but it’s very random, sometimes the problem occurs, sometimes not.
Apologies for the slow reply here we missed this one.
That error from the server does not necessarily suggest a checksum failure, that is only if the last message the driver sees whilst connecting is “Checksum failed” or similar. The server error will happen for any client side crash, so there may be other causes here.
If the issue is a checksum failed then you’ll need to identify which file the checksum is failing to find, in this scenario the file will be completely missing from the driver’s machine but unfortunately the server cannot tell which file was missing. However you can find a list of every file the server is checksumming from the Server → Logs page, the message looks like this:
time="2022-12-28T06:29:13Z" level=info msg="Sending checksum request to <driver>. If they cannot connect (checksum mismatch or cannot compare checksum) they are likely missing one of the following files:"
time="2022-12-28T06:29:13Z" level=info msg="- system/data/surfaces.ini"
time="2022-12-28T06:29:13Z" level=info msg="- content/cars/ferrari_laferrari/data.acd"
time="2022-12-28T06:29:13Z" level=info msg="- content/cars/ks_mazda_rx7_tuned/data.acd"
If the client side error isn’t a checksum failed then please take a look at the Wiki links I posted above, and if they don’t help post the error that the drivers are seeing here then we should be able to help further.