towhee
towhee copied to clipboard
[Bug]: SSLError: HTTPSConnectionPool(host='towhee.io', port=443): Max retries exceeded with url: /api/v1/repos/towhee/image-decode (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
On a databricks notebook, When I try to run
towhee.glob(pattern).exception_safe().image_decode().image_embedding().timm(model_name="resnet50")
.drop_empty()
.tensor_normalize()
.to_list()
, it shows error: SSLError: HTTPSConnectionPool(host='towhee.io', port=443): Max retries exceeded with url: /api/v1/repos/towhee/image-decode (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
Expected Behavior
When I run the command locally, it can successfully generate the embedding vectors for the images in pattern
Steps To Reproduce
1-2. In databricks notebook, version 10.4 LTS (includes Apache Spark 3.2.1, Scala 2.12), python version 3.8 3. save png images in the "pattern", want to generate embeddings for all the images in the file, so run
towhee.glob(pattern).exception_safe().image_decode().image_embedding().timm(model_name="resnet50")
.drop_empty()
.tensor_normalize()
.to_list()
- it goes to the SSL error
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93): v0.7.2
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory:
- GPU:
- Others:
Anything else?
No response
@reiase
Could you help to have a look at this issue?
Thanks.
I thought it might not be a bug, I had the same problem, but when I turned the system proxy off it worked fine.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen
.