Z-Wave JS UI reconnecting continuously
bug
### Checklist
- [x] I am not using Home Assistant. Or: a developer has told me to come here.
- [x] I have checked the troubleshooting section and my problem is not described there.
- [x] I have read the changelog and my problem is not mentioned there.
### Deploy method
Home Assistant Add-on
### Z-Wave JS UI version
1.01
### ZwaveJS version
1.01
### Describe the bug
After installing Z-Wave JS version: 1.0.1 and then opening the UI it showing continual disconnection and connection repeating every second.
<img width="1537" height="442" alt="Image" src="https://github.com/user-attachments/assets/6868afba-8642-402d-90a3-324d6dbbf658" />
### To Reproduce
Open the UI via the zwave js application
### Expected behavior
Have the UI not continually reconnect.
### Additional context
Saw this is the Z-Wave JS log also,
`ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
at Object.xForwardedForHeader (file:///usr/local/lib/node_modules/zwave-js-ui/node_modules/express-rate-limit/dist/index.mjs:157:13)
at Object.wrappedValidations.<computed> [as xForwardedForHeader] (file:///usr/local/lib/node_modules/zwave-js-ui/node_modules/express-rate-limit/dist/index.mjs:369:22)
at Object.keyGenerator (file:///usr/local/lib/node_modules/zwave-js-ui/node_modules/express-rate-limit/dist/index.mjs:630:20)
at file:///usr/local/lib/node_modules/zwave-js-ui/node_modules/express-rate-limit/dist/index.mjs:682:32
at file:///usr/local/lib/node_modules/zwave-js-ui/node_modules/express-rate-limit/dist/index.mjs:663:5 {
code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'`
3 条评论