-
Notifications
You must be signed in to change notification settings - Fork 439
Description
Traceback (most recent call last):
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/main.py", line 24, in
chat = Chat(email="", password="", options=options)
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/pychatgpt/main.py", line 56, in init
self._setup()
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/pychatgpt/main.py", line 145, in _setup
self._create_access_token()
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/pychatgpt/main.py", line 163, in _create_access_token
openai_auth.create_token()
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/pychatgpt/classes/openai.py", line 128, in create_token
response = self.__session.get(url=url, headers=headers)
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/tls_client/sessions.py", line 363, in get
return self.execute_request(method="GET", url=url, **kwargs)
File "/Users/abdibrokhim/VisualStudioCode/OpenDataHackathon/Lychee/backend/venv/lib/python3.10/site-packages/tls_client/sessions.py", line 346, in execute_request
raise TLSClientExeption(response_object["body"])
tls_client.exceptions.TLSClientExeption: failed to do request: Get "https://chat.openai.com/auth/login": dial tcp 127.0.0.1:8080: connect: connection refused