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

JWT claims invalid: Failed to split JWT into header.claims.signature parts #379

Closed
2 tasks
wasabilofgu opened this issue Feb 8, 2024 · 2 comments
Closed
2 tasks

Comments

@wasabilofgu
Copy link

Version
v0.x.x

What's your deploying method?

  • [√ ] Docker
  • Caddy
  • Other

Describe the bug
ask gpt question and got a response "JWT claims invalid: Failed to split JWT into header.claims.signature parts"
cws logs:

2024/02/08 10:41:38.087 INFO: [cws.api.routers.chat] admin connected to websocket
2024/02/08 10:41:38.331 ERROR: [cws.api.routers.chat] OpenaiWebException: [403] errors.openaiWeb {"code":403,"msg":"JWT claims invalid: Failed to split JWT into header.claims.signature parts"}
traceback:
/app/backend/api/routers/chat.py:356 in chat
/app/backend/api/sources/openai_web.py:387 in complete
/app/backend/api/sources/openai_web.py:142 in _check_response
2024/02/08 10:41:38.553 INFO: [uvicorn.error] connection closed

not sure this error from cws or ninja

cws docker image id 8145d6f415d5
ninja docker image id 7b4fdfb274a4

i got the latest image update at 2024/02/08 10:00:00(+8)

@paranoiagu
Copy link

logoff and login again

@wasabilofgu
Copy link
Author

my mistake
i update cws and forgot upload accesstoken
PLZ close this issue

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