question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cant login in the bot.

See original GitHub issue

Hello there,

I am install this project on my server. But I found The bot cant be login, I dont receive email code

[root@localhost api.csgotrade.cn]# node index.js
info: Updating Game Files...
info: Logging in bot1
debug: bot1 Generating TOTP Code from shared_secret
debug: bot1 About to connect
info: Logging in bot2
debug: bot2 About to connect
info: Listening for HTTP on port: 1739
info: Connected to the database
debug: Fetched items_game_cdn.txt
debug: Fetched csgo_english.txt
debug: Fetched items_game.txt

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
BPatrick92commented, Aug 3, 2018

@koalayby That server is no longer working, you need to grab list of all working steam official servers in order for it to work. From this website(https://api.steampowered.com/ISteamDirectory/GetCMList/v1/?format=json&cellid=0).

Go into /lib/bot.js. In the logIn(username, password, auth, show_in_game) function (line 22) paste this.servers = [{"host":"155.133.242.9","port":27018},{"host":"185.25.180.15","port":27019},{"host":"185.25.180.15","port":27018},{"host":"185.25.180.14","port":27017},{"host":"185.25.180.15","port":27017},{"host":"155.133.242.9","port":27019},{"host":"155.133.242.9","port":27017},{"host":"185.25.180.14","port":27018},{"host":"185.25.180.14","port":27019},{"host":"155.133.242.8","port":27017},{"host":"155.133.242.8","port":27018},{"host":"155.133.242.8","port":27019},{"host":"162.254.197.40","port":27018},{"host":"155.133.248.50","port":27017},{"host":"155.133.248.51","port":27017},{"host":"162.254.196.68","port":27017},{"host":"162.254.197.41","port":27017},{"host":"162.254.196.67","port":27019},{"host":"155.133.248.53","port":27018},{"host":"155.133.248.52","port":27018},{"host":"162.254.196.67","port":27017},{"host":"162.254.196.67","port":27018},{"host":"162.254.196.83","port":27017},{"host":"162.254.196.84","port":27017},{"host":"155.133.248.52","port":27017},{"host":"162.254.196.68","port":27018},{"host":"162.254.197.40","port":27019},{"host":"155.133.248.51","port":27019},{"host":"155.133.248.52","port":27019},{"host":"155.133.248.53","port":27019},{"host":"155.133.248.50","port":27019},{"host":"155.133.248.53","port":27017},{"host":"162.254.196.68","port":27019},{"host":"162.254.197.42","port":27019},{"host":"162.254.196.84","port":27018},{"host":"155.133.248.50","port":27018},{"host":"162.254.196.83","port":27019},{"host":"162.254.197.42","port":27018},{"host":"162.254.197.41","port":27018},{"host":"162.254.196.84","port":27019},{"host":"162.254.196.83","port":27018},{"host":"162.254.197.40","port":27017},{"host":"162.254.197.41","port":27019},{"host":"155.133.248.51","port":27018},{"host":"162.254.197.42","port":27017},{"host":"146.66.152.11","port":27018},{"host":"146.66.152.11","port":27019},{"host":"146.66.152.11","port":27017},{"host":"146.66.152.10","port":27019},{"host":"146.66.152.10","port":27017},{"host":"146.66.152.10","port":27018},{"host":"208.78.164.10","port":27018},{"host":"208.78.164.9","port":27019},{"host":"208.78.164.13","port":27018},{"host":"208.78.164.9","port":27017},{"host":"208.78.164.12","port":27018},{"host":"208.78.164.10","port":27017},{"host":"155.133.229.251","port":27019},{"host":"155.133.229.251","port":27017},{"host":"208.78.164.14","port":27018},{"host":"208.78.164.12","port":27019},{"host":"208.78.164.13","port":27017},{"host":"208.78.164.9","port":27018},{"host":"208.78.164.14","port":27019},{"host":"208.78.164.11","port":27018},{"host":"208.78.164.10","port":27019},{"host":"155.133.229.250","port":27017},{"host":"208.78.164.12","port":27017},{"host":"208.78.164.11","port":27019},{"host":"155.133.229.250","port":27018},{"host":"155.133.229.251","port":27018},{"host":"208.78.164.11","port":27017},{"host":"155.133.229.250","port":27019},{"host":"208.78.164.13","port":27019},{"host":"208.78.164.14","port":27017},{"host":"162.254.193.7","port":27017},{"host":"162.254.193.47","port":27019},{"host":"162.254.193.7","port":27018},{"host":"162.254.193.46","port":27018},{"host":"162.254.193.6","port":27017}];

And it should work.

@Xuchenhao I personally tried using 2FA/Secret key (phone) but it doesn’t work for me. The email verification process specified in their documentation is working for me.

  1. Make sure you have an account that doesn’t send 2FA keys to phone but instead sends to email (the old way)

  2. Go to config.js and leave auth: "" blank but fill in the user: "yourusername" and pass: "your password" then run, you will see something like "error: Error logging in bot: eresult=5, eresult_extended=5, client_supplied_steamid=76561198134534, count_loginfailures_to_migrate=0, count_disconnects_to_migrate=0`

  3. Check the email that the bot is tied to, you should get an email that says “Allow new computer” that also contains the secret/2fa. Take this secret and paste it into the auth: "" in config.js.

  4. Run and you should get "info: bot Log on OK

0reactions
Step7750commented, Dec 13, 2018

#20 Shows this is still an issue but should be fixed in https://github.com/seishun/node-steam/commit/8f0f68bc244bc02fd38c585bbe956b9546c562a0

I’ll close this again when a release with this commit is published or the issue is resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discord bot does not connect with no error messages
My Discord bot (~acolyte-bot) won't login to the discord API. I'm using Discord.js. I have tried: curl -I https://discordapp.com/api/v7/gateway.
Read more >
It seems that I cannot log in. What can I do? - BOTS
It seems that I cannot log in. What can I do? ... Always check the app store to ensure you have downloaded the...
Read more >
Discord.js bot will not login to client user; why? - Replit
So I have a Discord bot, and it's been working just fine. I've had it running for 28 days now, and it's done...
Read more >
Discord Bot will not login to server - Stack Overflow
I'm just trying to get the bot online at this point and I keep getting the error: TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be ......
Read more >
[READ DESCRIPTION] How to log into a Discord Bot Account
... lot of people are wanting to log into a discord bot account to either prank their friends or ... ... Your browser...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found