-
Hello, I'm trying to use a socks5 proxy with Driver, but I stumble across "ERR_NO_SUPPORTED_PROXIES" error.
I've worked with normal proxies so far and they work fine, but I was trying to get into socks5 ones. What am I doing wrong ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If you're trying to do SOCKS5 proxy with authentication, there's info on that here: #931 (comment) The closest solution I've found is https://stackoverflow.com/a/55395796 , which uses https://github.com/qwj/python-proxy . There's no direct way to do it, as seen from https://stackoverflow.com/questions/43312573/how-to-set-socks5-proxy-with-auth-for-chrome-in-selenium-python If you're trying to do SOCKS5 proxy without authentication, then it works if you remove setting a Also, (in case it's the actual issue), make sure you're using valid proxy settings. If you use an invalid proxy server (or set proxy settings incorrectly), then you'll run into issues. Your SOCKS5 proxy settings should match this format: "socks5://IP_ADDRESS:PORT" |
Beta Was this translation helpful? Give feedback.
If you're trying to do SOCKS5 proxy with authentication, there's info on that here: #931 (comment)
The closest solution I've found is https://stackoverflow.com/a/55395796 , which uses https://github.com/qwj/python-proxy . There's no direct way to do it, as seen from https://stackoverflow.com/questions/43312573/how-to-set-socks5-proxy-with-auth-for-chrome-in-selenium-python
If you're trying to do SOCKS5 proxy without authentication, then it works if you remove setting a
user_data_dir
. If you must use auser_data_dir
in UC Mode with special Proxy settings, then make sure that every Chrome instance that uses thatuser_data_dir
has also used it with UC Mode with the exact same proxy settings.…