Login doesn't work after the steam chat update
See original GitHub issueSince chat got updated by steam, it gives an error on chat._login while trying to login with .login . Here is the error:
Traceback (most recent call last):
File "C:/Users/cagri/Desktop/py/trade.py", line 65, in <module>
steam_client.login(steamusername, steampassword, "Steamguard.txt")
File "C:\Users\cagri\Desktop\py\venv\lib\site-packages\steampy\client.py", line 44, in login
self.chat._login()
File "C:\Users\cagri\Desktop\py\venv\lib\site-packages\steampy\chat.py", line 38, in _login
self._chat_params["access_token"] = self._get_access_token()
File "C:\Users\cagri\Desktop\py\venv\lib\site-packages\steampy\chat.py", line 19, in _get_access_token
access_token = token_pattern.search(str(elems[0])).group(1)
IndexError: list index out of range
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
I can't sign in to the Steam Client - Steam Support
Log in to your Steam account to get help with your Steam games, contact Steam Support, request refunds, and more. Help is also...
Read more >10 Ways to Fix Friends Chat Not Working on Steam - Saint
Log out of your Steam account and close the desktop app for a few seconds. After around 5 to 10 seconds, re-access your...
Read more >Friends & Chat breaking my steam :: Help and Tips
Start Steam · Click on "Steam" in the top left, then "Settings" · In the "Account" tab click on "Change..." · In the...
Read more >steam log in looks different and not let me log in any idea why
Valve employee found a solution that works for me. Go to date & time in settings and synchronize your clock then try logging...
Read more >How To Fix Can't Sign In To Steam - YouTube
Do you need help with Steam ? In this video, we'll show the ... How To Fix Can't Sign In To Steam |...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any updates?
The cause of this issue is steam chat got updated and steampy relies on extracting an access token from html, which is then used to interact with the chat via Steam’s Web API. I tried changing it so it correctly extracts the token. However those Web API methods are undocumented and they may have stopped working properly or been changed along with the update. It’s also possible I just did something wrong. Either way, I think doing it the way other steam libraries do it would be a better solution, not relying on the Web API for chat.