Skip to content

Chatflow hangs on non-existing conversation id #37197

@wylswz

Description

@wylswz

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

latest

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Enter a chatflow and start a conversation.
  2. Copy cURL of chat-messages api.
  3. Modify the conversation id to a non-existing one.
  4. Send request.

✔️ Expected Behavior

Request should fail with a 4xx status code.

❌ Actual Behavior

The request hangs with only ping events received..

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcloudWhen the version is cloud and it is a bug reportproject#dify

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions