-
Notifications
You must be signed in to change notification settings - Fork 32
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
Version of urllib3 and HTTPSConnection error #10
Comments
Hello, I noticed you're using LLama instead of our original GPT-3/4 in the repo. |
Thank you for your reply.
|
For your information, My current |
Thank you very much. |
I have the same problem here.
TimeoutError Traceback (most recent call last) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/util/connection.py:95, in create_connection(address, timeout, source_address, socket_options) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/util/connection.py:85, in create_connection(address, timeout, source_address, socket_options) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: NewConnectionError Traceback (most recent call last) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py:404, in HTTPConnectionPool._make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py:1058, in HTTPSConnectionPool._validate_conn(self, conn) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/connection.py:363, in HTTPSConnection.connect(self) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/connection.py:186, in HTTPConnection._new_conn(self) NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f64568f1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: MaxRetryError Traceback (most recent call last) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py:799, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/urllib3/util/retry.py:592, in Retry.increment(self, method, url, response, error, _pool, _stacktrace) MaxRetryError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /encodings/cl100k_base.tiktoken (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f64568f1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: ConnectionError Traceback (most recent call last) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/langchain/vectorstores/chroma.py:462, in Chroma.from_documents(cls, documents, embedding, ids, collection_name, persist_directory, client_settings, client, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/langchain/vectorstores/chroma.py:430, in Chroma.from_texts(cls, texts, embedding, metadatas, ids, collection_name, persist_directory, client_settings, client, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/langchain/vectorstores/chroma.py:149, in Chroma.add_texts(self, texts, metadatas, ids, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/langchain/embeddings/openai.py:452, in OpenAIEmbeddings.embed_documents(self, texts, chunk_size) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/langchain/embeddings/openai.py:280, in OpenAIEmbeddings._get_len_safe_embeddings(self, texts, engine, chunk_size) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken/model.py:75, in encoding_for_model(model_name) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken/registry.py:63, in get_encoding(encoding_name) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken_ext/openai_public.py:64, in cl100k_base() File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken/load.py:116, in load_tiktoken_bpe(tiktoken_bpe_file) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken/load.py:48, in read_file_cached(blobpath) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/tiktoken/load.py:24, in read_file(blobpath) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/requests/api.py:73, in get(url, params, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/requests/api.py:59, in request(method, url, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/requests/sessions.py:589, in Session.request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/requests/sessions.py:703, in Session.send(self, request, **kwargs) File /opt/saturncloud/envs/saturn/lib/python3.9/site-packages/requests/adapters.py:519, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies) ConnectionError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /encodings/cl100k_base.tiktoken (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f64568f1fd0>: Failed to establish a new connection: [Errno 110] Connection timed out')) |
@entzyeung Hi! The same problem here with SaturnCloud. Have you found a solution? |
When I save the result of video, I have a problem:
![image](https://private-user-images.githubusercontent.com/35285052/262327831-bb7e9f0c-2d0d-4e33-9e33-b468854b3b99.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2NDE1NzgsIm5iZiI6MTcyMTY0MTI3OCwicGF0aCI6Ii8zNTI4NTA1Mi8yNjIzMjc4MzEtYmI3ZTlmMGMtMmQwZC00ZTMzLTllMzMtYjQ2ODg1NGIzYjk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDA5NDExOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzMzk0Mzg5YTk5MTk2OTVlN2Q4Y2I5ZmU0MmJkZjZhMDBiNzVkNjJlNjlkMTkzMzI1YjM4N2QzZjQ5MmYzMWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0hPYBomI1lJQVfv6dcZizxbZpMpRoUpUX37yfFPgP44)
Example:
Error:
MY Version:
I guess it may be a problem with the urllib3 version, my current version is urllib3==2.0.4,
I would like to ask your the version of urllib3 , python, moviepy and tiktoken.
Thank you.
The text was updated successfully, but these errors were encountered: