Embedded integration session page BUG #8476

Closed
opened 2026-02-21 18:25:52 -05:00 by yindo · 2 comments
Owner

Originally created by @shinwell-ku on GitHub (Feb 20, 2025).

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

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Embed the website into the business system (whether it is iframe or javascript), the first pop-up box session is no problem, refresh the page again, can not display the chat interface, error, other browsers also report the same error.
There were no problems with the previous version

✔️ Expected Behavior

No response

Actual Behavior

Image

2117-facb83e7cbe5e185.js:1 TypeError: (0 , g.getPrevChatList) is not a function
at page-98fe2eb27f70b868.js:1:1871
at Object.lt [as useMemo] (fd9d1056-014bed05f3bb9932.js:1:46775)
at t.useMemo (2117-facb83e7cbe5e185.js:2:31810)
at y (page-98fe2eb27f70b868.js:1:1811)
at J (page-98fe2eb27f70b868.js:1:18317)
at rE (fd9d1056-014bed05f3bb9932.js:1:40344)
at l$ (fd9d1056-014bed05f3bb9932.js:1:59319)
at iZ (fd9d1056-014bed05f3bb9932.js:1:117926)
at ia (fd9d1056-014bed05f3bb9932.js:1:95165)
at fd9d1056-014bed05f3bb9932.js:1:94987

Originally created by @shinwell-ku on GitHub (Feb 20, 2025). ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.15.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Embed the website into the business system (whether it is iframe or javascript), the first pop-up box session is no problem, refresh the page again, can not display the chat interface, error, other browsers also report the same error. There were no problems with the previous version ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior ![Image](https://github.com/user-attachments/assets/898a0d56-3dc5-4212-8e93-aa704155e5d6) 2117-facb83e7cbe5e185.js:1 TypeError: (0 , g.getPrevChatList) is not a function at page-98fe2eb27f70b868.js:1:1871 at Object.lt [as useMemo] (fd9d1056-014bed05f3bb9932.js:1:46775) at t.useMemo (2117-facb83e7cbe5e185.js:2:31810) at y (page-98fe2eb27f70b868.js:1:1811) at J (page-98fe2eb27f70b868.js:1:18317) at rE (fd9d1056-014bed05f3bb9932.js:1:40344) at l$ (fd9d1056-014bed05f3bb9932.js:1:59319) at iZ (fd9d1056-014bed05f3bb9932.js:1:117926) at ia (fd9d1056-014bed05f3bb9932.js:1:95165) at fd9d1056-014bed05f3bb9932.js:1:94987
yindo added the 🐞 bug label 2026-02-21 18:25:52 -05:00
yindo closed this issue 2026-02-21 18:25:52 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 20, 2025):

@shinwell-ku Hello there! I'm here to help you with bug reports, answer questions, and guide you on becoming a contributor. Let me know how I can assist you with the issue you've encountered.

There are similar threads discussing the same issue with Dify version 0.15.3. The error "TypeError: (0 , g.getPrevChatList) is not a function" occurs due to the removal of the getPrevChatList function during code refactoring, while some code still attempts to use it. This issue is known to occur when embedding the chat application into a webpage, leading to a client-side exception upon refreshing.

To resolve this issue, you should update your Dify installation to a version that includes the fix from pull request #13383. This update will ensure that the chat interface displays correctly after a page refresh. If you are using a self-hosted instance, you can manually update your Dify installation to the specific commit or pull request that contains the fix [1][2][3].

As a temporary workaround, clearing your browser cookies can temporarily resolve the error, allowing you to continue using the chat interface without interruptions until you can update Dify [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Feb 20, 2025): <!-- Greeting --> @shinwell-ku Hello there! I'm here to help you with bug reports, answer questions, and guide you on becoming a contributor. Let me know how I can assist you with the issue you've encountered. <!-- Answer --> There are similar threads discussing the same issue with Dify version 0.15.3. The error "TypeError: (0 , g.getPrevChatList) is not a function" occurs due to the removal of the `getPrevChatList` function during code refactoring, while some code still attempts to use it. This issue is known to occur when embedding the chat application into a webpage, leading to a client-side exception upon refreshing. To resolve this issue, you should update your Dify installation to a version that includes the fix from pull request #13383. This update will ensure that the chat interface displays correctly after a page refresh. If you are using a self-hosted instance, you can manually update your Dify installation to the specific commit or pull request that contains the fix <sup>[[1]](https://github.com/langgenius/dify/issues/13440)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/13388)</sup><sup>[[3]](https://github.com/langgenius/dify/issues/13926)</sup>. As a temporary workaround, clearing your browser cookies can temporarily resolve the error, allowing you to continue using the chat interface without interruptions until you can update Dify <sup>[[1]](https://github.com/langgenius/dify/issues/13440)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6e6c6fc5-501a-425b-9bd5-675cc2e365b6?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Feb 20, 2025):

Duplicated https://github.com/langgenius/dify/issues/13926
We have released a hotfix for cloud users.
For self-hosted version, please change the web container to this tag

https://github.com/langgenius/dify/blob/252d2c425bb9a824fce6b3e5a8c4f09caf88b11f/docker/docker-compose.yaml#L466

release-0.15.3-fix1

@crazywoola commented on GitHub (Feb 20, 2025): Duplicated https://github.com/langgenius/dify/issues/13926 We have released a hotfix for cloud users. For self-hosted version, please change the web container to this tag https://github.com/langgenius/dify/blob/252d2c425bb9a824fce6b3e5a8c4f09caf88b11f/docker/docker-compose.yaml#L466 [release-0.15.3-fix1](https://hub.docker.com/layers/langgenius/dify-web/release-0.15.3-fix1/images/sha256-bb741b3a99777a5b9311c989b45bcbcd459aeb728af1f165c0dd02a88f7a822b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8476