Support for UniFi OS-based controllers (UniFi Dream Machine Pro or Cloud Key Gen2/Cloud Key Gen2 Plus with firmware version 2.0.24 or higher) has been added as of version 1.1.47. The class automatically detects UniFi OS devices and adjusts URLs and several functions/methods accordingly. If your own code applies strict validation of the URL that is passed to the constructor, please adapt your logic to allow URLs without a port suffix when dealing with a UniFi OS-based controller.
So that says with the version I think you have, it's actually running UnifiOS and not the "standard controller" software. But it's not responding to the initial query the same way the UDMP does.
Let's try that initial test again, but this time with just http (in which case we don't need the -k either):
- Code: Select all
curl -v http://IP-ADDRESS:PORT