I have tested from swagger page in NRM server and delete service work but I have tried from curl or nodejs failed.
Swagger url is:
https://hostnexus/nexus/swagger-ui/#!/components/deleteComponent
The following request failed with 404 error:
curl -v -X DELETE --header ‘Accept: application/json’ ‘https://hostnexus/nexus/service/rest/beta/components/VFBJSU5PUEVORl9TbmFwc2hvdDphYmUxNzY4NmU5YWVlYzU2NDg1NGUxNTU1OWY1M2NlMw’
< HTTP/1.1 404 Not Found
< Date: Thu, 05 Sep 2019 07:04:29 GMT
< Server: Nexus/3.10.0-04 (OSS)
< X-Frame-Options: sameorigin
< Strict-Transport-Security: max-age=63072000; includeSubDomains
< Referrer-Policy: same-origin
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-Siesta-FaultId: fbb5d863-024e-4a94-a3d8-7d80d53aad5e
< Content-Length: 0
< X-XSS-Protection: 1; mode=block
<
- Connection #0 to host hostnexus left intact
The following reques failed with 500 error and timeout:
curl -v -u username:password -X DELETE --header ‘Accept: application/json’ ‘http://hostnexus/nexus/service/rest/beta/components/VFBJSU5PUEVORl9TbmFwc2hvdDphYmUxNzY4NmU5YWVlYzU2NDg1NGUxNTU1OWY1M2NlMw’
< HTTP/1.1 500 Server Error
< Date: Thu, 05 Sep 2019 07:01:52 GMT
< Server: Nexus/3.10.0-04 (OSS)
< X-Frame-Options: sameorigin
< Strict-Transport-Security: max-age=63072000; includeSubDomains
< Referrer-Policy: same-origin
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< Content-Type: text/plain;charset=utf-8
< X-Siesta-FaultId: 4464f3ba-f4a2-487b-9ecd-cdd25b14cad1
< Content-Length: 149
< X-XSS-Protection: 1; mode=block
< nnCoection: close
<
- Connection #0 to host hostnexus left intact
ERROR: (ID 4464f3ba-f4a2-487b-9ecd-cdd25b14cad1) java.lang.IllegalStateException: Timed out reading query result from queue 595a6306 after 60 seconds
Is there some problem with delete service when origin request is out of server?