Skip to content

When the token expires, refreshing the token can result in an infinite loop. #10494

Description

@wangxm345566462

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v0.10.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image
Steps:

Create a new chat.
Configure any custom tool.
Engage in normal conversation.
Wait for some time until the token expires.
Continue the conversation, and the system will start excessively calling the /console/api/apps/4e2a312e-cb06-41b0-a191-a94d42d85523/chat-messages endpoint, resulting in an infinite loop.

✔️ Expected Behavior

ok

❌ Actual Behavior

loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working🤔 cant-reproduceWe can not reproduce it or the information is limited

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions