UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Infinite "Auth 404'ed" when trying to start scraper after latest commits - macOS 11

Open rsmithjfy13 opened this issue 5 years ago • 13 comments

I've double and triple checked auth info and even tried generating new sessions and updating auth.json to no avail. Everything was working fine until I pulled the most recent commits, starting from commit https://github.com/DIGITALCRIMINAL/OnlyFans/commit/5be27adf7f8b8f93fe9c59bc3335ead023f3026e on 6/7/21.

Sample terminal output:

Auth (V1) Attempt 1/10 Auth 404'ed Auth (V1) Attempt 2/10 Auth 404'ed Auth (V1) Attempt 3/10 Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7fcda9f12490> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7fcda9ea05b0> Auth 404'ed Auth (V1) Attempt 4/10 Auth 404'ed Auth (V1) Attempt 5/10 Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7fcd9801b280> Auth 404'ed

rsmithjfy13 avatar Jun 10 '21 15:06 rsmithjfy13

Are you using proxy?

UltimaHoarder avatar Jun 10 '21 15:06 UltimaHoarder

Are you using proxy?

I'm using a VPN, but I'm also seeing the same issue when I disconnect from the VPN.

rsmithjfy13 avatar Jun 10 '21 16:06 rsmithjfy13

I'n seeing this right now also on macOS 11.

dominikfigueroa avatar Jun 10 '21 18:06 dominikfigueroa

Update: Commit 1b147406de044e32a30713fc3dd182dddfb963e1 works for me.

dominikfigueroa avatar Jun 10 '21 18:06 dominikfigueroa

Update: Commit 1b147406de044e32a30713fc3dd182dddfb963e1 works for me.

Yeah, that's the last commit that worked for me too. Wonder if the issue with the later commits could be related to asyncio not playing nicely on macOS?

rsmithjfy13 avatar Jun 10 '21 19:06 rsmithjfy13

I made changes to network requests, maybe it will work.

UltimaHoarder avatar Jun 13 '21 02:06 UltimaHoarder

I made changes to network requests, maybe it will work.

I'm still seeing the same behavior after pulling the latest commit unfortunately.

rsmithjfy13 avatar Jun 13 '21 04:06 rsmithjfy13

Do you have 2FA enabled?

UltimaHoarder avatar Jun 13 '21 04:06 UltimaHoarder

Do you have 2FA enabled?

I do not have 2FA enabled, no.

rsmithjfy13 avatar Jun 13 '21 11:06 rsmithjfy13

I am also having the issue. In case this is useful:

`Traceback (most recent call last): File "/Users/username/onlyfans/start_ofd.py", line 45, in main api = await main_datascraper.start_datascraper( File "/Users/username/onlyfans/datascraper/main_datascraper.py", line 80, in start_datascraper setup, subscriptions = await module.account_setup( File "/Users/username/onlyfans/modules/onlyfans.py", line 119, in account_setup cookies = oflogin.login(auth, domain, auth.session_manager.proxies[0]) IndexError: list index out of range

^CTraceback (most recent call last): File "/Users/username/onlyfans/start_ofd.py", line 45, in main api = await main_datascraper.start_datascraper( File "/Users/username/onlyfans/datascraper/main_datascraper.py", line 80, in start_datascraper setup, subscriptions = await module.account_setup( File "/Users/username/onlyfans/modules/onlyfans.py", line 119, in account_setup cookies = oflogin.login(auth, domain, auth.session_manager.proxies[0]) IndexError: list index out of range`

No proxies/vpns, no 2FA.

aloysiusantioch avatar Jun 16 '21 05:06 aloysiusantioch

I am also having the issue. In case this is useful:

`Traceback (most recent call last): File "/Users/username/onlyfans/start_ofd.py", line 45, in main api = await main_datascraper.start_datascraper( File "/Users/username/onlyfans/datascraper/main_datascraper.py", line 80, in start_datascraper setup, subscriptions = await module.account_setup( File "/Users/username/onlyfans/modules/onlyfans.py", line 119, in account_setup cookies = oflogin.login(auth, domain, auth.session_manager.proxies[0]) IndexError: list index out of range

^CTraceback (most recent call last): File "/Users/username/onlyfans/start_ofd.py", line 45, in main api = await main_datascraper.start_datascraper( File "/Users/username/onlyfans/datascraper/main_datascraper.py", line 80, in start_datascraper setup, subscriptions = await module.account_setup( File "/Users/username/onlyfans/modules/onlyfans.py", line 119, in account_setup cookies = oflogin.login(auth, domain, auth.session_manager.proxies[0]) IndexError: list index out of range`

No proxies/vpns, no 2FA.

It's a different thing, but I've fixed it in latest commit.

UltimaHoarder avatar Jun 16 '21 05:06 UltimaHoarder

The 404 issue comes up if your python install doesn't have certificates installed.

Run the following then try again and it should work:

sudo /Applications/Python\ 3.9/Install\ Certificates.command

dralfs513 avatar Jun 16 '21 09:06 dralfs513

The 404 issue comes up if your python install doesn't have certificates installed.

Run the following then try again and it should work:

sudo /Applications/Python\ 3.9/Install\ Certificates.command

This has solved the issue for me, thank you!

rsmithjfy13 avatar Jun 16 '21 10:06 rsmithjfy13