dify - 💡(How to fix) Fix After deploying dify on mac, a blank error was prompted upon login, but there was no error message

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

The login prompts the following error: Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) 0njwd0evz1m_5.js:1 POST http://localhost/console/api/setup 500 (INTERNAL SERVER ERROR) The web container in docker prompts the following error: 2026-05-18 12:17:04 [systemFeatures] fetch failed, using defaults Error [NetworkError]: Request failed due to a network error: GET http://localhost/console/api/system-features 2026-05-18 12:17:24 Error [NetworkError]: Request failed due to a network error: GET http://localhost/console/api/system-features

RAW_BUFFERClick to expand / collapse

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.14.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The login prompts the following error: Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) 03lfqei9yz7mw.js:1 Uncaught (in promise) Response 0njwd0evz1m_5.js:1 POST http://localhost/console/api/setup 500 (INTERNAL SERVER ERROR) fetch @ 0njwd0evz1m_5.js:1 (anonymous) @ 0njwd0evz1m_5.js:1 B @ 0njwd0evz1m_5.js:1 #o @ 0njwd0evz1m_5.js:1 (anonymous) @ 0njwd0evz1m_5.js:1 #r @ 0njwd0evz1m_5.js:1 u @ 0njwd0evz1m_5.js:1 await in u (anonymous) @ 0njwd0evz1m_5.js:1 create @ 0njwd0evz1m_5.js:1 t @ 0njwd0evz1m_5.js:1 eg @ 0njwd0evz1m_5.js:1 eI @ 0njwd0evz1m_5.js:1 eL @ 0njwd0evz1m_5.js:1 e.s.body @ 0oay52vt1_9ei.js:1 onSubmit @ 0.1uh5e0g0gy_.js:1 _handleSubmit @ 03lfqei9yz7mw.js:1 await in handleSubmit handleSubmit @ 03lfqei9yz7mw.js:1 onSubmit @ 0.1uh5e0g0gy.js:1 sZ @ 14ef.l8b8di8-.js:1 (anonymous) @ 14ef.l8b8di8-.js:1 nM @ 14ef.l8b8di8-.js:1 s4 @ 14ef.l8b8di8-.js:1 fL @ 14ef.l8b8di8-.js:1 fT @ 14ef.l8b8di8-.js:1 03lfqei9yz7mw.js:1 Uncaught (in promise) Response {type: 'default', url: '', redirected: false, status: 500, ok: false, …}

The web container in docker prompts the following error: 2026-05-18 12:16:39 ▲ Next.js 16.2.4

