Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
Moderator: Oberlus
-
- Space Krill
- Posts: 6
- Joined: Thu Jan 24, 2019 6:06 pm
Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
So I'm, uh... new here, so I apologize, as I have absolutely no clue as to where to find the logs and whatnot for everything.
Just recently (as in, within the last day), FreeOrion, out of the blue, started giving me the "connection to the server has been lost" when loading my SP game. System specs are below, and if someone could direct me to find my logs, I can get those too. System specs are below:
System Model HP Laptop 15-da0xxx
Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 1801 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM) 8.00 GB
I have absolutely no clue why this came up, as it only occurs right after loading into the game (680 turns in, and a few seconds after the loading completes and everything appears, I get the error). Like I said, this just came up recently; the game was running just fine a day ago, and I haven't done anything different AFAIK.
Thanks, in any case.
Just recently (as in, within the last day), FreeOrion, out of the blue, started giving me the "connection to the server has been lost" when loading my SP game. System specs are below, and if someone could direct me to find my logs, I can get those too. System specs are below:
System Model HP Laptop 15-da0xxx
Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 1801 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM) 8.00 GB
I have absolutely no clue why this came up, as it only occurs right after loading into the game (680 turns in, and a few seconds after the loading completes and everything appears, I get the error). Like I said, this just came up recently; the game was running just fine a day ago, and I haven't done anything different AFAIK.
Thanks, in any case.
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
The logs will be in:
C:\Users\Username\AppData\Roaming\FreeOrion
For starters, post freeorion.log and freeoriond.log, and maybe also the AI_*.log files that correspond to your current game (check dates).
C:\Users\Username\AppData\Roaming\FreeOrion
For starters, post freeorion.log and freeoriond.log, and maybe also the AI_*.log files that correspond to your current game (check dates).
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
Without the logs, it's difficult to be sure, but it sounds like an issue with the AI players or autosaves, as it happens shortly after apparently successfully loading. Try disabling autosaves before loading the game. If that fixes it, probably saving manually also won't work, however.
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
Could you try 0.4.8 version?
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
-
- Space Krill
- Posts: 6
- Joined: Thu Jan 24, 2019 6:06 pm
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
The problem seems to have fixed itself, though now I have new problems. Thank you for your assistance, in any case.
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
hi all
(sorry for my bad english)
win10 x64
8go memory
v0.4.8
i have this trouble often and most of the time all the save game give the same result so i have to abandon and begin a new game.
when i try to load a save game, that begin to show the map then it's crashing and i have the message "lost the connexion to the server"
i join the logs but can't join the sav game it's too large even with 7zip
if asked i can send it by mail
(sorry for my bad english)
win10 x64
8go memory
v0.4.8
i have this trouble often and most of the time all the save game give the same result so i have to abandon and begin a new game.
when i try to load a save game, that begin to show the map then it's crashing and i have the message "lost the connexion to the server"
i join the logs but can't join the sav game it's too large even with 7zip
if asked i can send it by mail
- Attachments
-
- ai.7z
- (107.47 KiB) Downloaded 270 times
-
- freeoriond.log
- (159.66 KiB) Downloaded 311 times
-
- freeorion.log
- (92.24 KiB) Downloaded 301 times
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
The times in the server and client logs don't match. It appears you've attached logs from two different runs of the game. It's thus difficult to tell if the client did something that caused the server crash.
Have you tried loading the last save the doesn't crash, and switching to binary saves in the options? Options / Other / Create Binary Save Files ? (I don't remember if v0.4.8 will be able to load XML saves after switching to binary save files mode, but it might also work to switch the option first).
Code: Select all
08:54:59.735139 [debug] timer : ScopedTimer.cpp:34 : parse_file "SP_TRENCHERS.focs.txt" time: 344 ms
08:55:00.088081 [debug] timer : ScopedTimer.cpp:34 : parse_file "SP_TRITH.focs.txt" time: 353 ms
08:55:00.436618 [debug] timer : ScopedTimer.cpp:34 : parse_file "SP_UGMORS.focs.txt" time: 347 ms
08:55:00.787615 [debug] timer : ScopedTimer.cpp:34 : parse_file "SP_VOLP.focs.txt" time: 351 ms
08:55:00.790615 [debug] timer : ScopedTimer.cpp:34 : parse_file "SpeciesCensusOrdering.focs.txt" time: 2609 µs
08:55:34.047801 [debug] client : HumanClientApp.cpp:1119 : HumanClientApp::HandleAppQuitting()
08:55:34.047801 [debug] client : HumanClientApp.cpp:1428 : HumanClientApp::ExitApp
08:55:34.047801 [debug] client : HumanClientApp.cpp:379 : HumanClientApp exited cleanly.
08:55:34.131797 [debug] client : Universe.cpp:161 : Reset id allocators with highest object id = -1 and highest design id = -1
08:55:34.131797 [debug] client : chmain.cpp:325 : Human client main exited cleanly.
Code: Select all
08:49:38.948282 [debug] server : Process.cpp:68 : Process::Kill
08:49:38.948282 [debug] server : Process.cpp:70 : Process::Kill calling m_impl->Kill()
08:49:38.948282 [debug] server : Process.cpp:75 : Process::Kill calling RequestTermination()
08:49:38.948282 [debug] server : Process.cpp:68 : Process::Kill
08:49:38.948282 [debug] server : Process.cpp:70 : Process::Kill calling m_impl->Kill()
08:49:38.948282 [debug] server : Process.cpp:75 : Process::Kill calling RequestTermination()
08:49:38.949282 [debug] server : ServerApp.cpp:171 : Server exited cleanly.
08:49:39.256026 [debug] server : Universe.cpp:161 : Reset id allocators with highest object id = -1 and highest design id = 63129
08:49:40.659519 [error] server : dmain.cpp:97 : main() caught exception(std::exception): output stream error
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
i have deleted the logs before to start freeorion and after try to load a saved game
there all the new logs
i shall try the option save in binary
there all the new logs
i shall try the option save in binary
- Attachments
-
- logs.7z
- (143.5 KiB) Downloaded 253 times
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
I'm not sure what the issue actually is... Perhaps the binary saves option helps, but from the log i'm guessing not.
It's a bit notable that all the AI clients are taking a really long time to parse all the script files... All of them seem to have the last 2 minutes of log files just with parsing log messages.
I doubt it will help diagnose the issue, but you could also switch all the logging levels in the options to trace. This will probably make things run very slow and produce huge log files, but could potentially clarify where the problem happens, better than
and
It's a bit notable that all the AI clients are taking a really long time to parse all the script files... All of them seem to have the last 2 minutes of log files just with parsing log messages.
I doubt it will help diagnose the issue, but you could also switch all the logging levels in the options to trace. This will probably make things run very slow and produce huge log files, but could potentially clarify where the problem happens, better than
Code: Select all
14:06:39.128384 [error] server : dmain.cpp:97 : main() caught exception(std::exception): output stream error
Code: Select all
14:06:39.127392 [debug] network : ClientNetworking.cpp:487 : Client connection disconnected by EOF from server.
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
i have set option binary, loaded an old save which is working, run a new turn then quit and try to load this las turn but still "lost connexion with the server
there the new logs
i shall try as asked to switch the options to trace
there the new logs
i shall try as asked to switch the options to trace
- Attachments
-
- logs2.7z
- (133.76 KiB) Downloaded 285 times
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
Slightly different error on the server in that log...
Code: Select all
16:53:38.786374 [error] server : dmain.cpp:97 : main() caught exception(std::exception): bad allocation
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
try to load with options trace
i can't add the logs the files compressed are too bigs
i can't add the logs the files compressed are too bigs
Re: Cannot run - Connection to the server has been lost [Win 10][0.4.7.1]
Could you open an issue in github (https://github.com/freeorion/freeorion/issues) and upload there the compressed log with logs trace enabled?