Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error steam.login() #241

Closed
Onione-Tamiko opened this issue Jan 21, 2023 · 13 comments
Closed

Error steam.login() #241

Onione-Tamiko opened this issue Jan 21, 2023 · 13 comments

Comments

@Onione-Tamiko
Copy link

изображение
изображение

Error after in the line :
steam_client.login(username, password, guard)
The error appeared this morning!

Is there a solution?

@spchel
Copy link

spchel commented Jan 21, 2023

i have similar problem

@Osc44r
Copy link

Osc44r commented Jan 21, 2023

I think there is problem with this request at login.py and it needs to be changed

image

@EmanueleSarte
Copy link
Contributor

Here

key_response = self.session.post(SteamUrl.STORE_URL + '/login/getrsakey/',

and here:
return self.session.post(SteamUrl.STORE_URL + '/login/dologin', data=request_data)

SteamUrl.STORE_URL needs to be changed in SteamUrl.COMMUNITY_URL

@Osc44r
Copy link

Osc44r commented Jan 21, 2023

Great , it works :). You should pull request this (if you have not)

@va1ce
Copy link

va1ce commented Jan 21, 2023

Can you please tell me if I can use the account proxies in this way?
image
image

@Dandelion101
Copy link

va1ce,
image

@stanislavlysenko0912
Copy link

@EmanueleSarte helped to make a request.
Everything works on a local machine, an error falls inside _fetch_rsa_params, 403 Access Denied from Steam on a remote server.
Someone came across?

jiajiaxd added a commit to jiajiaxd/steampy that referenced this issue Jan 23, 2023
@wizzzz9
Copy link

wizzzz9 commented Jan 25, 2023

@va1ce , u can use my rework with proxy https://github.com/wizzzz9/steampy_rework

@MaxsonClackson
Copy link

Here

key_response = self.session.post(SteamUrl.STORE_URL + '/login/getrsakey/',

and here:

return self.session.post(SteamUrl.STORE_URL + '/login/dologin', data=request_data)

SteamUrl.STORE_URL needs to be changed in SteamUrl.COMMUNITY_URL

@EmanueleSarte After the error appeared and i understand that '/login/getrsakey/' was not working, I went to look at all requests to Steam in the DevTools Network browser when logging in. I saw that such paths as '/login/getrsakey/' and '/login/dologin' disappeared from requests. When you request them, they redirect to the main page. There is also a new authorization method on the site. I thought that the old method no longer works and began to look and write a new authorization scheme according to the new scheme of the site... How did you know that the old method works? Why did you know that changing the domain would fix the error?

@EmanueleSarte
Copy link
Contributor

EmanueleSarte commented Jan 29, 2023

If you search "getrsakey steam" on Google there are some snippets of code that use steamcommunity as url. I tried it and it worked.

@bukson
Copy link
Owner

bukson commented Jan 30, 2023

So is this really simple change of url to fix login problem or the new implemenation needs to be done

@Onione-Tamiko
Copy link
Author

@bukson Yes, but after this change, error 429 appeared.
A few days have passed and she still hasn't disappeared (#246)

@jiajiaxd jiajiaxd mentioned this issue Jan 30, 2023
@somespecialone
Copy link

somespecialone commented Jan 31, 2023

@Onione-Tamiko

error 429 appeared. A few days have passed and she still hasn't disappeared

I fell into this problem sometimes (even before url changed) after few unsuccessful tries. It like steam going crazy time after time.

sens0rer added a commit to sens0rer/steam-trade that referenced this issue Feb 4, 2023
@bukson bukson closed this as completed in 549e280 Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests