csfloat / inspect

Source Code that Powers the CSFloat Inspect Link API
https://csgofloat.com
MIT License
392 stars 118 forks source link

this.debug is not a function #187

Closed vladdnepr closed 6 months ago

vladdnepr commented 12 months ago

Hi.

Today at midnight I received lot of errors AccountLoginDeniedThrottle. I use lot of proxies. Also received this error locally too.

I tried to login with login/pass and 2fa code via official client and all works fine.

Also sometimes I got

TypeError: this.debug is not a function
2023-09-13 11:17:11     at LoginSession.<anonymous> (/usr/src/csgofloat/node_modules/steam-user/components/09-logon.js:377:10)
2023-09-13 11:17:11     at LoginSession.emit (node:events:513:28)
2023-09-13 11:17:11     at LoginSession._doPoll (/usr/src/csgofloat/node_modules/steam-session/dist/LoginSession.js:274:18)

After I replaced this.debug with console.log I received

2023-09-13 11:27:36 Error: FileNotFound
2023-09-13 11:27:36     at eresultError (/usr/src/csgofloat/node_modules/steam-session/dist/helpers.js:17:15)
2023-09-13 11:27:36     at AuthenticationClient.sendRequest (/usr/src/csgofloat/node_modules/steam-session/dist/AuthenticationClient.js:213:46)
2023-09-13 11:27:36     at async AuthenticationClient.pollLoginStatus (/usr/src/csgofloat/node_modules/steam-session/dist/AuthenticationClient.js:129:22)
2023-09-13 11:27:36     at async LoginSession._doPoll (/usr/src/csgofloat/node_modules/steam-session/dist/LoginSession.js:270:28) {
2023-09-13 11:27:36   eresult: 9
2023-09-13 11:27:36 }

https://steamerrors.com/9

I don't know what happened with csgofloat inspect or steam today, but maybe someone know something?

pcheloveker commented 12 months ago

I have the same problem. The error we should have seen 09-login.js:377:

steam-session error: FileNotFound

My log also contains:

error: Failed to fetch items_game.txt
error: Failed to fetch csgo_english.txt
error: Failed to fetch items_game_cdn.txt

Url: https://raw.githubusercontent.com/SteamDatabase/GameTracking-CSGO/master/csgo/scripts/items/items_game.txt 404 not found

SteamDatabase/GameTracking-CSGO -> SteamDatabase/GameTracking-CS2 and does not contain items_game.txt and items_game_cdn.txt

p.s.: Updating the steam-user module helped me solve the login problem

npm i steam-user
aavvaavvaa commented 12 months ago

@vladdnepr You have to update node steam-user dependency of your project

aavvaavvaa commented 12 months ago

Open terminal go to your project folder and type npm update

FXXDEV commented 11 months ago

Im with this problem and have update the project folder/steam-user as @aavvaavvaa told about above

 message=AccountLoginDeniedThrottle, stack=Error: AccountLoginDeniedThrottle
    at SteamUser._handleLogOnResponse 

node_modules\steam-user\components\09-logon.js:400:10, eresult=87

FXXDEV commented 11 months ago

Im stuck with the problem

Someone can help me?

Update does not work for me

vladdnepr commented 11 months ago

I use proxies. Are you?

aavvaavvaa commented 11 months ago

@FXXDEV It's not a steam-user library problem, it is an account/proxy problem, valve's system thinks that you are trying to break into account https://steamerrors.com/87

s1ssl0 commented 11 months ago

Im stuck with the problem

Someone can help me?

Update does not work for me

You'll have to deactivate steam guard in the steam accounts settings. I've done it manually because i dont have many bots, but if will write a script share it.

CAKyPA commented 10 months ago

How to First Login a Bot Note: If the bot has never logged into the steam client before and doesn't have Mobile 2FA enabled (fresh account), you can just input the username and password and it should successfully log in without email 2FA

Not related to the issue, but is steam requiring 2FA codes for fresh accounts now?

Edit: 2FA still not required for fresh accounts, but it's odd that my all old fresh accounts asking 2FA now. Edit 2: My new fresh accounts asking 2FA after running 12+ hours.

Step7750 commented 6 months ago

This is related to failed logins, make sure you're on the latest release.