Max retries exceeded with url REST Python -
i performing rest post request using python code. trying communicate external server. performing several rest calls specific 1 fails. specific request following:
r = requests.post(url, json=item[1], headers=headers)
i getting following error:
requests.exceptions.connectionerror: httpsconnectionpool(host='....euapi', port= ...): max retries exceeded url: ...(caused newconnectionerror ('<requests.packages.urllib3.connection.verifiedhttpsconnection object at: ... failed establish new connection: [errno 11004] getaddrinfo failed',))
it seems server blocking connection me because of number of connction it. however, perform 1 call. make sense? idea of how can overcome issue?
it seems 'url' value not correct (address cannot resolved). please check carefully
similar question here
Comments
Post a Comment