Traceback (most recent call last):
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 203, in newconn
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 outThe 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.makerequest(
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in makerequest
raise new_e
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in makerequest
self.validateconn(conn)
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1092, in validateconn
conn.connect()
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self.newconn()
File "/Users/zy/anaconda3/envs/all1/lib/python3.10/site-packages/urllib3/connection.py", line 212, in newconn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x1100a4f10>, '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 0x1100a4f10>, '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/apirequestor.py", line 596, in requestraw
result = threadcontext.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 0x1100a4f10>, '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 = generatetweet(apikey, 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/apiresources/abstract/engineapi_resource.py", line 153, in create
response, , apikey = 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/apirequestor.py", line 607, in requestraw
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 0x1100a4f10>, 'Connection to api.openai.com timed out. (connect timeout=600)'))
Web3, social media and crypto are revolutionizing the way we interact and transact - ushering in a new era of financial freedom and transparency. #Web3 #Social #Crypto
NFTs are breaking down the barriers between art and technology, creating new forms of expression and value that were previously unimaginable.
Aave is one of the most popular DeFi protocols on the market today. With its focus on transparency and security, Aave is quickly becoming the go-to platform for lending and borrowing in the DeFi space.
With Web3, users will have more control over their data and identity, and will be able to participate in decentralized networks that are not controlled by any single entity.
DeFi is reimagining the world of finance, providing transparent, decentralized, and user-controlled financial services that empower individuals to manage their wealth with confidence. #DeFi #FinanceRevolution
The future of social networks is rooted in web3.0, offering users a decentralized, secure, and transparent platform to connect and engage with others online. #web3.0 #socialnetwork
Sometime ever, sometime never
GM #LensFrens
Sorry, I don't quite follow