PyChatGPT icon indicating copy to clipboard operation
PyChatGPT copied to clipboard

connection refused

Open abdibrokhim opened this issue 2 years ago • 4 comments

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

abdibrokhim avatar Feb 23 '23 10:02 abdibrokhim

Just a heads up, you put you email and password in clear text

ECTO-1A avatar Feb 23 '23 19:02 ECTO-1A

what do you mean? it is

abdibrokhim avatar Feb 24 '23 16:02 abdibrokhim

Discord Discussion Current State: Not maintained. Not Working.

acheong08 avatar Feb 25 '23 04:02 acheong08

Oh shitttt, bro thank you

On 17 Mar 2023, at 20:48, raskalc @.***> wrote:

BRO, WHY U SENDING YOUR F*CKING PASSWORD IN LOGS? WHYYYYYYYYYYY?

— Reply to this email directly, view it on GitHub https://github.com/rawandahmad698/PyChatGPT/issues/142#issuecomment-1474040770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWDTSA335CFL3E6XSLV4YJDW4SBTLANCNFSM6AAAAAAVFOVL24. You are receiving this because you authored the thread.

abdibrokhim avatar Mar 17 '23 16:03 abdibrokhim