I am using zyte api in one of my scrappy project. It works fine but when I deploy the script on the server it give following error.
[zyte_api.aio.retry] DEBUG: Retrying zyte_api.aio.client.AsyncClient.request_raw.<locals>.request in 6.396944316982422 seconds as it raised ClientConnectorCertificateError: Cannot connect to host api.zyte.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')].
I am using zyte api in one of my scrappy project. It works fine but when I deploy the script on the server it give following error.
[zyte_api.aio.retry] DEBUG: Retrying zyte_api.aio.client.AsyncClient.request_raw.<locals>.request in 6.396944316982422 seconds as it raised ClientConnectorCertificateError: Cannot connect to host api.zyte.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')].
2 Votes
0 Comments
Login to post a comment