This is a long-shot, but I have seen these symptoms before.
What was occurring in my instance was an out of memory error in the network adapters internal TCP stack caused by one dropped packet at a high traffic time. Basically when a packet was dropped the network adapter stored all the incoming packets until the resend arrived. In extremely rare circumstances the number of "waiting" packets filled up all allocated memory of the network card, so the card "closed" the TCP connection. I say "closed" because the close operation was not reported to the OS correctly, giving interesting side-effects until the OS decided to close the connection in the kernel. I can see that if you are running a cheap 1Gb network card that the old firmware from a 10/100 card could be in use, one that assumes a certain "range" of transfer speeds and packet drops.
Anyway, some possible solutions are:
1) Update your firmware
2) Disable "TCP offload" for your network card
From Factorio's point of view, I don't think there is any way to solve the issue. Trying to detect a closed connection did not work in our case because the OS thought it was open. We had to watch the packet sniffer on the router to see that our packets were not even reaching the wire when we knew there should be some form of activity.
[0.14.8] [Twinsen/cube] Downloading map hangs at 100%
Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%
In case people are still having this problem and want to help, I updated the executable that will log lots of data related to the file transfers on the client side.
Copy the 2 files in your bin folder and run the game using factorio-run.exe
Every time you connect to do a test, do it on a fresh run of the game, so you get one separate log file per test.
Then upload the log(s) somewhere.(they could end up quite large).
Thanks for the help.
Copy the 2 files in your bin folder and run the game using factorio-run.exe
Every time you connect to do a test, do it on a fresh run of the game, so you get one separate log file per test.
Then upload the log(s) somewhere.(they could end up quite large).
Thanks for the help.
- Attachments
-
- Factorio_0.14.21 TransferTarget Logging.zip
- (47.28 MiB) Downloaded 456 times
Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%
Case with the extensive log provided: viewtopic.php?f=49&t=32646
Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%
Thank you very much for the provided .exe.Twinsen wrote:In case people are still having this problem and want to help, I updated the executable that will log lots of data related to the file transfers on the client side.
Copy the 2 files in your bin folder and run the game using factorio-run.exe
Every time you connect to do a test, do it on a fresh run of the game, so you get one separate log file per test.
Then upload the log(s) somewhere.(they could end up quite large).
Thanks for the help.
We've got the same problem here. We have played for about 20 hours with my friend on the map, and now cannot connect to each other while playing on it. We do not face this problem while creating new game or loading other maps. Also I've asked my another friend to try to connect to me (on this map) and he was successful.
So we both ran the factorio-run.exe and I'm attaching the detailed logs to this post. Please check them.
Thank you!
P.S. sorry for bad English
- Attachments
-
- factorio.7z
- Archived logs from clien and the server.
- (449.01 KiB) Downloaded 137 times
Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%
Seems to be the same as in this topic viewtopic.php?f=49&t=32646
The same packet is being dropped over and over. (Lost block 15649)
Please download the latest test executable from that topic (Factorio_0.14.21 Fix attempt+TransferTargetSource Logging 2.zip) and post the new logs there to help with the investigation. Thanks.
The same packet is being dropped over and over. (Lost block 15649)
Please download the latest test executable from that topic (Factorio_0.14.21 Fix attempt+TransferTargetSource Logging 2.zip) and post the new logs there to help with the investigation. Thanks.
Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%
Thank you very much!Twinsen wrote:Seems to be the same as in this topic viewtopic.php?f=49&t=32646
The same packet is being dropped over and over. (Lost block 15649)
Please download the latest test executable from that topic (Factorio_0.14.21 Fix attempt+TransferTargetSource Logging 2.zip) and post the new logs there to help with the investigation. Thanks.
This build had successfully solved the issue with endless downloading of the map! However client sometime drops from the server. We will test it a little bit more tomorrow and then I'll provide you with the new logs.
Thank you!