openwrt / openwrt/packages

nut-cgi Only shows Authorization Required message

Open
#25,277 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

release/21.02 release/23.05
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Issue template (remove lines from top till here)

Maintainer: @\neheb
Environment: UBNT_E300 (CN7030p1.2-1000-AAP) / Ubiquiti EdgeRouter 4 / OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-23.093.57360-e98243e

Description:

After proper configuration of nut-monitor I installed nut-CGI, so I can now access my router /nut webpage, properly loading and showing stats and configuration links.

image

When accessing any of them, only a black page with "Authorization required" is shown.

image

I don't know what to do as the logs show that nut-monitor is properly connected to remote UPS (with authorization) and nut-cgi doesn't have any property for authorization.

What may be I missing?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nut-cgi package and the linked OpenWrt nut_cgi documentation, then compare its configuration with the working nut-monitor setup and the reported logs. Done means the /nut page's configuration and statistics links display their expected content instead of only “Authorization required”.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.