Hi,
I am trying to retrieve a speckle stream through the usage of
client.stream.get(id=stream_id)
The client was retrieved and authenticated.
The error I am getting:
Failed to execute the GraphQL stream request. Inner exception: HTTPSConnectionPool(host=‘speckle.foo.com’, port=443): Max retries exceeded with url: /graphql (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)’)))
Usually, you can bypass the certificate verification by adding a ‘verify = False’ argument to the function, but unfortunately speckle’s ‘get’ function does not provide that option. But then again, I would assume that a speckle url would have its certificate verified, unless there’s a problem from my side.
Hi @shuzmm, after an eternal battle with the IT department regarding company firewall policies, I managed to turn it off but it turned out that it was not the firewall. Port 443 is healthy and OK, there seems to be something else going on here.
Both the StreamWrapper and the SpeckleClient have an optional boolean flag argument use_ssl that can be set to False to enable using plain http://foo.bar server urls.
Does this help with your issue?