Error 520, can't login into my account in game,SSL\TLS problem

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
Mirakakel
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 31, 2023 3:38 pm
Contact:

Error 520, can't login into my account in game,SSL\TLS problem

Post by Mirakakel »

Hello there!
Error 520.
This issue was with me for a while, tho i have logged in and played with my friends successfully not so long ago.
For a day i searched internet in ways to solve this problem.
Things i tried -
Cloud save - disabling,deleting,
Reinstalling the game from steam a couple of times
Installing the standalone version
Clearing all saves, all files, including appdata/roaming/factorio and steam user cache
Tried to insert token directly into player data json, now game shows that i am logged in, but it still gives me the error 520 when i try to host game
Cliked hello world links that i found, it all works
Unlinked my previous account from steam and created a new one
Disabled firewall and antivirus
i found that vpn and such stuff could be the case, and i have some UNACTIVE vpns, like
nordvpn
psiphon3

So now i am completely out of ideas, please help! <3


All log after factorio intiallized and i tried to login

Code: Select all

9.672 Steam Storage Quota: 4768/4768
  33.741 Info AuthServerConnector.cpp:385: Performing TLS check.
  33.741 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/success
  49.067 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.067 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/success
  49.067 Info HttpSharedState.cpp:148: Status code: 0
  49.067 Info AuthServerConnector.cpp:397: TLS check failed.
  49.067 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/failure
  49.067 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-steam-login?api_version=5
  49.327 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.327 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/api-steam-login?api_version=5
  49.327 Info HttpSharedState.cpp:148: Status code: 0
  49.327 Info AuthServerConnector.cpp:21: Failed to reach auth server: code(520) message(schannel: failed to receive handshake, SSL/TLS connection failed)
  49.327 Error AppManagerStates.cpp:3142: Failed to reach auth server. Code: 520. Error: Unknown error.
  49.343 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.343 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/failure
  49.343 Info HttpSharedState.cpp:148: Status code: 0
  52.701 Quitting: user-quit.
  52.865 Steam API shutdown.
  52.868 Goodbye
Attachments
factorio-current.log
Mb, for not specifying my computer stats
(6.11 KiB) Downloaded 37 times
Last edited by Mirakakel on Sat Apr 01, 2023 5:44 am, edited 1 time in total.

lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: Error 520, can't login into my account in game,SSL\TLS problem

Post by lyvgbfh »

Can you provide a full log that has your system information? Are you on Windows 7 or an older version of MacOS that may not have current certificates?

Mirakakel
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 31, 2023 3:38 pm
Contact:

Re: Error 520, can't login into my account in game,SSL\TLS problem

Post by Mirakakel »

lyvgbfh wrote:
Sat Apr 01, 2023 4:31 am
Can you provide a full log that has your system information? Are you on Windows 7 or an older version of MacOS that may not have current certificates?

