DoctorMcKay / node-steam-user

Allows interaction with the Steam network via the Steam client protocol
https://dev.doctormckay.com/forum/7-node-steam-user/
MIT License
892 stars 157 forks source link

Call to non-existing function this.debug after steam-session failure #456

Closed metzz1 closed 1 year ago

metzz1 commented 1 year ago

Seems like after todays update (12/09/2023) something broke on the package, seems to be related to Polling, havent really investigated as of now.

Heres the output of the error: this.debug is not a function

After commenting the debug function (which seems like it does not exist on file) we get: Error: FileNotFound

Best Regards,

endze1t commented 1 year ago

I'm experiencing the same issue. It appears to be related to the node-steam-session package, and it seems that Steam may have removed a previously used endpoint, PollAuthSessionStatus.

say1j commented 1 year ago

steam-session also down working login only from steamcommunity package, fix pls ASAP

web3yc commented 1 year ago

same issue,fix pls ASAP

sap2me commented 1 year ago

I'm experiencing the same issue. It appears to be related to the node-steam-session package, and it seems that Steam may have removed a previously used endpoint, PollAuthSessionStatus.

and this endpoint return eresult: 9 that meens "FileNotFound" regardless any params

Moder112 commented 1 year ago

It seems like the newest unaffected version is 4.27.1. Downgrading from 4.29.1 resolved the issues in my production environment at least on the surface level. Haven't tested whether everything works, but at least stuff like confirming and accepting trades seems to.

web3yc commented 1 year ago

It seems like the newest unaffected version is 4.27.1. Downgrading from 4.29.1 resolved the issues in my production environment at least on the surface level. Haven't tested whether everything works, but at least stuff like confirming and accepting trades seems to.

thank bro, I successfully logged in through downgrade and confirmed the offer

say1j commented 1 year ago

It seems to be working since the "steam-session" is not being used yet

easton36 commented 1 year ago

Can confirm, downgrade to 4.27.1 fixes the issue. Since the issue is rooted in steam-session, not sure why this.debug isn't defined in steam-user. Possibly another bug as well? Much harder to debug if you can't see the real error

hybran commented 1 year ago

Seems when you replace the this.debug with a console.log, I get "FileNotFound" error, but as mentioned above downgrading to 4.27.1 solves it!

DoctorMcKay commented 1 year ago

The call to this.debug is a separate issue. The login failure issue is here: https://github.com/DoctorMcKay/node-steam-session/issues/27

moobyes commented 1 year ago

The steam-session has updated!

DoctorMcKay commented 1 year ago

The wrong debug function call is fixed in steam-user 4.29.2, and the Steam login problem is fixed in steam-session 1.3.1.

thouravi commented 1 year ago

I am still getting the same error despite updating the package.

image

TypeError: this.debug is not a function
at LoginSession. (/home/ubuntu/scripts/appInfo/node_modules/steam-user/components/09-logon.js:366:10)
at LoginSession.emit (node:events:513:28)
at LoginSession._doPoll (/home/ubuntu/scripts/appInfo/node_modules/steam-session/dist/LoginSession.js:483:22)

I am also getting the exact same error when using 4.27.1 too. Can anyone help?