"Bad password" error when connecting to a password protected server

"Bad password" error when connecting to a password protected server - Man in Blue Dress Shirt Holding Black Smartphone

I'm trying to connect to a password-protected CS:GO server by using the Steam protocol using steam://connect/ip:port/password.

When CS:GO is already running, the client connects without any problems. But when CS:GO is not running, it starts and then gives me the "Bad password" error.

Is this a known bug? I haven't found anything so far.



Best Answer

I have the same problem and I think I found why:

How to reproduce:

  1. Issue a steam url: Steam://connect/ip/password.
  2. Wait for CS to start and then connect.
  3. Close down CS.
  4. On your server: Change the password
  5. Issue a steam url: Steam://connect/ip/new_password.
  6. "SteamUrlHandler" now starts CS and then issues the connect command.
  7. You get BadPassword response from server.

Question Why?

I used a protocol analysator and detected that it uses the old password during the 2nd connect. So the "SteamUrlHandler" has older passwords cached and sends that to the game.

Workaround?

Still looking after a good workaround, but issuing the steam-url again after a while seems to work.




Pictures about ""Bad password" error when connecting to a password protected server"

"Bad password" error when connecting to a password protected server - Person Holding Black Iphone 5
"Bad password" error when connecting to a password protected server - Man in Black Crew Neck T-shirt Holding Black Smartphone
"Bad password" error when connecting to a password protected server - Black Android Smartphone on Top of White Book





Logon failure unknown username or bad password | (Windows Workgroup Fix)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Mikhail Nilov, Mikhail Nilov, Mikhail Nilov, Pixabay