Code: Select all

 0.000 2023-04-01 12:49:23; Factorio 1.1.76 (build 60350, win64, steam)
   0.000 Operating system: Windows 10 (build 19045) 
   0.000 Program arguments: "D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.000 Config path: C:/Users/rusko/AppData/Roaming/Factorio/config/config.ini
   0.000 Read data path: D:/SteamLibrary/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/rusko/AppData/Roaming/Factorio [40667/228296MB]
   0.000 Binaries path: D:/SteamLibrary/steamapps/common/Factorio/bin
   0.007 System info: [CPU: AMD Ryzen 5 3600 6-Core Processor, 12 cores, RAM: 7240/16334 MB, page: 10100/29134 MB, virtual: 4335/134217727 MB, extended virtual: 0 MB]
   0.007 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.012 Available displays: 1
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3060 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.078 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.315 Initialised Direct3D[0]: NVIDIA GeForce RTX 3060 Ti; id: 10de-2489; driver: nvldumdx.dll 31.0.15.2824
   0.315   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.315   [Local Video Memory] Budget: 7270MB, CurrentUsage: 23MB, Reservation: 0/3763MB
   0.315   [Non-Local Vid.Mem.] Budget: 7503MB, CurrentUsage: 15MB, Reservation: 0/3879MB
   0.315   Tiled resources: Tier 2
   0.315   Unified Memory Architecture: No
   0.315   BGR 565 Supported: Yes
   0.315   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.315 Graphics settings preset: very-high
   0.315   Dedicated video memory size 8038 MB
   0.350 Desktop composition is active.
   0.350 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
   0.350                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.393 [Audio] Backend:SDL(default); Driver:wasapi, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.468 Loading mod core 0.0.0 (data.lua)
   0.513 Loading mod base 1.1.76 (data.lua)
   0.689 Loading mod base 1.1.76 (data-updates.lua)
   0.777 Checksum for core: 870127790
   0.777 Checksum of base: 3065294274
   0.962 Prototype list checksum: 3034860339
   1.018 Loading sounds...
   1.103 Info PlayerData.cpp:73: Local player-data.json unavailable
   1.103 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1680317358
   1.249 Initial atlas bitmap size is 16384
   1.286 Created atlas bitmap 16384x16364 [none]
   1.290 Created atlas bitmap 16384x13068 [none]
   1.290 Created atlas bitmap 8192x4188 [decal]
   1.291 Created atlas bitmap 16384x5568 [low-object]
   1.292 Created atlas bitmap 8192x4432 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.293 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.293 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.294 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
   1.294 Created atlas bitmap 4096x3088 [mipmap]
   1.295 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.295 Created atlas bitmap 8192x1496 [alpha-mask]
   1.298 Created atlas bitmap 16384x14772 [shadow, linear-magnification, alpha-mask]
   1.299 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.299 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.303 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.851 Parallel Sprite Loader initialized (threads: 11)
   9.456 Sprites loaded
   9.469 Generated mipmaps (4) for atlas [3] of size 16384x5568   
   9.480 Generated mipmaps (3) for atlas [4] of size 8192x4432   
   9.491 Generated mipmaps (3) for atlas [5] of size 16384x6064   
   9.502 Generated mipmaps (3) for atlas [6] of size 4096x3216   
   9.513 Generated mipmaps (3) for atlas [7] of size 4096x1856   
   9.542 Generated mipmaps (3) for atlas [8] of size 4096x3088   
   9.554 Generated mipmaps (5) for atlas [9] of size 8192x2240   
   9.565 Generated mipmaps (3) for atlas [12] of size 8192x2352   
   9.584 Custom mipmaps uploaded.
   9.670 Factorio initialised
   9.672 Steam Storage Quota: 4768/4768
  33.741 Info AuthServerConnector.cpp:385: Performing TLS check.
  33.741 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/success
  49.067 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.067 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/success
  49.067 Info HttpSharedState.cpp:148: Status code: 0
  49.067 Info AuthServerConnector.cpp:397: TLS check failed.
  49.067 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/tls-check/failure
  49.067 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-steam-login?api_version=5
  49.327 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.327 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/api-steam-login?api_version=5
  49.327 Info HttpSharedState.cpp:148: Status code: 0
  49.327 Info AuthServerConnector.cpp:21: Failed to reach auth server: code(520) message(schannel: failed to receive handshake, SSL/TLS connection failed)
  49.327 Error AppManagerStates.cpp:3142: Failed to reach auth server. Code: 520. Error: Unknown error.
  49.343 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  49.343 Info HttpSharedState.cpp:147: Downloading https://auth.factorio.com/tls-check/failure
  49.343 Info HttpSharedState.cpp:148: Status code: 0
  52.701 Quitting: user-quit.
  52.865 Steam API shutdown.
  52.868 Goodbye

lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: Error 520, can't login into my account in game,SSL\TLS problem

Post by lyvgbfh »

I was able to reproduce the issue but not the same error by revoking the cloudflare CA the Factorio site uses. I can't really imagine that's the case for you, considering you're on a recent version of Windows. Can you make sure any VPNs aren't running and disable their network adapters and test again?

You can disable adapters by pressing Windows Key + X together and selecting Network Connections from the list that pops up. For me, the next step is to select "change adapter options" after which I can click each and disable them, but this may differ on later versions of Windows 10 like you have.

Mirakakel
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 31, 2023 3:38 pm
Contact:

Re: Error 520, can't login into my account in game,SSL\TLS problem

Post by Mirakakel »

lyvgbfh wrote:
Sat Apr 01, 2023 11:09 am
I was able to reproduce the issue but not the same error by revoking the cloudflare CA the Factorio site uses. I can't really imagine that's the case for you, considering you're on a recent version of Windows. Can you make sure any VPNs aren't running and disable their network adapters and test again?

You can disable adapters by pressing Windows Key + X together and selecting Network Connections from the list that pops up. For me, the next step is to select "change adapter options" after which I can click each and disable them, but this may differ on later versions of Windows 10 like you have.
Disabled all vpn network adapters, but there was something strange -
First RadminVpn didnt want to disable, so i had to shut down some random radmin task in task manager(radmin was off btw)
Second one was NordVpn, something called NordLynx, coudnt disable it, so i just deleted whole NordVpn.
Restarted computer, still same error 520.

Mirakakel
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 31, 2023 3:38 pm
Contact:

Re: Error 520, can't login into my account in game,SSL\TLS problem

Post by Mirakakel »

Whatever, for those who will run into that issue """solution""" is kinda simple
When you or someone you will play with host game, just uncheck things like public, verify user identity.
Friends still can join you through steam, and you can download mods from the website manually.

Post Reply

Return to “Technical Help”