2

Currently I built a script using seleniumbase. It works well, but due to the website policy, I had to use proxy. I purchased a premium proxy from oxylabs.io and generated this kind of endpoint:

customer-{username}:{password}@pr.oxylabs.io:7777

And use it in my project, but not working. So I tested with this script, but still can't access:

from seleniumbase import SB

with SB(test=True, uc=True, proxy="customer-{username}:{password}@pr.oxylabs.io:7777") as sb:
    sb.open("https://www.whatismyip.com/")
    sb.sleep(5)

This opens the browser but with an ERR_TUNNEL_CONNECTION_FAILED error: screenshot of the error in the browser

Please let me know what's wrong in my proxy configuration.

2 Answers 2

1

IP checking websites like https://www.whatismyip.com are blocked by oxylabs default.

Use https://ip.oxylabs.io instead.

Sign up to request clarification or add additional context in comments.

Comments

0

Change your proxy format as

http://user:password@ip:port or username:password@ip:port

Or test if your proxy works well using this tool

https://hide.mn/en/proxy-checker/

1 Comment

Thank you. That might be the proxy configuration issue. I purchased another one from other proxy provider. And it's working well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.