Steamcmd login failed with error code 3

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!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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”

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

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