SSLError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Issue
I ran encoding = tiktoken.get_encoding("cl100k_base") and encountered the following error:
SSLError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /encodings/cl100k_base.tiktoken (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
Cause & Solution
Our hypothesis is that we are not allowed to making a request to a host outside of the kubeflow VPC.
Q1: Would you say this is the primary cause?
If the answer to Q1 is yes:
Q2: Does tiktoken allow us to read from a file system artifact instead of making a web call?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the tiktoken.get_encoding("cl100k_base") request in the reported Kubeflow VPC environment and verify whether access to openaipublic.blob.core.windows.net is blocked. Then inspect the encoding-loading entry point to determine whether a filesystem artifact is supported; done means answering both cause and local-loading questions with evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100