goinsta
goinsta copied to clipboard
Couldn't able to pass challenge in a headless browser
Hey, thanks for maintaining this project! I was trying to figure it out login process using this library. I correctly implemented the login logic: when I run my function, a headless browser appears, and it sends a verification code to my mail address. When I type in the verification code and submit it, after a while I get the following error:
Request Status Code 400: fail, challenge_required
Encountered a captcha challenge, goinsta will attempt to open the challenge in a headless chromium browser, and take a screenshot. Please report the details in a github issue.
Found button on challenge page: Submit
Saved a screenshot of the challenge 'https://i.instagram.com/challenge/REDACTED/' to challenge-screenshot-1663437586.png, please report it in a github issue so the challenge can be solved automatiaclly.
2022/09/17 21:04:47 login: failed to process challenge automatically with: failed to solve challenge automatically
Any ideas on this?
Can you open up dev tools and check the request that submits the code, does it return without error & status code 200?
Actually, it gets stuck in submitting state:

Requests:

As in, it's never actually sending the code ?
It seems like, yes, probably. What should I do in this case?
For now login on a phone, solve the challenge there, and then try to login again on goinsta
Hi ! I got the same issue and can't resolve the challenge , i have account opened in a private window on my laptop and even get a login attempt message and i approve by (This was me ) but its not saved in Login Activity and same problem happens everytime i try to login use Insta.LoginI() i don't even have the chrome staying open , it closes immediately after being opened. and sometimes in a loop ( opening many chrome instances.)
Ok in my case it seems to be something with Proxy .. chromedp sends back PROXY NOT SUPPORTED but its weird as it was working!
Also i get context canceled shortly after chromedp.run even though context timeout seems to be 300 secs
Actually, it gets stuck in submitting state:
Requests:
same problem, any solution?