Python XMLRPC failed with Proxy

manas23

Junior Member
Joined
May 24, 2018
Messages
173
Reaction score
31
I am running 10 to 20 python bots on hetzner server. My bots running smooth without the proxies. However, when I add proxies it shows errno 11002 getaddrinfo failed when connecting to website.com/xmlrpc sometimes. I only use http proxies. How can I solve this issue?
 
"getaddrinfo" returns the IP address associated to a domain name, your error indicates that your app couldn't get any info from the DNS server.
Probably an issue with you proxies, did you try them?
 
Most likely an IP issue. You need to regularly check them in your script and handle any errors/rotate to a new working one.
 
It's better if you use some private proxies in your script to avoid such roadblock of limits. This is what we do for our scripts and it works smooth.
 
Back
Top