You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When attempting to upload a CSV dataset to the langsmith web ui using the provided functionality, the process fails with the error message "Couldn't upload dataset. TypeError: NetworkError when attempting to fetch resource". This error prevents the successful submission of the dataset, hindering progress on data analysis or processing tasks.
Steps Taken:
Ensured that the CSV file is correctly formatted and contains valid data.
Checked the network connectivity to ensure there are no issues with internet access.
Attempted to upload the dataset multiple times, but consistently encountered the same error.
Reviewed relevant documentation or support resources provided by the service, but did not find a solution to the issue.
Expected Outcome:
The dataset should be successfully uploaded to the server without encountering any errors, allowing for further data analysis or processing tasks to proceed.
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2384)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.smith.langchain.com', port=443): Max retries exceeded with url: /datasets/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2384)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\user\PycharmProjects\edm_categorization\main.py", line 32, in
dataset = client.upload_csv(
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\langsmith\client.py", line 881, in upload_csv
response = self.session.post(
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.smith.langchain.com', port=443): Max retries exceeded with url: /datasets/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2384)')))
Suggestion:
No response
The text was updated successfully, but these errors were encountered:
Description:
When attempting to upload a CSV dataset to the langsmith web ui using the provided functionality, the process fails with the error message "Couldn't upload dataset. TypeError: NetworkError when attempting to fetch resource". This error prevents the successful submission of the dataset, hindering progress on data analysis or processing tasks.
Steps Taken:
Expected Outcome:
The dataset should be successfully uploaded to the server without encountering any errors, allowing for further data analysis or processing tasks to proceed.
Additional Information:
Tried in Python following this guide as well https://docs.smith.langchain.com/evaluation/faq/datasets-client#create-dataset-from-csv with the following error trace:
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2384)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 877, in urlopen
return self.urlopen(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "c:\Users\smarotta\PycharmProjects\edm_categorization\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.smith.langchain.com', port=443): Max retries exceeded with url: /datasets/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2384)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\user\PycharmProjects\edm_categorization\main.py", line 32, in
dataset = client.upload_csv(
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\langsmith\client.py", line 881, in upload_csv
response = self.session.post(
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "c:\Users\user\PycharmProjects\edm_categorization\venv\lib\site-packages\requests\adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.smith.langchain.com', port=443): Max retries exceeded with url: /datasets/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2384)')))
Suggestion:
No response
The text was updated successfully, but these errors were encountered: