-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClientConnectorCertificateError on GET request to any blob #296
Comments
Do you succeed with other calls, such as connecting and listing a bucket? To me, an SSL error suggests that you may be behind some complex firewall or proxy. It seems unlikely to me that GCS requires some special weak cypher to be compiled into python - other people are connecting just fine. |
Hi @martindurant, | Do you succeed with other calls, such as connecting and listing a bucket? I used | Do google's own python APIs work for you? As we can't read spreadsheets within pandas directly due to this issue, we successfully read them manually by Google official |
Perhaps with a combination of pdb and logging you can figure out exactly what call the google API is making, and then, why the gcsfs via aiohttp is different. This error is coming from pretty deep within python. Note that I don't see cryptography or pyopenssl (or any ssl) in your installed packages. Please also check any environment variables or configuration you might have relating to certificate trust stores. |
(ping) |
Hi @martindurant
|
To have the distinction would mean writing two separate implementation with double the code. Even if you don't use asyncio directly, you might still appreciate the concurrent bulk operations it provides you. |
aio-libs/aiohttp#5375 (comment) solved the problem for me. |
@lorabit110 , do you know which version that is released in? |
What happened:
We are trying to read file(s) from Google storage bucket, but it is not possible
What you expected to happen:
We can run any
gcsfs
API commandMinimal Complete Verifiable Example:
Please, note that this is a minimal example. For instance, if we run any other command (e.g. the code for opening a file), it will cause the same error.
This code will cause an exception. Error traceback:
Anything else we need to know?:
It looks like this issue can be caused by this. But recompiling Python is not a handy solution. There is should be simplier solution or fix
This issue makes
pandas.read_excel
andpandas.read_csv
command failed, what makes this issue more painfulEnvironment:
gcsfs
version is 0.7.1pip freeze:
The text was updated successfully, but these errors were encountered: