Closed marhog closed 2 years ago
I registered services with the system name MY-SYSTEM and ran into problems with the unregister method:
DELETE https://127.0.0.1:8443/serviceregistry/unregister?service_definition=servicedefinition&system_name=MY-SYSTEM&address=192.168.0.1&port=8888 Returns status code 400 (Bad payload) The same thing happens with the hyphen encoded to read MY%2DSYSTEM
WIth the system name 'MY-SYSTEM' or "MY-SYSTEM" the payload is accepted but results in a 401 DELETE https://127.0.0.1:8443/serviceregistry/unregister?service_definition=servicedefinition&system_name=%27MY-SYSTEM%27&address=192.168.0.1&port=8888 { "errorMessage": "Application system name ('MY-SYSTEM') and certificate common name (MY-SYSTEM.testcloud2.aitia.arrowhead.eu) do not match!", "errorCode": 401, "exceptionType": "AUTH" }
Closing this issue since I get the same problem without hyphens....
I registered services with the system name MY-SYSTEM and ran into problems with the unregister method:
DELETE https://127.0.0.1:8443/serviceregistry/unregister?service_definition=servicedefinition&system_name=MY-SYSTEM&address=192.168.0.1&port=8888 Returns status code 400 (Bad payload) The same thing happens with the hyphen encoded to read MY%2DSYSTEM
WIth the system name 'MY-SYSTEM' or "MY-SYSTEM" the payload is accepted but results in a 401 DELETE https://127.0.0.1:8443/serviceregistry/unregister?service_definition=servicedefinition&system_name=%27MY-SYSTEM%27&address=192.168.0.1&port=8888 { "errorMessage": "Application system name ('MY-SYSTEM') and certificate common name (MY-SYSTEM.testcloud2.aitia.arrowhead.eu) do not match!", "errorCode": 401, "exceptionType": "AUTH" }