Skip to content

Instantly share code, notes, and snippets.

@clouedoc
Created April 21, 2021 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clouedoc/2629906b8870deddbbbffcec9cb6aa1d to your computer and use it in GitHub Desktop.
Save clouedoc/2629906b8870deddbbbffcec9cb6aa1d to your computer and use it in GitHub Desktop.
Unofficial documentation of Multilogin + puppeteer

clouedoc's Multilogin documentation

net::ERR_INVALID_AUTH_CREDENTIALS

When using a proxy with authentication, this error does come up.

The solution is to:

  1. add delay
  2. make the page go to a dummy URL first (httpbin.org/ip) and handle the ERR_INVALID_AUTH_CREDENTIALS error by throwing a warning
  3. make the page go to the dummy URL again (httpbin.org/ip). It should not throw.
  4. use the page as usual

Evasions

  • The sourceurl evasion is not needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment