err: requests.exceptions.RetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/504 (Caused by ResponseError('too many 504 error responses',))
You set status_forcelist, but status kwarg is set to None as default (according to urllib3.util.retry.Retry docs), so retries on bad-statuses-reason will never be made.
Should we specify connect=retries or I have misunderstanding?
P.S. sorry for my english
Comment
I decided so but I'm not sure if it's right because get an error:
Add:
status=3,
method_whitelist=frozenset(['POST'])
err: requests.exceptions.RetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/504 (Caused by ResponseError('too many 504 error responses',))
Parent comment
You set status_forcelist, but status kwarg is set to None as default (according to urllib3.util.retry.Retry docs), so retries on bad-statuses-reason will never be made. Should we specify connect=retries or I have misunderstanding? P.S. sorry for my english
Replies
Did you ever sort this?