Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to refresh session是token过期了吗? #38

Open
JoeyTrue opened this issue Jan 28, 2023 · 1 comment
Open

Failed to refresh session是token过期了吗? #38

JoeyTrue opened this issue Jan 28, 2023 · 1 comment

Comments

@JoeyTrue
Copy link

Traceback (most recent call last):
File "F:\python3.9.7\lib\site-packages\revChatGPT\ChatGPT.py", line 230, in refresh_session
raise Exception(f'Response code: {response.status_code} \n Response: {response.text}')
Exception: Response code: 200
Response: {}

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "E:\browser_download\ChineseAiDungeonChatGPT-0.2.0\app.py", line 164, in
story_teller = StoryTeller(config, story_background)
File "E:\browser_download\ChineseAiDungeonChatGPT-0.2.0\story.py", line 10, in init
self.chatbot = Chatbot(config, conversation_id=None)
File "F:\python3.9.7\lib\site-packages\revChatGPT\ChatGPT.py", line 81, in init
self.retry_refresh()
File "F:\python3.9.7\lib\site-packages\revChatGPT\ChatGPT.py", line 92, in retry_refresh
raise exc
File "F:\python3.9.7\lib\site-packages\revChatGPT\ChatGPT.py", line 88, in retry_refresh
self.refresh_session()
File "F:\python3.9.7\lib\site-packages\revChatGPT\ChatGPT.py", line 245, in refresh_session
raise Exception("Failed to refresh session!") from exc
Exception: Failed to refresh session!

@bupticybee
Copy link
Owner

是的,openai对接口做了很多限制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants