Priority
P1-Stopper
OS type
Ubuntu
Hardware type
Xeon-SPR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
commit ID: 0408453
Description
Starting from version 5.4.12, vite enable check host header to prevent DNS rebinding attacks and introduce server.allowedHosts, which blocks the ui access with hostname.
Reproduce steps
Build UI from source code install ui using helm chart. Then access the UI with hostname instead of ip address
Raw log
curl: (22) The requested URL returned error: 403
Blocked request. This host ("chatqna-chatqna-ui") is not allowed.
To allow this host, add "chatqna-chatqna-ui" to `server.allowedHosts` in vite.config.js.curl failed with code 22
Attachments
No response