![]() What was the source of the massive disruption impacting some of the platform's biggest producers? An expired security certificate. By Tuesday morning, the issue was resolved. I tried reinstalling python and all the libraries again just make sure the problem wasn't at my end and I also followed the urllib3 docs for installing the certificates from certifi and urllib3 as suggested when I keep ssl_verify=False.Īny help would be much appreciated, thanks a lot in advance.On Monday night, some Spotify users went to download their favorite podcasts and were met with an error. certificate verify failed: certificate has expired (_ssl.c:1129) Return self._call_api(resource_path, method,įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\api_client.py", line 171, in _call_apiįile "d:\MAIN_ENV\lib\site-packages\influxdb_client\api_client.py", line 386, in requestįile "d:\MAIN_ENV\lib\site-packages\influxdb_client\rest.py", line 302, in POSTįile "d:\MAIN_ENV\lib\site-packages\influxdb_client\rest.py", line 238, in request (data) = self.post_query_with_http_info(**kwargs) # noqa: E501įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\service\query_service.py", line 340, in post_query_with_http_infoįile "d:\MAIN_ENV\lib\site-packages\influxdb_client\api_client.py", line 341, in call_api Response = self._query_api.post_query(org=org, query=self._create_query(query, fault_dialect, params),įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\service\query_service.py", line 260, in post_query _generator = self.query_data_frame_stream(query, org=org, data_frame_index=data_frame_index, params=params)įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\client\query_api.py", line 172, in query_data_frame_stream : certificate verify failed: certificate has expired (_ssl.c:1129)įile "d:\backend-dev-plaid\test_app_5.py", line 26, in įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\client\query_api.py", line 146, in query_data_frame ![]() Raise six.reraise(type(error), error, _stacktrace)įile "d:\MAIN_ENV\lib\site-packages\urllib3\packages\six.py", line 769, in reraise Response = conn.urlopen(method, u.request_uri, **kw)įile "d:\MAIN_ENV\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopenįile "d:\MAIN_ENV\lib\site-packages\urllib3\util\retry.py", line 507, in increment Return self.urlopen(method, url, **extra_kw)įile "d:\MAIN_ENV\lib\site-packages\urllib3\poolmanager.py", line 375, in urlopen Ssl.SSLCertVerificationError: certificate verify failed: certificate has expired (_ssl.c:1129)ĭuring handling of the above exception, another exception occurred:įile "d:\MAIN_ENV\lib\site-packages\influxdb_client\rest.py", line 181, in requestįile "d:\MAIN_ENV\lib\site-packages\urllib3\request.py", line 78, in requestįile "d:\MAIN_ENV\lib\site-packages\urllib3\request.py", line 170, in request_encode_body ![]() Return ssl_context.wrap_socket(sock, server_hostname=server_hostname)įile "C:\Users\khans\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socketįile "C:\Users\khans\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _createįile "C:\Users\khans\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake result table _time _start _stop _measurement source symbol priceĠ _result 0 00:00:00 00:00 00:00:00 00:00 00:00:00 00:00 public_instruments_data YAHOO-FINANCE TSLA 670.969971Īctual behavior: Traceback (most recent call last):įile "d:\MAIN_ENV\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopenįile "d:\MAIN_ENV\lib\site-packages\urllib3\connectionpool.py", line 382, in _make_requestįile "d:\MAIN_ENV\lib\site-packages\urllib3\connectionpool.py", line 1010, in _validate_connįile "d:\MAIN_ENV\lib\site-packages\urllib3\connection.py", line 411, in connectįile "d:\MAIN_ENV\lib\site-packages\urllib3\util\ssl_.py", line 449, in ssl_wrap_socketįile "d:\MAIN_ENV\lib\site-packages\urllib3\util\ssl_.py", line 493, in _ssl_wrap_socket_impl I expect it to give me a dataframe like it always does and as you can see when I keep the ssl_verify=False it works. I have a windows 10 machine, and I am not sure what the problem is, I was able to run everything until a few hours back and now I keep running into SSL certificate Expired error for some reason.įrom influxdb_client import InfluxDBClient
0 Comments
Leave a Reply. |