· 6 years ago · Feb 06, 2019, 03:58 PM
1response = session.request(rest_body["method"], url, data=data,
2 headers=headers, proxies=PROXIES,
3 cookies=req_cookies, verify=False)
4
5HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /oauth/token
6 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
7 at 0x7f174234e5f8>: Failed to establish a new connection: [Errno 111]
8 Connection refused',))