To resolve the issue:
- Track down the exact error in the UM log file collector.log. The error will be similar to this one:
WARN [Collector X] nsx.NsxFeatureDetector: Request failed for Url https://[nsx-host]:443/api/4.0/edges/[edge-id]
WARN [Collector X] nsx.NsxFeatureManager: Unable to request NSX topology for [nsx-host]
java.lang.Exception: Request failed for Url https://[nsx-host]:443/api/4.0/edges/[edge-id]
- Execute get request to the failing URL to retrieve the response. You can use curl:
curl -k --user <nsx_username>:<nsx_password> https://[nsx-host]:443/api/4.0/edges/[edge-id] - Use an XML validator to find the invalid character in the XML response. You can use https://www.w3schools.com/xml/xml_validator.asp. (Invalid XML characters are: "&", "<", ">" and quotes.)
- In the NSX Manager, find the object with invalid name. Delete it and then create it anew with a valid name.