# Delete component service failed

**URL:** <https://community.sonatype.com/t/delete-component-service-failed/2463>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [September 10, 2019, 6:12pm UTC](https://community.sonatype.com/t/delete-component-service-failed/2463 "2019-09-10T18:12:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arodrigal](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@arodrigal](https://community.sonatype.com/u/arodrigal)\
**Post date:** [September 10, 2019, 6:12pm UTC](https://community.sonatype.com/t/delete-component-service-failed/2463/1 "2019-09-10T18:12:04Z")

</div>

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](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](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](https://support.sonatype.com/hc/requests/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://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](https://support.sonatype.com/hc/requests/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?

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [September 10, 2019, 7:00pm UTC](https://community.sonatype.com/t/delete-component-service-failed/2463/2 "2019-09-10T19:00:53Z")

</div>

Check the nexus.log to see what the error was.

I’d also advise upgrading, 3.10.0 is pretty old, the rest api has been out of beta for a long time now. The current version is 3.18.1.
