Closed lbbrhzn closed 4 years ago
The gw2pvo script currently fails due to a certificate expiration:
WARNING HTTPSConnectionPool(host='globalapi.sems.com.cn', port=443): Max retries exceeded with url: /api/v1/PowerStation/GetMonitorDetailByPowerstationId (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)'),))
As a temporary workaround, you can disable verification:
in gw_api.py: r = requests.post(self.base_url + url, verify=False, headers=headers, data=payload, timeout=10)
r = requests.post(self.base_url + url, verify=False, headers=headers, data=payload, timeout=10)
I already have created #42 for that.
great, i'll close this issue
The gw2pvo script currently fails due to a certificate expiration:
WARNING HTTPSConnectionPool(host='globalapi.sems.com.cn', port=443): Max retries exceeded with url: /api/v1/PowerStation/GetMonitorDetailByPowerstationId (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)'),))
As a temporary workaround, you can disable verification:
in gw_api.py:
r = requests.post(self.base_url + url, verify=False, headers=headers, data=payload, timeout=10)