[Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

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.
posila
Factorio Staff
Factorio Staff
Posts: 5366
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by posila »

Honktown wrote: Fri Aug 13, 2021 6:52 am Didn't work. There are many other updates pending so I'll try to get everything and respond. (it's failing constantly, this'll be a while)
Did you reboot after installing it? I forgot to say it requires reboot for it to take effect. I would be interested to know if there is any single particular Windows Update that fixes it ... but that is my problem, not yours :)
Honktown
Smart Inserter
Smart Inserter
Posts: 1042
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by Honktown »

Look at some things, Windows 7 doesn't support TLS 1.1 / 1.2 out of box:
https://support.microsoft.com/en-us/top ... 268bb10392

"Enable TLS 1.1 and 1.2 on Windows 7 at the SChannel component level".

I don't know if the above was required, it alone did not fix it, and the kb patch was already installed.

However:
A few posts here and there mention the cipher suite / ciphers may not agree. e.g. https://serverfault.com/questions/74170 ... -windows-7
We had some Windows 7 boxes that had the same behavior. It ended up that we needed to install MS14-066 to enable some additional ciphers. No idea why a patch from late 2014 wasn't installed already, but there you go.

Your mileage may vary.
https://www.techspot.com/downloads/6676 ... pdate.html

This worked^

You may need to check the patch, the server, or use wireshark if you want to really know which ciphers were agreed on. Or if it was how Windows was handling the packets:
The security update addresses the vulnerability by correcting how Schannel sanitizes specially crafted packets.
I have mods! I guess!
Link
Ruhadze
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Aug 17, 2021 1:39 pm
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by Ruhadze »

Alright. I'm getting old. I no longer can fix stuff with computers, and I literally forget my passwords, so I have to write them down. I tried playing with a friend today and got this error. I had to reset my factorio account and steam password just to get here. And I've only just realized that I didn't have a board account so I created one.

I can't enter my friends game but he can enter mine. I need to know: is this something on your end that needs to be fixed as mentioned?
Klonan wrote: Fri Aug 06, 2021 4:22 pm Seems it might be due to our server provider Heroku updating their security prototcols, we are looking into how to fix it
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5290
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by Klonan »

Ruhadze wrote: Tue Aug 17, 2021 1:48 pm I need to know: is this something on your end that needs to be fixed as mentioned?
We looked into it, and it seems like a bug with Windows 7,
The bug is fixed in one of the Windows 7 updates: (According to another forum member)
https://www.techspot.com/downloads/6676 ... pdate.html
xenapan
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Apr 30, 2019 8:52 pm
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by xenapan »

Klonan wrote: Tue Aug 17, 2021 4:20 pm The bug is fixed in one of the Windows 7 updates: (According to another forum member)
https://www.techspot.com/downloads/6676 ... pdate.html
Yep this update fixed it! Thanks!
DiegoDiamond
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Aug 29, 2021 12:59 pm
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by DiegoDiamond »

I'm having the same problem. And my friend too. We both installed MS14-066. A friend solved this problem. But I still couldn't solve it. I was trying to write TLS 1.1 and 1.2 into the registry and that didn't help either. I don't know what happened after August 20th, but this error prevents me from playing online games. Sorry for my english.
Honktown
Smart Inserter
Smart Inserter
Posts: 1042
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by Honktown »

DiegoDiamond wrote: Sun Aug 29, 2021 1:10 pm I'm having the same problem. And my friend too. We both installed MS14-066. A friend solved this problem. But I still couldn't solve it. I was trying to write TLS 1.1 and 1.2 into the registry and that didn't help either. I don't know what happened after August 20th, but this error prevents me from playing online games. Sorry for my english.
Maybe you could go one-by-one and see if there is an update your friend has but you do not? Here is a screenshot example of my updates (scrolled down to the Windows updates).
screenshot
I have mods! I guess!
Link
gigante762
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Nov 03, 2021 11:39 am
Contact:

Re: [Windows 7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by gigante762 »

I had the same problem error 520, download and install these links and all will be ok. I don't know if both are necessarily but try it.

First:
https://support.microsoft.com/en-us/top ... 268bb10392
Go to Easy fix, you'll find a link there on "click here" link. The same link is there below.

https://download.microsoft.com/download ... x51044.msi

Second:
https://www.techspot.com/downloads/6676 ... pdate.html

Choose your O.S. then, reboot your pc and done! I did it yesterday and decided post my solution.
:D :D :D :D
leeairw
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Feb 19, 2022 6:16 pm
Contact:

Re: [1.1.36][win7] Error trying login in game "InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE"

Post by leeairw »

Klonan wrote: Fri Aug 06, 2021 4:22 pm Seems it might be due to our server provider Heroku updating their security prototcols, we are looking into how to fix it

EDIT: Update windows 7 to fix it: https://www.techspot.com/downloads/6676 ... pdate.html
good job,it work!!!
thank you so much.
Post Reply

Return to “Technical Help”