-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working using proxy #29
Comments
@donghungx can you add some screenshots or a stack trace of the proxy issue you're facing? If it is necessary that we use this arg, we can probably find a workaround, but the proxies had been working for me as-is. |
Hi yes, this is the problem i captured. overall, the "useProxy" seen like connect very slow at the first time. It took like 2 minutes for the website show up. But if use args it was much faster. Tried to use this library https://github.com/gajus/puppeteer-proxy, it way faster too, but facing same problem I described above. Maybe footsites just changed recently? This file keep being downloaded I'm using paid proxy which is clean and fast. Thank you so much. |
Hi @donghungx, thanks for the update. I found some issues with |
I tried using the latest code on master for the proxy connection but I receive this error on foots, have not tested on other sites,
|
@authsoftware sounds like a proxy authentication issue, please see this issue. |
@authsoftware @donghungx @labboy0276 @cimthog I have just opened a PR that should hopefully fix the proxy issues. From my understanding of what's going on, it seems like the sites are blocking certain proxies, so this PR implements some proxy chaining. It's working for me, but I'd like others to verify the change before I merge it onto master. Thanks! |
For example using proxy like this in footsites.js
await useProxy(page, proxy);
The site is opening fine, but then it display a lightbox SOME THING HAVE BEEN WRONG, then I can't add to cart, and the browser keep download something from the footsite.
but if I modify like this in helpers/cluster.js, removed use useProxy
added args
--proxy-server=http://${PROXY_SERVER_IP}:${PROXY_SERVER_PORT}
Then everything go just fine, problem is if using like that I can't not set proxy for each task.
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered: