ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[BUG] Failed to refresh session

Open jackielics opened this issue 3 years ago • 4 comments

Traceback (most recent call last):
  File "g:\Browser\speech_realtime_api-master\python-realtime-asr\chatGPT.py", line 12, in <module>
    chatbot = Chatbot(config, conversation_id=None)
  File "C:\Users\Jackie r9k7\AppData\Local\Programs\Python\Python38\lib\site-packages\revChatGPT\revChatGPT.py", line 100, in __init__
    self.refresh_session()
  File "C:\Users\Jackie r9k7\AppData\Local\Programs\Python\Python38\lib\site-packages\revChatGPT\revChatGPT.py", line 311, in refresh_session
    self.refresh_session()
  File "C:\Users\Jackie r9k7\AppData\Local\Programs\Python\Python38\lib\site-packages\revChatGPT\revChatGPT.py", line 342, in refresh_session
    raise Exception("Failed to refresh session")
Exception: Failed to refresh session

I've repeated many times for a while.Is it because chatGPT server's capacity?

jackielics avatar Dec 13 '22 09:12 jackielics

i got the same error on 0.0.42.1

emilekm2142 avatar Dec 13 '22 11:12 emilekm2142

i got the same error on 0.0.42.1

After a few hours ,it went well eventually. It just happens time to time and really disturbing. Hope someone work for it. By the way ,my config contains "session_token" only Is it because of it?

jackielics avatar Dec 13 '22 14:12 jackielics

Update to https://github.com/acheong08/ChatGPT/releases/tag/0.0.43 and delete your config.json

acheong08 avatar Dec 13 '22 14:12 acheong08

Update to https://github.com/acheong08/ChatGPT/releases/tag/0.0.43 and delete your config.json

thank u. I'll try it.

jackielics avatar Dec 13 '22 14:12 jackielics