Hi, I managed to configure this and it worked perfectly. Then I got a new UCK G2 plus, but am unable to add any cameras now.
The docker host running onvif-server is reachable on all macvlan interfaces, they all have good IPs, and are up - also, all the ports are reachable from Protect. Basically nothing changed in my configuration.
Unifi logs show:
root@uck:/srv/unifi-protect/logs#
2026-03-15T11:52:40.965Z - error: Failed to adopt camera Wrong ONVIF SOAP response
Error: Wrong ONVIF SOAP response
at /usr/share/unifi-protect/app/node_modules/onvif/lib/utils.js:74:15
at Parser.<anonymous> (/usr/share/unifi-protect/app/node_modules/xml2js/lib/parser.js:322:18)
at Parser.emit (node:events:524:28)
at SAXParser.onerror (/usr/share/unifi-protect/app/node_modules/xml2js/lib/parser.js:133:26)
at emit (/usr/share/unifi-protect/app/node_modules/sax/lib/sax.js:625:35)
at error (/usr/share/unifi-protect/app/node_modules/sax/lib/sax.js:654:5)
at strictFail (/usr/share/unifi-protect/app/node_modules/sax/lib/sax.js:678:7)
at beginWhiteSpace (/usr/share/unifi-protect/app/node_modules/sax/lib/sax.js:952:7)
at SAXParser.write (/usr/share/unifi-protect/app/node_modules/sax/lib/sax.js:1007:11)
at Parser.exports.Parser.Parser.parseString (/usr/share/unifi-protect/app/node_modules/xml2js/lib/parser.js:337:31)
at Parser.parseString (/usr/share/unifi-protect/app/node_modules/xml2js/lib/parser.js:5:59)
at Object.exports.parseString (/usr/share/unifi-protect/app/node_modules/xml2js/lib/parser.js:383:19)
at parseSOAPString (/usr/share/unifi-protect/app/node_modules/onvif/lib/utils.js:60:10)
at IncomingMessage.<anonymous> (/usr/share/unifi-protect/app/node_modules/onvif/lib/cam.js:330:4)
at IncomingMessage.emit (node:events:536:35)
at endReadableNT (node:internal/streams/readable:1698:12)
Is there any way I can debug the actual SOAP response?
Hi, I managed to configure this and it worked perfectly. Then I got a new UCK G2 plus, but am unable to add any cameras now.
The docker host running onvif-server is reachable on all macvlan interfaces, they all have good IPs, and are up - also, all the ports are reachable from Protect. Basically nothing changed in my configuration.
Unifi logs show:
Is there any way I can debug the actual SOAP response?