Page 1 of 1

Error trying multiplayer: "CURL failed: code:28, 1c; Resolving timed out"

Posted: Sat Dec 07, 2019 11:56 pm
by ClearlyMisunderstood
I played something like version .17.13 or 14. I just did an update to the current version. I tried connecting to my friend's game and it would not connect. I tried everything I could think of with no luck. I tried connecting to public servers and they would not load with a json error. After a few hours of trial and error including Factorio-> Properties -> Local Files -> Verify Integrity of Game Files, which returned without error.

I ended up deleting Factorio and reinstalling.

After reinstall, I tried connecting to Public servers, which failed with the error: "Download failed (status code 520): failed to parse JSON response: Unexpected character (R) at ?:1"

I backed out to settings -> other and checked "verbose Logging", stopped the game and restarted it. Same error. I tried running as administrator in case there was some type of permissions issues. Same error.

The error files are fairly bland. I did see the following noticing the curl failure(s):

Code: Select all

24.893 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/get-games?username=ClearlyMisunderstood&token=<private>&version=0.17.79&lang=en
  54.881 Error HttpSharedState.cpp:136: CURL failed: code:28, 1c; Resolving timed out after 30000 milliseconds
  54.881 Info HttpSharedState.cpp:145: Downloading https://multiplayer.factorio.com/get-games?username=ClearlyMisunderstood&token=<private>&version=0.17.79&lang=en
  54.881 Info HttpSharedState.cpp:146: Status code: 0
  54.894 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/get-games?username=ClearlyMisunderstood&token=<private>&version=0.17.79&lang=en
  84.882 Error HttpSharedState.cpp:136: CURL failed: code:28, 1c; Resolving timed out after 30000 milliseconds
  84.882 Info HttpSharedState.cpp:145: Downloading https://multiplayer.factorio.com/get-games?username=ClearlyMisunderstood&token=<private>&version=0.17.79&lang=en
  84.882 Info HttpSharedState.cpp:146: Status code: 0
  84.896 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/get-games?username=ClearlyMisunderstood&token=<private>&version=0.17.79&lang=en
 103.792 Info UDPSocket.cpp:218: Closing socket
The game DOES start in single player mode. Current and Previous logs attached.

Re: cannot multiplay - neither open games nor with a friend

Posted: Sun Dec 08, 2019 10:53 pm
by ClearlyMisunderstood
As a follow up, I tried to host a public game. I did not change any settings. If failed with the following error:
Notice: Couldn't pares the response from the auth server. This seems to be an internal server error.
My choice was to click "confirm", which then kicked me back to the Multiplayer menu

From the logs... starting with where I saved the game:

Code: Select all

5543.880 Verbose Scenario.cpp:835: Saving game as C:\Users\david\AppData\Roaming\Factorio\saves/2019 december david alone
5544.242 Verbose Scenario.cpp:951: Time to save game: 0.362059
5544.309 Info AppManagerStates.cpp:1802: Saving finished
5592.498 Info ServerSynchronizer.cpp:30: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
5592.498 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
5592.498 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
5592.499 Loading map C:\Users\david\AppData\Roaming\Factorio\saves\2019 december david alone.zip: 4846775 bytes.
5592.636 Loading level.dat: 12636799 bytes.
5592.639 Info Scenario.cpp:187: Map version 0.17.79-0
5592.943 Verbose Scenario.cpp:230: Loading level.dat finished: 0.304091 seconds.
5593.015 Verbose BlueprintLibrary.cpp:65: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 49; timestamp = 1575767612; records: (id: 0, 48; label: "Nilaus' Base-In-A-Book", preview: false, empty: false; book [id: 0, 3; label: "1. Gears & Yellow Belts", preview: false, empty: false] [id: 0, 4; label: "1. Red Science & Green Circuits", preview: false, empty: false] [id: 0, 5; label: "1. Stone Furnaces & Bricks", preview: false, empty: false] [id: 0, 6; label: "2. Steam Power", preview: false, empty: false] [id: 0, 7; label: "3. Basic Mining", preview: false, empty: false] [id: 0, 8; label: "3. Basic Smelting", preview: false, empty: false] [id: 0, 9; label: "3. Basic Steel Smelting", preview: false, empty: false] [id: 0, 10; label: "4. Main Bus - 4x4 Balancer", preview: false, empty: false] [id: 0, 11; label: "4. Main Bus - Full line", preview: false, empty: false] [id: 0, 12; label: "4. Main Bus - Half line", preview: false, empty: false] [id: 0, 13; label: "4. Main Bus - Half line One sided", preview: false, empty: false] [id: 0, 14; label: "4. Main Bus - Middle Half line", preview: false, empty: false] [id: 0, 15; label: "5. Red & Green Science", preview: false, empty: false] [id: 0, 16; label: "5. Science Labs", preview: false, empty: false] [id: 0, 17; label: "6. Green Circuits", preview: false, empty: false] [id: 0, 18; label: "7. Logistics Mall (Early Game)", preview: false, empty: false] [id: 0, 19; label: "7. Logistics Mall (Late Game)", preview: false, empty: false] [id: 0, 20; label: "8. Circuit Network Shop", preview: false, empty: false] [id: 0, 21; label: "8. High Tech Shop", preview: false, empty: false] [id: 0, 22; label: "8. Nuclear Shop", preview: false, empty: false] [id: 0, 23; label: "8. Production Shop", preview: false, empty: false] [id: 0, 24; label: "8. Train Shop", preview: false, empty: false] [id: 0, 25; label: "9. Armor Piercing Rounds", preview: false, empty: false] [id: 0, 26; label: "9. Grenades", preview: false, empty: false] [id: 0, 27; label: "9. Gun Turret", preview: false, empty: false] [id: 0, 28; label: "9. Military Science", preview: false, empty: false] [id: 0, 29; label: "9. Modular Military Science", preview: false, empty: false] [id: 0, 30; label: "10. Advanced Oil Processing", preview: false, empty: false] [id: 0, 31; label: "10. Basic Oil Processing", preview: false, empty: false] [id: 0, 32; label: "10. Beaconed Advanced Oil Processing", preview: false, empty: false] [id: 0, 33; label: "11. Plastic", preview: false, empty: false] [id: 0, 34; label: "11. Sulfuric Acid", preview: false, empty: false] [id: 0, 35; label: "12. Red Circuits", preview: false, empty: false] [id: 0, 36; label: "12. Red Circuits (Blue Belt)", preview: false, empty: false] [id: 0, 37; label: "13. Blue Science", preview: false, empty: false] [id: 0, 38; label: "13. Electric Mining Drills", preview: false, empty: false] [id: 0, 39; label: "13. Engines", preview: false, empty: false] [id: 0, 40; label: "14. Assembling Machine", preview: false, empty: false] [id: 0, 41; label: "14. Electric Engines", preview: false, empty: false] [id: 0, 42; label: "14. Electric Furnace", preview: false, empty: false] [id: 0, 43; label: "14. Purple Science", preview: false, empty: false] [id: 0, 44; label: "15. Blue Circuit Module (2 Red Belts)", preview: false, empty: false] [id: 0, 45; label: "15. Blue Circuits (2 Blue Belts)", preview: false, empty: false] [id: 0, 46; label: "16. Yellow Science", preview: false, empty: false] [id: 0, 47; label: "Jump Start Base", preview: false, empty: false]) (id: 0, 2; label: "", preview: false, empty: false; single) (id: 0, 0; label: "B7-FishDefender(Solo+far)", preview: false, empty: false; single)
5593.015 Verbose Scenario.cpp:307: Entities setup finished: 0.072188 seconds.
5593.016 Loading script.dat: 328 bytes.
5593.022 Checksum for script C:/Users/david/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3265260072
5593.028 Verbose Scenario.cpp:351: Map setup finished: 0.529557 seconds.
5593.031 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
5593.031 Verbose RouterBase.cpp:60: Started router thread.
5593.032 Hosting game at IP ADDR:({0.0.0.0:34197})
5593.032 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
5623.562 Error HttpSharedState.cpp:136: CURL failed: code:28, 1c; Resolving timed out after 30532 milliseconds
5623.562 Info HttpSharedState.cpp:145: Downloading https://auth.factorio.com/generate-server-padlock-2
5623.562 Info HttpSharedState.cpp:146: Status code: 0
5623.562 Info AuthServerConnector.cpp:29: Auth server json parsing error: Resolving timed out after 30532 milliseconds
5623.562 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "Couldn't parse the response from the auth server. This seems to be an internal server error."
5623.562 Info ServerMultiplayerManager.cpp:776: updateTick(1586572) changing state from(CreatingGame) to(InitializationFailed)
5688.326 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
5688.326 Info ServerMultiplayerManager.cpp:776: updateTick(1586572) changing state from(InitializationFailed) to(Closed)
5688.473 Verbose RouterBase.cpp:82: Finishing router thread.
5688.473 Info UDPSocket.cpp:218: Closing socket
5688.473 Info UDPSocket.cpp:248: Socket closed

Re: cannot multiplay - neither open games nor with a friend

Posted: Mon Dec 09, 2019 12:07 am
by Loewchen
Check out: viewtopic.php?f=49&t=78229.
Does Sanquis link work for you?

Re: Error trying multiplayer: "CURL failed: code:28, 1c; Resolving timed out"

Posted: Mon Dec 09, 2019 12:12 am
by ClearlyMisunderstood
I saved, then I tried going to Settings -> Other and log out and log back in. Logged off just fine. When I tried to log back in, I got the following error:
Couldn't parse the response from the auth server. This seems to be an internal server error

Code: Select all

10327.429 Info AppManagerStates.cpp:1802: Saving finished
10361.640 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
10392.168 Error HttpSharedState.cpp:136: CURL failed: code:28, 1c; Resolving timed out after 30515 milliseconds
10392.168 Info HttpSharedState.cpp:145: Downloading https://auth.factorio.com/api-login?api_version=2
10392.168 Info HttpSharedState.cpp:146: Status code: 0
10392.168 Info AuthServerConnector.cpp:29: Auth server json parsing error: Resolving timed out after 30515 milliseconds