Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.


See original GitHub issue

It worked flawlessly until Oct. 6, but suddenly collapsed with the following error {"errors":[{"message":"Something went wrong during authentication.","locations":[{"line":2,"column":3}],"path":["loginUser"],"extensions":{"errorCode":"LOGIN_RECAPTCHA_FAIL","statusCode":401}}],"data":{"loginUser":null}}

I’m using the latest master, please help

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:30 (4 by maintainers)

github_iconTop GitHub Comments

JohnBakerycommented, Oct 22, 2020

Since sessions seem to stay alive forever, maybe we can take a valid logged in session, steal the cookies and dump them into Kijiji-Repost-Headless?

That is a good idea. I just hardcoded session id cookie into the code and it’s posting ads with no issue. If anyone wants to do the same thing, here is what I did.

  1. Add a new line after line #98 and type “”"
  2. Add a new line after line #118 and type “”"
  3. After line #119 add the following code

cookie_dict = {'ssid': 'REPLACE_WITH_YOUR_SESSION_ID'} requests.utils.add_dict_to_cookiejar(self.session.cookies,cookie_dict)

To get your session id.

  1. Go to
  2. Login into your account if you are not logged in.
  3. Press F12
  4. In FireFox: Go to Storage. In Chrome: Go to Application.
  5. Open up Cookies, select, look for a cookie “ssid”, double click on the value field and copy paste it into the code where it says REPLACE_WITH_YOUR_SESSION_ID.

Save, run it.

AlexZhouAAcommented, Oct 22, 2020

@JohnBakery, I have used the same scripts with the same images to post ads on for a half year. It’s not because of the image sizes for sure. Thank you so much for the helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

reCAPTCHA Help - Google Support
reCAPTCHA is a free service from Google that helps protect websites from spam and abuse. A “CAPTCHA” is a turing test to tell...
Read more >
I have problems with the reCAPTCHA from Google during login
If you are having difficulties with the reCAPTCHA, this guide provides solutions to the most common issues. Tip: If you have a Google...
Read more >
Failed reCAPTCHA check - Help & Support - Sparkol
Sometimes, you may see a "failed reCAPTCHA check" error message while trying to create or amend your account. This means the website believes...
Read more >
Troubleshooting | reCAPTCHA - Google Developers
If reCAPTCHA was working and you suddenly start getting "An internal error occurred", did you recently delete the Google account that you used...
Read more >
ReCaptcha Is Not Working - Humble Bundle Support
If you see the error again then please make sure that you first have Javascript enabled, and that your current browser does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found