mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-25 21:46:08 -04:00
Has anyone encountered a GET/serviceWorker.js 404 issue? #37
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 @Jerryqjr on GitHub (Jul 28, 2024).
Problem description
When I call APIs on the public network, although the terminal still reports an error
GET /serviceWorker.js 404 in 102ms, this project is usable.When I deployed Dify on the company's intranet and called the API, the terminal reported an error
GET/serviceWorker. js 404 in 102msand the browser displayed a500 App is unavailableerror.Error displayed on the terminal
Attempt to solve
When I deployed Dify on the company's intranet and called the API,I printed error messages.


I shut down my proxy server and firewall, but it didn't work.
And I tried testing the '/v1/chat messages' and' v1/conversion 'interfaces in Apifox and everything went smoothly, but when it came to the browser, it showed a 500 App is unavailable error.
There was no error message on the console. I checked the network option and found that the responses for all four interfaces were empty data.
Can anyone who has encountered this problem help me?I don't know how to fix it.
Local environment configuration
Node.js: 20.9.0
OS: Windows_NT x64 10.0.19045
@Jerryqjr commented on GitHub (Jul 28, 2024):
This issue has been resolved, I have modified my proxy configuration
@dxtbrave commented on GitHub (Aug 3, 2024):
@Jerryqjr commented on GitHub (Aug 5, 2024):
For the
GET/serviceWorker.js 404issue, it is because my previous project ChatGPT-Next-Web cached serviceWorker.js in the browser and only needed to clean up local storage to solve it.For the issue of
500 App is unavailable, I changed my proxy to direct connection and turned on the switch to allow LAN to solve it.