2026-05-18 12:16:39 - Local: http://bdbc282d7c2c:3000 2026-05-18 12:16:39 - Network: http://bdbc282d7c2c:3000 2026-05-18 12:16:39 ? Ready in 0ms 2026-05-18 12:17:04 [systemFeatures] fetch failed, using defaults Error [NetworkError]: Request failed due to a network error: GET http://localhost/console/api/system-features 2026-05-18 12:17:04 at #d (.next/server/chunks/ssr/0.ly528..js:1:21879) 2026-05-18 12:17:04 at async #c (.next/server/chunks/ssr/0.ly528..js:1:20112) 2026-05-18 12:17:04 at async j (.next/server/chunks/ssr/0.ly528..js:1:11148) 2026-05-18 12:17:04 at async (.next/server/chunks/ssr/0.ly528..js:1:12243) 2026-05-18 12:17:04 at async ao (.next/server/chunks/ssr/0.ly528..js:1:26425) 2026-05-18 12:17:04 at async c (.next/server/chunks/ssr/0.ly528..js:1:1659) 2026-05-18 12:17:04 at async aF (.next/server/chunks/ssr/0.ly528..js:1:36366) 2026-05-18 12:17:04 at async .call (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:6773) 2026-05-18 12:17:04 at async (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:1844) { 2026-05-18 12:17:04 request: Request { 2026-05-18 12:17:04 method: 'GET', 2026-05-18 12:17:04 url: 'http://localhost/console/api/system-features', 2026-05-18 12:17:04 headers: Headers { 'x-csrf-token': '' }, 2026-05-18 12:17:04 destination: '', 2026-05-18 12:17:04 referrer: 'about:client', 2026-05-18 12:17:04 referrerPolicy: '', 2026-05-18 12:17:04 mode: 'cors', 2026-05-18 12:17:04 credentials: 'include', 2026-05-18 12:17:04 cache: 'default', 2026-05-18 12:17:04 redirect: 'manual', 2026-05-18 12:17:04 integrity: '', 2026-05-18 12:17:04 keepalive: false, 2026-05-18 12:17:04 isReloadNavigation: false, 2026-05-18 12:17:04 isHistoryNavigation: false, 2026-05-18 12:17:04 signal: AbortSignal { aborted: false } 2026-05-18 12:17:04 }, 2026-05-18 12:17:04 [cause]: TypeError: fetch failed 2026-05-18 12:17:04 at async #d (.next/server/chunks/ssr/0.ly528..js:1:21453) 2026-05-18 12:17:04 at async #c (.next/server/chunks/ssr/0.ly528..js:1:20112) 2026-05-18 12:17:04 at async j (.next/server/chunks/ssr/0.ly528..js:1:11148) 2026-05-18 12:17:04 at async (.next/server/chunks/ssr/0.ly528..js:1:12243) 2026-05-18 12:17:04 at async ao (.next/server/chunks/ssr/0.ly528..js:1:26425) 2026-05-18 12:17:04 at async c (.next/server/chunks/ssr/0.ly528..js:1:1659) 2026-05-18 12:17:04 at async aF (.next/server/chunks/ssr/0.ly528..js:1:36366) 2026-05-18 12:17:04 at async .call (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:6773) { 2026-05-18 12:17:04 [cause]: AggregateError: 2026-05-18 12:17:04 at ignore-listed frames { 2026-05-18 12:17:04 code: 'ECONNREFUSED', 2026-05-18 12:17:04 [errors]: [Array] 2026-05-18 12:17:04 } 2026-05-18 12:17:04 } 2026-05-18 12:17:04 } 2026-05-18 12:17:24 Error [NetworkError]: Request failed due to a network error: GET http://localhost/console/api/system-features 2026-05-18 12:17:24 at #d (.next/server/chunks/ssr/0.ly528..js:1:21879) 2026-05-18 12:17:24 at async #c (.next/server/chunks/ssr/0.ly528..js:1:20112) 2026-05-18 12:17:24 at async j (.next/server/chunks/ssr/0.ly528..js:1:11148) 2026-05-18 12:17:24 at async (.next/server/chunks/ssr/0.ly528..js:1:12243) 2026-05-18 12:17:24 at async ao (.next/server/chunks/ssr/0.ly528..js:1:26425) 2026-05-18 12:17:24 at async c (.next/server/chunks/ssr/0.ly528..js:1:1659) 2026-05-18 12:17:24 at async aF (.next/server/chunks/ssr/0.ly528..js:1:36366) 2026-05-18 12:17:24 at async .call (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:6773) 2026-05-18 12:17:24 at async (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:1844) { 2026-05-18 12:17:24 request: Request { 2026-05-18 12:17:24 method: 'GET', 2026-05-18 12:17:24 url: 'http://localhost/console/api/system-features', 2026-05-18 12:17:24 headers: Headers { 'x-csrf-token': '' }, 2026-05-18 12:17:24 destination: '', 2026-05-18 12:17:24 referrer: 'about:client', 2026-05-18 12:17:24 referrerPolicy: '', 2026-05-18 12:17:24 mode: 'cors', 2026-05-18 12:17:24 credentials: 'include', 2026-05-18 12:17:24 cache: 'default', 2026-05-18 12:17:24 redirect: 'manual', 2026-05-18 12:17:24 integrity: '', 2026-05-18 12:17:24 keepalive: false, 2026-05-18 12:17:24 isReloadNavigation: false, 2026-05-18 12:17:24 isHistoryNavigation: false, 2026-05-18 12:17:24 signal: AbortSignal { aborted: false } 2026-05-18 12:17:24 }, 2026-05-18 12:17:24 [cause]: TypeError: fetch failed 2026-05-18 12:17:24 at async #d (.next/server/chunks/ssr/0.ly528..js:1:21453) 2026-05-18 12:17:24 at async #c (.next/server/chunks/ssr/0.ly528..js:1:20112) 2026-05-18 12:17:24 at async j (.next/server/chunks/ssr/0.ly528..js:1:11148) 2026-05-18 12:17:24 at async (.next/server/chunks/ssr/0.ly528..js:1:12243) 2026-05-18 12:17:24 at async ao (.next/server/chunks/ssr/0.ly528..js:1:26425) 2026-05-18 12:17:24 at async c (.next/server/chunks/ssr/0.ly528..js:1:1659) 2026-05-18 12:17:24 at async aF (.next/server/chunks/ssr/0.ly528..js:1:36366) 2026-05-18 12:17:24 at async .call (.next/server/chunks/ssr/web_service_client_ts_0mbh0le..js:9:6773) { 2026-05-18 12:17:24 [cause]: AggregateError: 2026-05-18 12:17:24 at ignore-listed frames { 2026-05-18 12:17:24 code: 'ECONNREFUSED', 2026-05-18 12:17:24 [errors]: [Array] 2026-05-18 12:17:24 } 2026-05-18 12:17:24 } 2026-05-18 12:17:24 }

<img width="1616" height="1010" alt="Image" src="https://github.com/user-attachments/assets/7c5013b0-d8a8-498b-b98c-b4f3c65726a2" />

✔️ Expected Behavior

Log in and use normally

❌ Actual Behavior

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix After deploying dify on mac, a blank error was prompted upon login, but there was no error message