You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Unifi OS 3.2.7 and Unifi 8. I just switched from the USG. I found that in order to get node-unifi to work I had to modify the source code to change the URL to not have a port number. I tried ports 80, 443 and 8443 and all failed. I can't explain it -- is this a known problem
//this._baseurl = new URL(`https://${options.host}:${options.port}`);
this._baseurl = new URL(`https://${options.host}`);
The text was updated successfully, but these errors were encountered:
Uh oh - -it worked but now has stopped working so I don't know what is happening:
(node:41208) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
index.js:5
2023-12-21 20:10:11 Upsnarf: Logging in
upsnarf.ts:145
login Request failed with status code 429
upsnarf.ts:59
AxiosError: Request failed with status code 429 getting info DID THE CONTROLLER CHANGE ?
upsnarf.ts:194
2023-12-21 20:10:12 ERROR AxiosError: Request failed with status code 429
upsnarf.ts:145
Uncaught AxiosError AxiosError
at loadESM (internal/process/esm_loader:34:33)
at processTicksAndRejections (internal/process/task_queues:95:5)
--- await ---
at runMainESM (internal/modules/run_main:98:21)
at executeUserEntryPoint (internal/modules/run_main:131:5)
at <anonymous> (internal/main/run_main_module:28:49)
esm_loader:34
Process exited with code 1
Perhaps an example with sample credentials would help (user:username;password; https://unifi}?
I'm running Unifi OS 3.2.7 and Unifi 8. I just switched from the USG. I found that in order to get node-unifi to work I had to modify the source code to change the URL to not have a port number. I tried ports 80, 443 and 8443 and all failed. I can't explain it -- is this a known problem
The text was updated successfully, but these errors were encountered: