Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webnut crashing with internal server error when receiving an ERR message from the nut-server #9

Open
gitmachtl opened this issue Mar 20, 2024 · 0 comments

Comments

@gitmachtl
Copy link

@TechaNima reached out to me with a problem using webNUT in combination with my apcupsd NUT wrapper script i wrote a while ago.

gitmachtl/various#5 (comment)

webNUT is requesting descriptions from the NUT-Server. if the server responds with a valid ERR UNKNOW-COMMAND, webNUT crashes with an internal server error.

meanwhile, i have added the GET UPSDESC <upsname> command and also the GET DESC <upsname> <varname> command.
but webNUT should not crash at any point when receiving an error message ERR ... from a NUT-Server.

best regards,
martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant