Closed microchipgnu closed 1 year ago
same here, any solution ?
also getting this error
after a while, the error disappeared but now I'm getting "Error: API Rate Limit Reached. Waiting 10 seconds..." in loop
Had it running on continuous and it failed out this way. Waited 20 seconds and retried. It's working again. ... In a human, this would be a "brain fart" - where memory fails unexpectedly for no discernable reason.
I think this is because the index is being created. It takes a while to initialize.
I get the same error. And I feel the documentation for the Pinecone part is incomplete. I don't know what that is exactly. Something about memory. What metric do I use, what pod type, what dimensions? Why do I need this suddenly?
Edit: Oh, and it should be under requirements, because without it, the main.py just fails at startup.
I think this is because the index is being created. It takes a while to initialize.
exactly this, you can log into pinecone and make sure under indexes auto-gpt exists(its auto created on your first run of auto-gpt), mine took about 5 minutes to show up.
Yes, it showed up and now it's working. Thanks.
Having the same error, however, I think it may be because the auto-gpt
index is being initialised (10 minutes passed now)
EDIT: index on Pinecone turned Ready
and now auto-gpt
runs fine.
seconded. what dimensions do we use on Pinecone?
after index ready i still get the error
I had the same error and then applied pinecone configurations. Now I got another error "Error: API Rate Limit Reached. Waiting 10 seconds...".
after index ready i still get the error
Just like @ilkerkaan, my index is ready to go but I'm still receiving the same error:
Using memory of type: PineconeMemory
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
...
Same here
Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI: For example, 'Entrepreneur-GPT'
AI Name:
Entrepreneur-GPT here! I am at your service.
Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
Entrepreneur-GPT is: testing the capabilities of a AutoGPT Ai
Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
Enter nothing to load defaults, enter nothing when finished.
Goal 1:
Traceback (most recent call last):
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/utils/error_handling.py", line 17, in inner_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/index.py", line 329, in delete
return self._vector_api.delete(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 776, in __call__
return self.callable(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api/vector_operations_api.py", line 117, in __delete
return self.call_with_http_info(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api
response_data = self.request(
^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 459, in request
return self.rest_client.POST(url,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 271, in POST
return self.request("POST", url,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 157, in request
r = self.pool_manager.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/request.py", line 78, in request
return self.request_encode_body(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/request.py", line 170, in request_encode_body
return self.urlopen(method, url, **extra_kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/main.py", line 289, in <module>
memory.clear()
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/memory.py", line 46, in clear
self.index.delete(deleteAll=True)
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/utils/error_handling.py", line 25, in inner_func
raise PineconeProtocolError(f'Failed to connect; did you specify the correct index name?') from e
pinecone.core.exceptions.PineconeProtocolError: Failed to connect; did you specify the correct index name?
It worked the first time, now after trying it again I get this
Traceback (most recent call last):
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/main.py", line 288, in <module>
memory = PineconeMemory()
^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/config.py", line 17, in __call__
cls._instances[cls] = super(
^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/memory.py", line 30, in __init__
if table_name not in pinecone.list_indexes():
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/manage.py", line 185, in list_indexes
response = api_instance.list_indexes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 776, in __call__
return self.callable(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api/index_operations_api.py", line 1132, in __list_indexes
return self.call_with_http_info(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 207, in __call_api
raise e
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api
response_data = self.request(
^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 439, in request
return self.rest_client.GET(url,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 236, in GET
return self.request("GET", url,
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 219, in request
raise UnauthorizedException(http_resp=r)
pinecone.core.client.exceptions.UnauthorizedException: (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'www-authenticate': 'API key is missing or invalid for the environment "us-central1-gcp". Check that the correct environment is specified.', 'content-length': '117', 'date': 'Sat, 08 Apr 2023 01:48:33 GMT', 'server': 'envoy'})
HTTP response body: API key is missing or invalid for the environment "us-central1-gcp". Check that the correct environment is specified.
I am having the same issue. It seems to run for a little while then it breaks. my index is "Ready" not Initialising. Any ideas?
solved after upgrade to openai paid api plan.
I think this is because the index is being created. It takes a while to initialize.
bingo, wait 1 min, and the probl is solved. magick bam!
I am having the same issue. It seems to run for a little while then it breaks. my index is "Ready" not Initialising. Any ideas?
same problem here
@SkylerWittman and @kayradmr your problem seems to be related to https://github.com/Torantulino/Auto-GPT/issues/1189
thanks @JuroOravec but my issue spontaneously disappeared. It works for me now. Cheers
am I able to use this if I doesn't have the gpt plus ?
Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Entrepreneur-GPT here! I am at your service. Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.' Entrepreneur-GPT is: testing the capabilities of a AutoGPT Ai Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously' Enter nothing to load defaults, enter nothing when finished. Goal 1: Traceback (most recent call last): File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connection.py", line 419, in connect self.sock = ssl_wrap_socket( ^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl( ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [Errno 54] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/utils/error_handling.py", line 17, in inner_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/index.py", line 329, in delete return self._vector_api.delete( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 776, in __call__ return self.callable(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api/vector_operations_api.py", line 117, in __delete return self.call_with_http_info(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info return self.api_client.call_api( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 413, in call_api return self.__call_api(resource_path, method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api response_data = self.request( ^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 459, in request return self.rest_client.POST(url, ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 271, in POST return self.request("POST", url, ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 157, in request r = self.pool_manager.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/request.py", line 78, in request return self.request_encode_body( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/request.py", line 170, in request_encode_body return self.urlopen(method, url, **extra_kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/poolmanager.py", line 376, in urlopen response = conn.urlopen(method, u.request_uri, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/connection.py", line 419, in connect self.sock = ssl_wrap_socket( ^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl( ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/opt/homebrew/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/main.py", line 289, in <module> memory.clear() File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/scripts/memory.py", line 46, in clear self.index.delete(deleteAll=True) File "/Users/florin/Documents/GITHUB_PROJECTS/GPT/Auto-GPT/venv/lib/python3.11/site-packages/pinecone/core/utils/error_handling.py", line 25, in inner_func raise PineconeProtocolError(f'Failed to connect; did you specify the correct index name?') from e pinecone.core.exceptions.PineconeProtocolError: Failed to connect; did you specify the correct index name?
I am stuck with this part, what did you do further to resolve this, could you help me?
A quick indicator to the issue may be what @Gintasz has shown in his pics. Depending on your region, you may be stuck on "Initializing" stage, so your client is not ready yet.
Everyone with a PineProtocolError should know that Pinecone team is experiencing high demand and actually paying won't necessarily help you, see here.
As it states you can also monitor the realtime status of your Index based on your given Index's region here
Please note that although most of you have memory Backend (i.e. Pinecone) related issues, which is related to the subject of this issue, i'd ask that LLM related issues (i.e. OpenAPI calls) are directed to an appropriate issue.
Pinecone is probably way too busy for a lot of users at the moment. Consider switching your memory backend to Local or Redis for now. Please read the README for a guide on how to set up Redis if interested.
Closing issue.
the follow is mine, the same ploblem
Traceback (most recent call last):
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 1374, in getresponse
response.begin()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 318, in begin
version, status, reason = self._read_status()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\utils\error_handling.py", line 17, in inner_func
return func(*args, **kwargs)
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\index.py", line 147, in upsert
return self._upsert_batch(vectors, namespace, _check_type, **kwargs)
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\index.py", line 231, in _upsert_batch
return self._vector_api.upsert(
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api_client.py", line 776, in __call__
return self.callable(self, *args, **kwargs)
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api\vector_operations_api.py", line 956, in __upsert
return self.call_with_http_info(**kwargs)
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api_client.py", line 200, in __call_api
response_data = self.request(
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\api_client.py", line 459, in request
return self.rest_client.POST(url,
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\rest.py", line 271, in POST
return self.request("POST", url,
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\client\rest.py", line 157, in request
r = self.pool_manager.request(
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\request.py", line 78, in request
return self.request_encode_body(
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\request.py", line 170, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\util\retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
raise value.with_traceback(tb)
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "E:\anaconda3\envs\dev\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 1374, in getresponse
response.begin()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 318, in begin
version, status, reason = self._read_status()
File "E:\anaconda3\envs\dev\lib\http\client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\anaconda3\envs\dev\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "E:\anaconda3\envs\dev\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "E:\com_science\github\Auto-GPT\autogpt\__main__.py", line 53, in <module>
main()
File "E:\com_science\github\Auto-GPT\autogpt\__main__.py", line 49, in main
agent.start_interaction_loop()
File "E:\com_science\github\Auto-GPT\autogpt\agent\agent.py", line 170, in start_interaction_loop
self.memory.add(memory_to_add)
File "E:\com_science\github\Auto-GPT\autogpt\memory\pinecone.py", line 49, in add
self.index.upsert([(str(self.vec_num), vector, {"raw_text": data})])
File "E:\anaconda3\envs\dev\lib\site-packages\pinecone\core\utils\error_handling.py", line 25, in inner_func
raise PineconeProtocolError(f'Failed to connect; did you specify the correct index name?') from e
pinecone.core.exceptions.PineconeProtocolError: Failed to connect; did you specify the correct index name?
Duplicates
Steps to reproduce 🕹
Just pulled from
master
and configured Pinecone. I'm getting this error.