/hub/allowSubnets Redirects to Login Page & Authentication Fails


C7 v2.5.1.183

I browse to http://192.168.0.25/hub/allowSubnets

and I am redirected to http://192.168.0.25/login?loginRedirect=%2Fhub%2FallowSubnets


And when I enter my uname and pw, I'm redirected back to the same page.

There's nothing in the logs to indicate the endpoint was queried or that authentication failed. How do I enable this logging?

This endpoint requires a valid URL parameter. Does it change anything if you try one? You can find an example here:

Since you are one major release behind, I’d also see if anything in 2.5.2 changes anything (I don’t recall anything specific, but you can roll back with the Diagnostic Tool if you have a reason for this).

From Release Notes: 2.2.9 | Hubitat Documentation

"Restricted non-local access to the hub. Allows non-local subnet whitelisting by using /hub/allowSubnets endpoint, e.g. /hub/allowSubnets?123.123.123.0,124.124.124.0. Running endpoint without parameters displays currently whitelisted subnets."