Chatbot Embed on website not working #15664

Closed
opened 2026-02-21 19:22:47 -05:00 by yindo · 7 comments
Owner

Originally created by @Gum97 on GitHub (Jul 25, 2025).

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

1.7.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I create chatbot and Embed on website, the error reloads continuously, it seems to be redirect_url
https://dify.xxx.xxx/webapp-signin?redirect_url=%252Fchat%252FhHIWZNN7kWpP524h%253Fsys.user_id%253DH4sIAAAAAAAAEzM0MjY0MtZNz0zMS88pMzIBAAL%25252BSAcQAAAA

Image

But version 1.6.0 is not like that.

✔️ Expected Behavior

Looks like there is a bug here can you review and fix it soon

Actual Behavior

No response

Originally created by @Gum97 on GitHub (Jul 25, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When I create chatbot and Embed on website, the error reloads continuously, it seems to be redirect_url https://dify.xxx.xxx/webapp-signin?redirect_url=%252Fchat%252FhHIWZNN7kWpP524h%253Fsys.user_id%253DH4sIAAAAAAAAEzM0MjY0MtZNz0zMS88pMzIBAAL%25252BSAcQAAAA <img width="660" height="835" alt="Image" src="https://github.com/user-attachments/assets/5ae44983-ebeb-4e8f-8f8f-7e27d5a2fed0" /> But version 1.6.0 is not like that. ### ✔️ Expected Behavior Looks like there is a bug here can you review and fix it soon ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:22:47 -05:00
yindo closed this issue 2026-02-21 19:22:47 -05:00
Author
Owner

@tangchengHN commented on GitHub (Jul 28, 2025):

这个解决了吗?我升级到1.7.1还是报错

@tangchengHN commented on GitHub (Jul 28, 2025): 这个解决了吗?我升级到1.7.1还是报错
Author
Owner

@Devindan commented on GitHub (Jul 30, 2025):

The issue persists in v1.7.1.
Self-hosted, the basePath is configured as /dify.
When accessing the application's public URL, such as https://domain.com/dify/workflow/****, it redirects to /webapp-signin?****. Subsequently, navigating to https://domain.com/dify/dify/workflow/**** reveals a duplicate /dify in the path.
Removing the redundant /dify promptly allows for successful access, and it ceases redirecting thereafter.

@Devindan commented on GitHub (Jul 30, 2025): The issue persists in `v1.7.1`. Self-hosted, the `basePath` is configured as `/dify`. When accessing the application's public URL, such as `https://domain.com/dify/workflow/****`, it redirects to `/webapp-signin?****`. Subsequently, navigating to `https://domain.com/dify/dify/workflow/****` reveals a duplicate `/dify` in the path. Removing the redundant `/dify` promptly allows for successful access, and it ceases redirecting thereafter.
Author
Owner

@lianzhao commented on GitHub (Aug 4, 2025):

Met the same issue after upgrade from 1.5.1 to 1.7.1.
It seems that embedded chatbot works well when I reverted https://github.com/langgenius/dify/pull/22524 @douxc May I have some help from you?

@lianzhao commented on GitHub (Aug 4, 2025): Met the same issue after upgrade from 1.5.1 to 1.7.1. It seems that embedded chatbot works well when I reverted https://github.com/langgenius/dify/pull/22524 @douxc May I have some help from you?
Author
Owner

@fdb02983rhy commented on GitHub (Aug 16, 2025):

Still bugging?

@fdb02983rhy commented on GitHub (Aug 16, 2025): Still bugging?
Author
Owner

@dosubot[bot] commented on GitHub (Sep 16, 2025):

Hi, @Gum97. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a continuous reload error with redirect_url when embedding the chatbot on a self-hosted Docker setup using Dify v1.7.0, which did not occur in v1.6.0.
  • Other users, including Devindan and lianzhao, confirmed the issue persists in v1.7.1, with a duplicate /dify path causing redirect loops.
  • I suspect that a recent PR (#22524) might be related to this problem.
  • The maintainers have not yet provided a fix or detailed response.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Dify by commenting on this issue to keep the discussion open.
  • If I do not hear back within 15 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 16, 2025): Hi, @Gum97. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a continuous reload error with `redirect_url` when embedding the chatbot on a self-hosted Docker setup using Dify v1.7.0, which did not occur in v1.6.0. - Other users, including Devindan and lianzhao, confirmed the issue persists in v1.7.1, with a duplicate `/dify` path causing redirect loops. - I suspect that a recent PR (#22524) might be related to this problem. - The maintainers have not yet provided a fix or detailed response. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of Dify by commenting on this issue to keep the discussion open. - If I do not hear back within 15 days, this issue will be automatically closed. Thank you for your understanding and contribution!
Author
Owner

@fdb02983rhy commented on GitHub (Sep 17, 2025):

@crazywoola seems not fixed yet in 1.8.1, could you please have a look?

@fdb02983rhy commented on GitHub (Sep 17, 2025): @crazywoola seems not fixed yet in 1.8.1, could you please have a look?
Author
Owner

@dosubot[bot] commented on GitHub (Sep 17, 2025):

@crazywoola The user reports that the continuous reload error with redirect_url on self-hosted Docker setups is still not fixed in version 1.8.1 and requests your assistance to investigate.

@dosubot[bot] commented on GitHub (Sep 17, 2025): @crazywoola The user reports that the continuous reload error with `redirect_url` on self-hosted Docker setups is still not fixed in version 1.8.1 and requests your assistance to investigate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15664