rawandahmad698 / PyChatGPT

⚡️ Python client for the unofficial ChatGPT API with auto token regeneration, conversation tracking, proxy support and more.
MIT License
4.22k stars 447 forks source link

connection refused #142

Open abdibrokhim opened 1 year ago

abdibrokhim commented 1 year ago

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

ECTO-1A commented 1 year ago

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

abdibrokhim commented 1 year ago

what do you mean? it is

acheong08 commented 1 year ago

Discord Discussion Current State: Not maintained. Not Working.

abdibrokhim commented 1 year ago

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.