CA
afraid-scarlet
Long waiting time with proxy
Hello,
I'm using selenium + apify proxies.
general code idea:
In logs I can see
So it looks like it took almost 2 minutes to open this page.
Why could it be?
3 Replies
How long does it take without a proxy? Have you checked proxies from other countries?
Because one possible reason is that the site is waiting for some time to get the js scripts before it starts building the DOM tree. And if those scripts are blocked, then until that time expires, the DOM won't be built, which means the site won't return a response. This may well take a few minutes.
Here is an example of this behavior when running locally without a proxy

afraid-scarletOP•16mo ago
How long does it take without a proxy?<1s
Have you checked proxies from other countries?I only have access to free one so far it's facebook so I guess that's not geo problem