Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

[BUG] Authorisation Failed #2

Closed
FearlessENT opened this issue Jul 21, 2023 · 21 comments
Closed

[BUG] Authorisation Failed #2

FearlessENT opened this issue Jul 21, 2023 · 21 comments
Labels
bug Something isn't working

Comments

@FearlessENT
Copy link

Bug Report Form

Checklist

  • [x ] I am using the latest version of the code.
  • [x ] I am absolutely sure I read the README in its entirety.
  • [ x] I have made sure this is not a duplicate issue.
  • [ x] I have filled out this form correctly.

Describe the bug

Always fails authorisation even if login info correct

NoneType: None
2023-07-21 18:07:02.803 | DEBUG | main:task:571 - response: 400 - {"reason": "INCORRECT_USERNAME_PASSWORD", "code": 400, "explanation": "incorrect username or password"}

@FearlessENT FearlessENT added the bug Something isn't working label Jul 21, 2023
@That-SkyKid
Copy link

Same, As it was like the same bug from the last 2022 version.

@WorldObservationLog
Copy link
Owner

Well I have no idea how to fix it. It occurs randomly in the same environment and it's hard to debug.
Actually the solve method now using was found by trying my luck so :)

@That-SkyKid
Copy link

Well I have no idea how to fix it. It occurs randomly in the same environment and it's hard to debug.
Actually the solve method now using was found by trying my luck so :)

Was randomly? How random? Because everytine I trying, same error? Maybe the new API or website?

@WorldObservationLog
Copy link
Owner

Well I have no idea how to fix it. It occurs randomly in the same environment and it's hard to debug.
Actually the solve method now using was found by trying my luck so :)

Was randomly? How random? Because everytine I trying, same error? Maybe the new API or website?

I load 71 accounts and about 2/7 accounts will occur the problem. But the failed accounts are different everytime.

@WorldObservationLog
Copy link
Owner

Same, As it was like the same bug from the last 2022 version.

Yes, this also happened in the 2022 version.
rdeepak2002#392

@That-SkyKid
Copy link

28.57 % will cause the problem. Damn. Recommend what automation tool for creating reddit accounts? At least there's a temporary solution.

@That-SkyKid
Copy link

28.57 % will cause the problem. Damn. Recommend what automation tool for creating reddit accounts? At least there's a temporary solution.

Or, repeat the login process by having duplicating the worker's json file like 100 times to login a single account?

@WorldObservationLog
Copy link
Owner

28.57 % will cause the problem. Damn. Recommend what automation tool for creating reddit accounts? At least there's a temporary solution.

I bought some account from accsmarket and hstock :) As far as I know there isn't an convient way to register reddit account automatically.

@smallest-cock
Copy link

smallest-cock commented Jul 21, 2023

I bought some account from accsmarket and hstock :) As far as I know there isn't an convient way to register reddit account automatically.

https://github.com/michaelshumshum/r-placer
the account_maker.py on that repo works fine if you set up gspread.. The only problem I had is the generated passwords will sometimes contain backslashes or commas which will fuck up the json parser in this bot

@WorldObservationLog
Copy link
Owner

I bought some account from accsmarket and hstock :) As far as I know there isn't an convient way to register reddit account automatically.

https://github.com/michaelshumshum/r-placer the account_maker.py on that repo works fine if you set up gspread.. The only problem I had is the generated passwords will sometimes contain backslashes or commas which will fuck up the json parser in this bot

util.py line 14:

-    return ''.join(random.choice(chars['all']) for i in range(length))
+    return ''.join(random.choice(chars["letters"] + chars["numbers"]) for i in range(length))

@ahmadlgohary
Copy link

https://github.com/michaelshumshum/r-placer
the account_maker.py on that repo works fine if you set up gspread.. The only problem I had is the generated passwords will sometimes contain backslashes or commas which will fuck up the json parser in this bot

or you can just set line 33 to
password = 'dajhbdjabdj'
and have all the same passwords

@WorldObservationLog
Copy link
Owner

WorldObservationLog commented Jul 21, 2023

Add retry for login stage. If the "Authorization failed! trying again in 10 seconds..." warning appears many times for a long time, please open a new Issue.

@ahmadlgohary
Copy link

I think its a problem with the login function

@WorldObservationLog
Copy link
Owner

I think its a problem with the login function

Yes it absolutely occurs in the login function(or reddit server?) but I'm not sure what causes this.
Anyway I added retrying to fix this bug and it seems working. In my test all the failed accounts can be used after one time retrying.

@ahmadlgohary
Copy link

I added the line and still got the same problem

@WorldObservationLog
Copy link
Owner

I added the line and still got the same problem

Do you use the latest version? If the problem happens again, please open a new Issue.

@ahmadlgohary
Copy link

of python? yes i got 3.10.4

@WorldObservationLog
Copy link
Owner

of python? yes i got 3.10.4

this program, commit 49bcc3d.

@ahmadlgohary
Copy link

still doesnt work

@WorldObservationLog
Copy link
Owner

still doesnt work

Open a new Issue plz

@ahmadlgohary
Copy link

I bought some account from accsmarket and hstock :) As far as I know there isn't an convient way to register reddit account automatically.

https://github.com/michaelshumshum/r-placer the account_maker.py on that repo works fine if you set up gspread.. The only problem I had is the generated passwords will sometimes contain backslashes or commas which will fuck up the json parser in this bot

did you get it to work?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants