PawanOsman / PyGPT

Python implementation of Unofficial ChatGPT Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socketio.exceptions.ConnectionError: Unexpected status code 503 in server response

Yusin2Chen opened this issue · comments

dear author,

I met this problem when I try to use this tool. If you can help me, I am very appreciated it. Thank you so much~

Traceback (most recent call last):
File "/home/user/app/main.py", line 17, in
asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/user/app/main.py", line 10, in main
await chat_gpt.connect()
File "/usr/local/lib/python3.10/dist-packages/pygpt.py", line 72, in connect
await self.socket.connect(f'{self.bypass_node}/?client=python&version=1.0.5&versionCode=105')
File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_client.py", line 149, in connect
raise exceptions.ConnectionError(exc.args[0]) from None
socketio.exceptions.ConnectionError: Unexpected status code 503 in server response