steampy icon indicating copy to clipboard operation
steampy copied to clipboard

error in login function

Open DJTaDJuk opened this issue 1 year ago • 2 comments

File "F:\save\VSCODE\SteamPars1\notfarm\env\Lib\site-packages\steampy\client.py", line 46, in login LoginExecutor(username, password, self.steam_guard['shared_secret'], self._session).login() File "F:\save\VSCODE\SteamPars1\notfarm\env\Lib\site-packages\steampy\login.py", line 27, in login self.set_sessionid_cookies() File "F:\save\VSCODE\SteamPars1\notfarm\env\Lib\site-packages\steampy\login.py", line 38, in set_sessionid_cookies sessionid = self.session.cookies.get_dict()['sessionid'] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'sessionid'

python 3.12.3

DJTaDJuk avatar Jun 16 '24 11:06 DJTaDJuk

use logging with debug mode and check, where they send you this error. Its may be problem with your connection or credentials, or steam banned you (or dont send answer)

Aarab228 avatar Jun 18 '24 05:06 Aarab228

используйте логинг с режимом отладки и проверьте, куда они отправляют вам эту ошибку. Это может быть проблема с вашим подключением или учетными данными, или пара запретила вас (или не отправлять ответ)

I've been testing, and it feels like there's a deeper problem here. I tried to send a request to Steam Community through requests with cookies and with user-agent from my main browser, and got an unauthorized page. maybe steam has done something with security

wysloow avatar Nov 27 '24 16:11 wysloow