Skip to content
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

Traceback Error #433

Closed
calseus opened this issue Apr 7, 2023 · 7 comments
Closed

Traceback Error #433

calseus opened this issue Apr 7, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@calseus
Copy link

calseus commented Apr 7, 2023

Traceback (most recent call last):
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 174, in new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self.make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self.validate_conn(conn)
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 1042, in validate_conn
conn.connect()
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 363, in connect
self.sock = conn = self.new_conn()
^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000001BE5C594890>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\erdi_\Desktop\autochatgpt\Auto-GPT\scripts\main.py", line 286, in
memory = PineconeMemory()
^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\Desktop\autochatgpt\Auto-GPT\scripts\config.py", line 17, in call
cls.instances[cls] = super(
^^^^^^
File "C:\Users\erdi
\Desktop\autochatgpt\Auto-GPT\scripts\memory.py", line 30, in init
if table_name not in pinecone.list_indexes():
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\manage.py", line 185, in list_indexes
response = api_instance.list_indexes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 776, in call
return self.callable(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\index_operations_api.py", line 1132, in list_indexes
return self.call_with_http_info(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 413, in call_api
return self.call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 200, in call_api
response_data = self.request(
^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 439, in request
return self.rest_client.GET(url,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py", line 236, in GET
return self.request("GET", url,
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi
\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py", line 202, in request
r = self.pool_manager.request(method, url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\request.py", line 74, in request
return self.request_encode_url(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\request.py", line 96, in request_encode_url
return self.urlopen(method, url, **extra_kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Users\erdi_\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='controller.your-pinecone-region.pinecone.io', port=443): Max retries exceeded with url: /databases (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001BE5C594890>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

@salt431
Copy link

salt431 commented Apr 7, 2023

im going through the EXACT same problems as of right now: Traceback (most recent call last):
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 363, in connect
self.sock = conn = self._new_conn()
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000000000D304AC0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "scripts/main.py", line 286, in
memory = PineconeMemory()
File "C:\Users\haxer\Auto-GPT\scripts\config.py", line 17, in call
cls._instances[cls] = super(
File "C:\Users\haxer\Auto-GPT\scripts\memory.py", line 30, in init
if table_name not in pinecone.list_indexes():
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\manage.py", line 185, in list_indexes
response = api_instance.list_indexes()
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api_client.py", line 776, in call
return self.callable(self, *args, **kwargs)
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api\index_operations_api.py", line 1132, in __list_indexes
return self.call_with_http_info(**kwargs)
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api_client.py", line 200, in __call_api
response_data = self.request(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\api_client.py", line 439, in request
return self.rest_client.GET(url,
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\rest.py", line 236, in GET
return self.request("GET", url,
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\pinecone\core\client\rest.py", line 202, in request
r = self.pool_manager.request(method, url,
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\request.py", line 74, in request
return self.request_encode_url(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\request.py", line 96, in request_encode_url
return self.urlopen(method, url, **extra_kw)
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 815, in urlopen
return self.urlopen(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "C:\Users\haxer\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='controller.your-pinecone-region.pinecone.io', port=443): Max retries exceeded with url: /databases (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000000000D304AC0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

any solutions?

@salt431
Copy link

salt431 commented Apr 7, 2023

ive even tried python 3.7 (which had broken dependencies) python 3.11, and now python 3.8

@salt431
Copy link

salt431 commented Apr 7, 2023

it seems to be an error with pinecone. if this is the case, the documentation should label it as required. not only that but python 3.7 had broken dependencies, and required tweaking of the requirements.txt file to downgrade some of the package versions. so i would also increase the required python version in the documentation to python 3.8

@calseus
Copy link
Author

calseus commented Apr 7, 2023

Go app.pinecone.io create an account. Get the api key and region. Past it to .env problem solved

@Skycomm
Copy link

Skycomm commented Apr 7, 2023

im getting it too i have an account at pinecone

it worked one time on a different machine this time it seems to rmember who i am pinecore i guess if i say no still get this issue

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 363, in connect
self.sock = conn = self._new_conn()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x117b3f1f0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/david/Documents/GitHub/Auto-GPT/scripts/main.py", line 286, in
memory = PineconeMemory()
File "/Users/david/Documents/GitHub/Auto-GPT/scripts/config.py", line 17, in call
cls._instances[cls] = super(
File "/Users/david/Documents/GitHub/Auto-GPT/scripts/memory.py", line 30, in init
if table_name not in pinecone.list_indexes():
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/manage.py", line 185, in list_indexes
response = api_instance.list_indexes()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 776, in call
return self.callable(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api/index_operations_api.py", line 1132, in __list_indexes
return self.call_with_http_info(**kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api
response_data = self.request(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 439, in request
return self.rest_client.GET(url,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/rest.py", line 236, in GET
return self.request("GET", url,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pinecone/core/client/rest.py", line 202, in request
r = self.pool_manager.request(method, url,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/request.py", line 74, in request
return self.request_encode_url(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/request.py", line 96, in request_encode_url
return self.urlopen(method, url, **extra_kw)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
return self.urlopen(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
return self.urlopen(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
return self.urlopen(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='controller.your-pinecone-region.pinecone.io', port=443): Max retries exceeded with url: /databases (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x117b3f1f0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
david@Lias-Air scripts %

@crowlsyong
Copy link

Same issue here, with or without Pinecone API.

@keenborder786
Copy link
Contributor

Fix this issue in PR: #440

@Torantulino Torantulino added the bug Something isn't working label Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants