[1.1.57][Win10] Error Code 520 when logging in from game

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
glidercat
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 22, 2022 2:52 pm
Contact:

[1.1.57][Win10] Error Code 520 when logging in from game

Post by glidercat »

Initially, I had no problem connecting and downloading mods via the in-game connection to the mod portal.
Then, in order to change the in-game display of my username, I logged into the factorio.com website and changed my username and password.
Username was not updated in game, so I logged out of Factorio from the in-game: Settings -> Other page.
Now, I can no longer access the mod portal nor log in from within the game.

Going to the "Install" tab of the in-game mod portal immediately gives the following error:

"Failed to reach auth server. Code: 520. Error: schannel: failed to receive handshake, SSL/TLS connection failed."

Going to Settings -> Other -> then selecting Log In, produces the same error.

I am able to login and download mods from the mod portal WEB SITE with no problems using my new username and password.

I have uninstalled, renamed the appdata/roaming/factorio folder, and reinstalled a few times, rebooted, and still get the error.

I'm running version 7.79.1 of CUrl, but I don't think this is the problem since I had no issues at all just moments before updating my Factorio username and password.

Relevant log lines (log attached):

26.202 Factorio initialised
26.206 Steam Storage Quota: 4591/4768
32.213 Info AuthServerConnector.cpp:372: Performing TLS check.
32.214 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/success
32.325 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; Send failure: Connection was reset
32.325 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/success
32.325 Info HttpSharedState.cpp:148: Status code: 0
32.325 Info AuthServerConnector.cpp:384: TLS check failed.
32.325 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/failure
32.325 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-steam-login?api_version=4
32.419 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; Send failure: Connection was reset
32.419 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; Send failure: Connection was reset 32.419 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/failure

32.419 Info HttpSharedState.cpp:148: Status code: 0
32.419 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/api-steam-login?api_version=4
32.419 Info HttpSharedState.cpp:148: Status code: 0
32.419 Info AuthServerConnector.cpp:18: Failed to reach auth server: code(520) message(Send failure: Connection was reset)
32.419 Error AppManagerStates.cpp:3002: Failed to reach auth server. Code: 520. Error: Send failure: Connection was reset.

This started yesterday after updating my factorio.com username and password. About 12 hours has gone by and I'm still having the same issue.
Attachments
factorio-current.log
(7.41 KiB) Downloaded 72 times

Gommaz
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Apr 27, 2022 10:53 pm
Contact:

Re: [1.1.57][Win10] Error Code 520 when logging in from game

Post by Gommaz »

Hello,
I had same problem, after trying everything I could I noticed I had a problem with Steam Cloud syncronization.
Going offline and back online in the Steam clienty solved the issue.
Hope this works for you.
I have win 7 tho not 10
Last edited by Gommaz on Wed Apr 27, 2022 10:56 pm, edited 1 time in total.

glidercat
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 22, 2022 2:52 pm
Contact:

Re: [1.1.57][Win10] Error Code 520 when logging in from game

Post by glidercat »

I'm grateful for the suggestion but going offline then back online in the Steam client unfortunately didn't solve the issue. I was really hoping it would.

I'm still having the problem. It definitely seems network or firewall-related but I get the same issue even when I completely disable my antivirus/firewall suite.

glidercat
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 22, 2022 2:52 pm
Contact:

Re: [1.1.57][Win10] Error Code 520 when logging in from game

Post by glidercat »

Update: It doesn't appear to be an issue with my account on Factorio.com nor my ISP. I'm able to connect fine on my laptop (Win11).

I still get the problem on my PC (Win10), even when I turn off my Antivirus/firewall suite.

Does anyone have some suggestions I can use to pinpoint the problem?

ivi1243
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 27, 2022 4:30 am
Contact:

Re: [1.1.57][Win10] Error Code 520 when logging in from game

Post by ivi1243 »

Did you solve this problem?

xfret
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Apr 11, 2021 10:40 am
Contact:

Re: [1.1.57][Win10] Error Code 520 when logging in from game

Post by xfret »

I'm having the same issue, did you solve this?

Post Reply

Return to “Technical Help”