Steamcmd login failed with error code 3

Posted January 14, 2015 12.6k views

Hi all,

I’m trying to set up a CS:GO server using the steamcmd tool. But when I attempt “login anonymous” or “login USERNAME PASSWORD” I get the following

Connecting anonymously to Steam Public...Login Failure: No Connection
FAILED with result code 3

I’ve tried with Ubuntu 12.04 64, 14.04 64 and Debian 7 32 and I get the same issue.

I’ve tried implemented to recommended firewall rules

iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT
iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT

But I still get the same. I’ve tried with steamCMD directly as well as the following csgo specific script

Has anyone done this recently? Am I missing something obvious?

Ta :)



Here is the original guide I intended to follow, it mentions DO specifically, so I assume it’s possible!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

For fun, I decided to write you a launcher. It is best to run this on a server that’s not had steamcmd installed before (or just remove /home/steam/steamcmd folder and run “userdel steam”)

This will open up the firewall rules on Ubuntu 12.04/14.x for you, install steamcmd, and launch it. If you run this script after installing, it will merely launch the service.

copy/paste this in /root/

if [ ! -f /home/steam/steamcmd/ ]; then
# Opening firewall ports
sudo ufw allow proto udp from any to any port 1200,27000:27017,27020
sudo ufw allow proto tcp from any to any port 27015,27020:27041
sudo apt-get install lib32gcc1 wget
adduser -m steam
su steam <<'EOF'
mkdir ~/steamcmd
cd ~/steamcmd
tar -xvzf steamcmd_linux.tar.gz
echo "Steamcmd is now installed."
echo "Starting steamcmd...."
su steam <<'EOF'
cd ~/steamcmd

Next, run this:

chmod +x /root/

Next, run this to do the install:


Once you see “Steamcmd is now installed.”, re-run the script:


You should see “Starting steamcmd....” and then it should be running.

EDIT* Modified the script to use “if is regular file” rather than “ls”

Hey JonsJava I really appreciate your efforts : D

I changed the script slightly (adduser to useradd) but I am still getting the same.

Once I’ve opened the Steam prompt and attempt to login either anonymously or with a username and password, after a long delay, i get error code 3

A routing issue somewhere maybe? Though I’ve no idea where I would be looking

Huh.... so I’ve finally been able to log in and it seems the issue was the fact the server was in the New York data centre… ?

I’ve just recreated the exact same Ubuntu 14.04 64bit server but in the London data centre and it worked as expected first time…

Fun! :D

Thanks again Jons

  • Hi ChrisMingay, how did you change the data center? I’m having the same issue and opening the ports didn’t help me either (although I’m on a private network so it could be an issue there also).

  • Nothing clever I’m afraid. I destroyed the VPS and then just recreated it elsewhere.

    You might be able to take an image of your server though and then redeploy the image on a newly created droplet elsewhere?