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
I have searched the existing issues, and there is no existing issue for my problem
Which Operating System are you using?
Windows
Which version of Auto-GPT are you using?
Stable (branch)
Do you use OpenAI GPT-3 or GPT-4?
GPT-4
Which area covers your issue best?
Commands
Describe your issue.
I got this error running
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\http\client.py", line 1375, in getresponse
response.begin()
File "C:\Python311\Lib\http\client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\http\client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\util\retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\packages\six.py", line 770, in reraise
raise value
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 451, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 596, in request_raw
result = _thread_context.session.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt_main.py", line 5, in
autogpt.app.cli.main()
File "C:\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1666, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\cli.py", line 121, in main
run_auto_gpt(
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\main.py", line 174, in run_auto_gpt
run_interaction_loop(agent)
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\main.py", line 255, in run_interaction_loop
command_name, command_args, assistant_reply_dict = agent.think()
^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 110, in think
prompt: ChatSequence = self.construct_prompt(instruction, thought_process_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 214, in construct_prompt
prompt = self.construct_base_prompt(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\agent.py", line 100, in construct_base_prompt
return super().construct_base_prompt(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 178, in construct_base_prompt
new_summary_msg, _ = self.history.trim_messages(list(prompt), self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 78, in trim_messages
new_summary_message = self.update_running_summary(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 200, in update_running_summary
self.update_summary_with_batch(batch, config, max_summary_length)
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 237, in update_summary_with_batch
self.summary = create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\utils_init_.py", line 162, in create_chat_completion
response = iopenai.create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 151, in metered_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 186, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 235, in create_chat_completion
completion: OpenAIObject = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 288, in request
result = self.request_raw(
^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 607, in request_raw
raise error.Timeout("Request timed out: {}".format(e)) from e
openai.error.Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
Hi there!
The error itself is not very informative in this case - it could be a number of reasons.
Judging by activity logs, you had some back and forth prior to receiving error?
If that's the case, the most probable reasons are network issues or the unavailability of the open AI servers themself (they usually respond with corresponding message [see #2241], but I wouldn't be surprised if they go down from time to time under the load).
Taking into account that there is also existing issue starting with exact same error (#2937) I would suggest to close the issue as duplicate.
PS never mind the tumbs down emoji - it's just the measure maintainers suggested to sort the issues.
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
Which Operating System are you using?
Windows
Which version of Auto-GPT are you using?
Stable (branch)
Do you use OpenAI GPT-3 or GPT-4?
GPT-4
Which area covers your issue best?
Commands
Describe your issue.
I got this error running
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\http\client.py", line 1375, in getresponse
response.begin()
File "C:\Python311\Lib\http\client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\http\client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\util\retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\packages\six.py", line 770, in reraise
raise value
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 451, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "C:\Python311\Lib\site-packages\urllib3\connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 596, in request_raw
result = _thread_context.session.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\requests\adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt_main.py", line 5, in
autogpt.app.cli.main()
File "C:\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1666, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\cli.py", line 121, in main
run_auto_gpt(
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\main.py", line 174, in run_auto_gpt
run_interaction_loop(agent)
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\app\main.py", line 255, in run_interaction_loop
command_name, command_args, assistant_reply_dict = agent.think()
^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 110, in think
prompt: ChatSequence = self.construct_prompt(instruction, thought_process_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 214, in construct_prompt
prompt = self.construct_base_prompt(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\agent.py", line 100, in construct_base_prompt
return super().construct_base_prompt(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\agents\base.py", line 178, in construct_base_prompt
new_summary_msg, _ = self.history.trim_messages(list(prompt), self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 78, in trim_messages
new_summary_message = self.update_running_summary(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 200, in update_running_summary
self.update_summary_with_batch(batch, config, max_summary_length)
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\memory\message_history.py", line 237, in update_summary_with_batch
self.summary = create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\utils_init_.py", line 162, in create_chat_completion
response = iopenai.create_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 151, in metered_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex_\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 186, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex\OneDrive\Documents\GitHub\Auto-GPT - Stable\Auto-GPT-0.4.7\Auto-GPT-0.4.7\autogpt\llm\providers\openai.py", line 235, in create_chat_completion
completion: OpenAIObject = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 288, in request
result = self.request_raw(
^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\openai\api_requestor.py", line 607, in request_raw
raise error.Timeout("Request timed out: {}".format(e)) from e
openai.error.Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600)
Upload Activity Log Content
activity.log
Upload Error Log Content
error.log
The text was updated successfully, but these errors were encountered: