API - Not Authenticated after upgrade
Posted: Thu Nov 23, 2023 5:08 pm
Hi,
I've upgraded from 1.36.33 to 1.37.47 and the system is working but zmNinja isn't. I've checked the API settings from here: https://zmninja.readthedocs.io/en/lates ... g-api.html but the monitors.json returns the following:
{
"success": false,
"data": {
"name": "Not Authenticated",
"message": "Not Authenticated",
"url": "/zm/api/monitors.json",
"exception": {
"class": "UnauthorizedException",
"code": 401,
"message": "Not Authenticated"
}
}
}
This is from a second tab in my browser with the first tab logged in to Zoneminder.
The settings were all correct except for AUTH_HASH_IPS which I had to disable. Not sure if this got changed during the upgrade but still get Not Authenticated. Restarted the Zoneminder service too.
zmNinja seems to suggest it authenticates but can't load the events list.
I've upgraded from 1.36.33 to 1.37.47 and the system is working but zmNinja isn't. I've checked the API settings from here: https://zmninja.readthedocs.io/en/lates ... g-api.html but the monitors.json returns the following:
{
"success": false,
"data": {
"name": "Not Authenticated",
"message": "Not Authenticated",
"url": "/zm/api/monitors.json",
"exception": {
"class": "UnauthorizedException",
"code": 401,
"message": "Not Authenticated"
}
}
}
This is from a second tab in my browser with the first tab logged in to Zoneminder.
The settings were all correct except for AUTH_HASH_IPS which I had to disable. Not sure if this got changed during the upgrade but still get Not Authenticated. Restarted the Zoneminder service too.
zmNinja seems to suggest it authenticates but can't load the events list.