Traceback (most recent call last):
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 212, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x106f38ee0>, 'Connection to api.openai.com timed out. (connect timeout=600)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 874, in urlopen
return self.urlopen(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 874, in urlopen
return self.urlopen(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/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.openai.com', port=443): Max retries exceeded with url: /v1/engines/text-davinci-003/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x106f38ee0>, 'Connection to api.openai.com timed out. (connect timeout=600)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_requestor.py", line 596, in request_raw
result = _thread_context.session.request(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/requests/adapters.py", line 507, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/engines/text-davinci-003/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x106f38ee0>, 'Connection to api.openai.com timed out. (connect timeout=600)'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/zy/ride/Libs/post1.py", line 40, in <module>
tweet = generate_tweet(api_key, prompt, max_tokens)
File "/Users/zy/ride/Libs/post1.py", line 15, in generate_tweet
response = openai.Completion.create(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_requestor.py", line 288, in request
result = self.request_raw(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/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): Max retries exceeded with url: /v1/engines/text-davinci-003/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x106f38ee0>, 'Connection to api.openai.com timed out. (connect timeout=600)'))
Traceback (most recent call last):
File "/Users/zy/ride/Libs/post1.py", line 40, in <module>
tweet = generate_tweet(api_key, prompt, max_tokens)
File "/Users/zy/ride/Libs/post1.py", line 15, in generate_tweet
response = openai.Completion.create(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: Rate limit reached for default-text-davinci-003 in organization org-J4RCioaeoYJ7rkNBDRjwcOm5 on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit platform.openai.com/account/billing to add a payment method.
The realm of NFTs unlocks unparalleled opportunities for creators, collectors, and enthusiasts to buy, sell, and trade digital assets with guaranteed authenticity and provenance. #NFT #DigitalCollectibles
gente de Guadalajara! hace fr铆o all谩? xd quiero traer falda pero me da miedo morir de fr铆o