Unable to login in 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.
mcgiwer
Inserter
Inserter
Posts: 40
Joined: Sat Aug 14, 2021 8:12 pm
Contact:

Unable to login in game

Post by mcgiwer »

When I start the game, a login window appears. After entering the correct informations, I recieve following error message:

Code: Select all

Failed to reach auth server. Code 520. Error: Unknown Error.
Even after skipping it, I'm unable to neither use mods, nor play in Multiplayer mode


Attaching a screenshoot of the error.
Attachments
fact_err.png
fact_err.png (1.72 MiB) Viewed 2251 times
adam_bise
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Unable to login in game

Post by adam_bise »

Test a simple SSL connection to another remote host..

Try openssl s_client -connect google.com:443

It should connect on TCP 443, display some cert and cipher info, and wait for your command.

If there is some other problem, like DNS, clock sync, it will not work.
mcgiwer
Inserter
Inserter
Posts: 40
Joined: Sat Aug 14, 2021 8:12 pm
Contact:

Re: Unable to login in game

Post by mcgiwer »

Hello. The output of the openssl command You gave given is following:

Code: Select all

$ openssl s_client -connect google.com:443

CONNECTED(00000003)
depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/CN=*.google.com
   i:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
 1 s:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
   i:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
 2 s:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
   i:/C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIPBzCCDe+gAwIBAgIRAKieBql/cQQ4CUazSb2lKB4wDQYJKoZIhvcNAQELBQAw
RjELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBM
TEMxEzARBgNVBAMTCkdUUyBDQSAxQzMwH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F9Gay5jcmww
ggEEBgorBgEEAdZ5AgQCBIH1BIHyAPAAdwC3Pvsk35xNunXyOcW6WPRsXfxCz3qf
NcSeHQmBJe20mQAAAYqnlnYWAAAEAwBIMEYCIQD064dokJB13/A3EIGaw9vOcAbT
agAD5ItQT3vc0x8p8QIhAMx8upNnCIJ52M17bTZPTkopbEn4O+7MsNYVgvInokdQ
AHUArfe++nz/EMiLnT2cHj4YarRnKV3PsQwkyoWGNOvcgooAAAGKp5Z2OQAABAMA
RjBEAiBBzwpuz8xurYT/3qSKZ8CIWIvUOJXcoztO04JHD35/mwIgJthf0RVNZFtk
JwI4ZhM1wOzOdhbrTTZtoD6MgsRdzpcwDQYJKoZIhvcNAQELBQADggEBADf+toKX
WJVq2O8iFO7UKCKLYhE/tZ8cHVYiD6KmetkwbjsukoVAPAcMD4v4Bww7QffPzgpP
ilJJuIb6hTqiNmai4myOr88+KPdwhb+xf5sVytEQldklr1s6fEdY/vstRXd/qYYd
voDAQeCo05rOUNfzD5k0GP/32InGYra4fK4jTi0D2xzSc+rX/xLEM6ca4IBhV/+I
U/YIXUEZBquOCv9hIYawD0b5o4djaH9fG4tNLLay+9H1YbBf4XupFRMPHP0liVJx
plGRP7X14TvAenFot1FJVUo4qdi6PJNFQZza50GVM4Xnn3KhKW/lX2ksrYiUNa6x
xXu2Ctft7KrcIz4=
-----END CERTIFICATE-----
subject=/CN=*.google.com
issuer=/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
---
No client certificate CA names sent
---
SSL handshake has read 7389 bytes and written 391 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: F539D277F6C6EEAF39543C1DC7D9C1F719A557DDB0D2E4290B87A8C3F055E96E
    Session-ID-ctx: 
    Master-Key: 9B9DF65756488125BC8738195C2043CE20A669B327CAB015D4D7F52D8261981E425E12CACE7B7E360F55B69F9F421DDB
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 100799 (seconds)
    TLS session ticket:
    0000 - 02 eb 43 a2 6b 96 c2 c2-97 37 4a 44 aa 18 63 34   ..C.k....7JD..c4
    0010 - fb 40 d8 13 7d 7e df 0c-9a 16 10 39 15 f5 ea 1a   .@..}~.....9....
    0020 - 5c c7 7d af b4 7f 3a f2-36 d8 4a 6a 14 f6 f5 4c   \.}...:.6.Jj...L
    0030 - 8a 07 6b 14 8a db 41 9f-b2 09 56 0f 2a ea e3 ea   ..k...A...V.*...
    0040 - fe b9 f3 8e 91 bf 8b 53-b6 41 18 8d e9 5c b5 ca   .......S.A...\..
    0050 - ee 4b d3 6d ee 0a e6 7e-12 33 63 bd 19 0c a3 c2   .K.m...~.3c.....
    0060 - 7e f1 a0 d7 9b bd 99 02-9c 66 71 a4 08 f1 84 96   ~........fq.....
    0070 - 82 77 92 67 a2 0c 59 93-88 44 21 0a 6f f7 35 4e   .w.g..Y..D!.o.5N
    0080 - ce e9 1b 4f 9c fa 45 77-50 82 77 61 f6 bc 7e 66   ...O..EwP.wa..~f
    0090 - 85 5f bf 55 8e bd fc f9-da cf 31 0e b7 1d b0 9d   ._.U......1.....
    00a0 - 86 0d ae d4 9c 92 81 05-ec 0a 38 f0 da d6 fe d2   ..........8.....
    00b0 - e7 f5 56 cc b1 4c fd 95-2b 0c c8 04 7b 72 f3 8d   ..V..L..+...{r..
    00c0 - 0c a9 2b 48 cd 91 ec 67-5f 2d 0f 49 22 15 de ba   ..+H...g_-.I"...
    00d0 - 51 9e 91 f5 7e 57 41 57-8c 64 85 28 a5 c9 6c 54   Q...~WAW.d.(..lT

    Start Time: 1696499526
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---
read:errno=0

adam_bise
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Unable to login in game

Post by adam_bise »

CA cert not found. Anything in /etc/ssl/certs ?

First off, try
openssl s_client -CApath /etc/ssl/certs/ -connect auth.factorio.com:443

Check for CA cert package:
dpkg -l|grep ca-certificates
if not found type
sudo apt-get install -y ca-certificates

also type (anyway):
sudo update-ca-certificates

Also, check factorio-current.log for the following:
46.364 Info AuthServerConnector.cpp:631: Performing TLS check.
46.364 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/tls-check/success
46.615 Info AuthServerConnector.cpp:656: TLS check success.
GhostPirate
Inserter
Inserter
Posts: 30
Joined: Fri Dec 28, 2018 4:55 pm
Contact:

Re: Unable to login in game

Post by GhostPirate »

I am having a similar issue. Verision 1.1.94, build 61774, Windows 64. I cannot log into steam or view or host multiplayer games, and I get the error "Failed to reach auth server. Code: 520. Error: Unknown Error"

I have reinstalled factorio today, and checked for the latest windows updates and installed them. This is a new issue as of yesterday.

I have downloaded open SSL and tried the command "s_client -connect google.com:443" and got the following output:

Code: Select all

OpenSSL> s_client -connect google.com:443
CONNECTED(0000026C)
depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
 0 s:/CN=*.google.com
   i:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
 1 s:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
   i:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
 2 s:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
   i:/C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIPBzCCDe+gAwIBAgIRAITwbOBBL8OrCRhCYQut13UwDQYJKoZIhvcNAQELBQAw
RjELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBM
TEMxEzARBgNVBAMTCkdUUyBDQSAxQzMwHhcNMjMxMDA5MDgwNDAzWhcNMjQ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BIH1BIHyAPAAdQDatr9rP7W2Ip+bwrtca+hwkXFsu1GE
hTS9pD0wSNf7qwAAAYsTre0SAAAEAwBGMEQCIHg4C6V+KG+3O8mt8iP27jpjEnaS
6wlIKeMaWM435iICAiBsiFmd3MZztGdB5WRYvjnX5RgvNvQ4FSdjwc3tgTNfhwB3
AHb/iD8KtvuVUcJhzPWHujS0pM27KdxoQgqf5mdMWjp0AAABixOt7QwAAAQDAEgw
RgIhALT7bsthCkd1QDrDhvMZEjBQ+4zpPUR/o7QUhdIsG2UoAiEA93SyUhNBqHU1
21YeJJMjYncY1qpx1JjhzepluNw6XsIwDQYJKoZIhvcNAQELBQADggEBABEowXGB
PpNX5JB4reD80OUwZO+/R8fF4dp6QNuVBhlzTCMbcVMCHz+47NNo3nNHtYrKy3Ld
N1V2sG5JKPNT+Z1xPvvxfM4JX7TlQhXP61nt2fWoVlOFyKRFyKQrggGH5Yjderz+
I7nWg4UHOm8Z5PGpZ4QZtbq50I7CUWc1AZ7QExIuYxV94DbGooRSDjXmI4lYFF7i
Mu5S3h7r6Dk+d4MZCU8ywlIheaLar4nKyXaaWnZwJQaPwCBlyKq7xc50e0bZMttR
i5/lwpATng0xqkwEcmHRi+6812t1Ax4aZguwBAHOp76xOKFP2jOshFtvb6w4rY2Q
DYEvsU2IWAoagyM=
-----END CERTIFICATE-----
subject=/CN=*.google.com
issuer=/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
---
No client certificate CA names sent
Peer signing digest: SHA256
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 7389 bytes and written 433 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: 08F32AFDB38F779B5A41F6CBF54E03FC3C4BDC2FDF8443DAFCC39088F5C1E6A1
    Session-ID-ctx:
    Master-Key: 67DEDDC3107A99A210C56FF271711E9328EC114B5FEA28513DE41EFB77E20B047096966F812BDD4A2F25BBF10D8ABEA0
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 100800 (seconds)
    TLS session ticket:
    0000 - 02 96 ae 76 21 8b 98 db-1c 33 9d c2 13 00 2c ce   ...v!....3....,.
    0010 - 7f e7 2f 94 12 f5 4a 9c-2a 5f ae 8f c8 18 91 25   ../...J.*_.....%
    0020 - 42 6b dd a8 69 86 fc 79-13 6b 82 81 ea fd 1e 32   Bk..i..y.k.....2
    0030 - d2 8c 3f 40 2d a5 03 7a-23 f1 69 91 18 a2 d1 c7   ..?@-..z#.i.....
    0040 - 23 f0 bc aa a2 ba 40 74-41 20 4c 5e fb f5 cf 08   #.....@tA L^....
    0050 - 14 f9 96 5f 09 f4 db 50-bc f3 67 31 7c 35 59 84   ..._...P..g1|5Y.
    0060 - 71 5f c9 42 90 bc 68 4f-55 d7 2a 54 8b 5c cf 1b   q_.B..hOU.*T.\..
    0070 - 17 f3 78 ff 33 71 6b cb-c2 24 59 a9 4e 12 60 52   ..x.3qk..$Y.N.`R
    0080 - 3c f0 4f 72 af 5c 03 b9-4a 94 f5 f0 ba 8f 7d 9a   <.Or.\..J.....}.
    0090 - 75 b0 71 d7 76 44 70 55-e4 a6 78 df a9 ab 6c 7e   u.q.vDpU..x...l~
    00a0 - ab d8 dd 8c d4 14 64 80-e3 8a bf 93 4d 37 92 fb   ......d.....M7..
    00b0 - b7 15 c0 12 05 b6 6f c1-51 dc 95 3e df 77 4b 69   ......o.Q..>.wKi
    00c0 - 3d 69 6c 38 c4 9e 7e af-6e aa 52 42 6b 98 36 b7   =il8..~.n.RBk.6.
    00d0 - d8 dd 7d a9 3d 4f 52 44-40 57 29 6f 22 de 57 e7   ..}.=ORD@W)o".W.

    Start Time: 1698811871
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---
read:errno=0
I tried "s_client -CApath /etc/ssl/certs/ -connect auth.factorio.com:443"

and got:

Code: Select all

OpenSSL> s_client -CApath /etc/ssl/certs/ -connect auth.factorio.com:443
CONNECTED(0000027C)
12708:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:.\ssl\s23_clnt.c:802:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 307 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1698812711
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
error in s_client
I tried "dpkg -l|grep ca-certificates" but openSSL says that dpkg isn't a valid command. I'm not skilled enough with computers to know what I need to do in order to run this command.

I checked fatorio-current log and found the following:

Code: Select all

29.021 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/tls-check/success
  48.325 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  48.325 Info HttpSharedState.cpp:167: Downloading https://auth.factorio.com/tls-check/success
  48.325 Info HttpSharedState.cpp:168: Status code: 0
  48.325 Info AuthServerConnector.cpp:643: TLS check failed.
  48.325 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/tls-check/failure
  48.326 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/api-steam-login?api_version=6
  67.508 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  67.508 Info HttpSharedState.cpp:167: Downloading https://auth.factorio.com/tls-check/failure
  67.508 Info HttpSharedState.cpp:168: Status code: 0
  67.519 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  67.519 Info HttpSharedState.cpp:167: Downloading https://auth.factorio.com/api-steam-login?api_version=6
  67.519 Info HttpSharedState.cpp:168: Status code: 0
  67.519 Info AuthServerConnector.cpp:21: Failed to reach auth server: code(520) message(schannel: failed to receive handshake, SSL/TLS connection failed)
  67.520 Error AppManagerStates.cpp:3282: Failed to reach auth server. Code: 520. Error: Unknown error.
Can someone help me? Thank you in advance!
Pi-C
Smart Inserter
Smart Inserter
Posts: 1734
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Unable to login in game

Post by Pi-C »

GhostPirate wrote: Wed Nov 01, 2023 4:29 am I have downloaded open SSL and tried the command "s_client -connect google.com:443" and got the following output:


I tried "dpkg -l|grep ca-certificates" but openSSL says that dpkg isn't a valid command.
Wait, do you mean you enter "dpkg -l|grep ca-certificates" on the prompt of an openSSL session? That wouldn't work, dpkg is the package manager of Debian and friends, so you must run it from the system prompt! Usually, you should be root (or run dpkg under sudo), but "dpkg -l" will just list the installed packages, so in this case you could also run it as a normal user.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: Unable to login in game

Post by FuryoftheStars »

GhostPirate wrote: Wed Nov 01, 2023 4:29 am [...] Windows 64 [...]

I tried "dpkg -l|grep ca-certificates" but openSSL says that dpkg isn't a valid command.
Pi-C wrote: Wed Nov 01, 2023 8:32 am [...] dpkg is the package manager of Debian and friends [...] you should be root (or run dpkg under sudo)
I think that answers the question right there. :D

GhostPirate, the OP was running Linux, so was being given commands appropriate with that OS. "dpkg" is a Linux specific command.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
GhostPirate
Inserter
Inserter
Posts: 30
Joined: Fri Dec 28, 2018 4:55 pm
Contact:

Re: Unable to login in game

Post by GhostPirate »

Thanks, I had guessed that it was something where I was entering the command in an invalid place.

Any thoughts on answering the root issue, not being able to authenticate, and thus not being able to play multiplayer?
mcgiwer
Inserter
Inserter
Posts: 40
Joined: Sat Aug 14, 2021 8:12 pm
Contact:

Re: Unable to login in game

Post by mcgiwer »

I tried "dpkg -l|grep ca-certificates" but openSSL says that dpkg isn't a valid command.
both commands: "dpkg" and "grep" are Linux commands.

It has also displayed an error because there are spaces missing and you had used the invalid switch". The correct Linux command should be:

Code: Select all

dpkg -L | grep -i "ca-certificates"
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: Unable to login in game

Post by FuryoftheStars »

GhostPirate wrote: Wed Nov 01, 2023 7:50 pm Any thoughts on answering the root issue, not being able to authenticate, and thus not being able to play multiplayer?
There have been a number of posts over the years, one offs here and there, that appear to have never reached resolution.

This one, thread 96422, was solved by flushing the dns (Windows: elevated cmd promt -> "ipconfig /flushdns"), however, while their error message was the same ("Failed to reach auth server"), their code was different (410).

Otherwise, a workaround if you are the one hosting or you're playing with a friend who's hosting, is to uncheck the options for making it public and verifying the user's identity. This will at least get you in and playing in these conditions.

Oh! But as I was writing this and still trying to find an answer, I did find this (for Windows 7 users) from Steam: https://steamcommunity.com/app/427520/d ... 583865082/
Edit: (file name: Windows6.1-KB2992611-x64.msu) "Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows" installing this fixed this issue
If that's not a fix in your case, it may help narrow it down?
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
GhostPirate
Inserter
Inserter
Posts: 30
Joined: Fri Dec 28, 2018 4:55 pm
Contact:

Re: Unable to login in game

Post by GhostPirate »

OK EVERYONE, FIXED IT

You're gonna laugh. So I checked all the other forum posts - I'll make some notes for people stumbling across this post in the future:

- I tried changing my DNS server, from the default "automatic" to google's DNS server (8.8.8.8), no improvement.
- The windows 7 fixes posted above don't apply to Windows 11. I did find my TLS settings and tried changing from 1.3 to 1.2 or 1.1 and nothing helped.
- I tried reinstalling factorio
- I had steam verify the integrity of game files
- I checked for windows updates

Nothing helped.

I remembered that for my halloween party, I had enabled my router's guest network and disabled the password for the guest network, so my friends could all get internet easily. Even though my computer only connects to the secure main network, I figured I'd try reverting the router settings and see.

AND LO AND BEHOLD, disabling the unsecured guest network, even though I wasn't connected to it, solved my problem. WEIRD.
Post Reply

Return to “Technical Help”