Skip to content

[Question]: Embedded website Agent fails with 405 errors #11787

@VVX94

Description

@VVX94

Self Checks

  • 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).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

description

I am trying to use the Embedded Agent feature (embedding website/iframe). While the Agent works perfectly inside the RAGFlow Canvas/Playground, it fails to function when accessed via the shared/embedded link.

The embedded frontend sends requests to /api/v1/agentbots/..., butthe backend returns 405 Method Not Allowed.

Steps to Reproduce

  1. Create an Agent in RAGFlow.

  2. Go to the "Embed" tab and copy the "Embedded Website" link or iframe code.

  3. Open the link in a browser.

  4. Attempt to send a message to the agent.

  5. The webpage crashes or hangs, and the browser console shows 405 errors.

snipaste

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.🙋‍♀️ questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions