mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-25 21:46:08 -04:00
网站聊天没回应,但dify日志能看到回应 #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dinggithub on GitHub (May 25, 2023).
在vercel部署的网站聊天经常没回应,但在dify的日志里却能看到生成的对话,不知道哪里出问题了。vercel的log如下:

RangeError: Incorrect locale information provided
at Intl.getCanonicalLocales ()
at CanonicalizeLocaleList (/var/task/.next/server/chunks/183.js:60105:17)
at match (/var/task/.next/server/chunks/183.js:60365:108)
at getLocaleOnServer (/var/task/.next/server/app/page.js:359:63)
at LocaleLayout (/var/task/.next/server/app/page.js:373:20)
at X (/var/task/.next/server/chunks/183.js:61941:13)
at Na (/var/task/.next/server/chunks/183.js:62109:21)
at Array.toJSON (/var/task/.next/server/chunks/183.js:61869:20)
at stringify ()
at da (/var/task/.next/server/chunks/183.js:61383:9)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '2702072224'
}
@iamjoel commented on GitHub (Jun 10, 2023):
Pull the latest code and reinstall dependencies to see if the issue still exists. It may be due to response timeout. Previously, the issue was caused by returning in block format, but now it supports returning in streaming format.