Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.2.0
-
None
Description
I have a proxy repository for http://bower.herokuapp.com/ when I tried to do bower install ng-dialog I'm getting the following error.
bower install ng-dialog bower ENOTFOUND Package ng-dialog not found
The following is the server log.
2017-10-25 09:51:46,698+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.bower.internal.BowerProxyFacetImpl - Fetching: GET http://bower.herokuapp.com/packages/ng-dialog HTTP/1.1 2017-10-25 09:51:46,713+0400 DEBUG [nexus-httpclient-eviction-thread] *SYSTEM org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Closing expired connections 2017-10-25 09:51:46,713+0400 DEBUG [nexus-httpclient-eviction-thread] *SYSTEM org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Closing connections idle longer than 30000 MILLISECONDS 2017-10-25 09:51:46,747+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.httpclient.outbound - http://bower.herokuapp.com:80/packages/ng-dialog > GET /packages/ng-dialog HTTP/1.1 2017-10-25 09:51:46,764+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Connection request: [route: {}->http://bower.herokuapp.com:80][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 200] 2017-10-25 09:51:47,039+0400 DEBUG [nexus_QuartzSchedulerThread] *SYSTEM org.sonatype.nexus.quartz.internal.orient.JobStoreImpl - Acquire next triggers: noLaterThan=1508910737039, maxCount=1, timeWindow=0 2017-10-25 09:51:47,039+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Connection leased: [id: 15500][route: {}->http://bower.herokuapp.com:80][total kept alive: 0; route allocated: 1 of 20; total allocated: 1 of 200] 2017-10-25 09:51:47,485+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Connection [id: 15500][route: {}->http://bower.herokuapp.com:80] can be kept alive for 30.0 seconds 2017-10-25 09:51:47,485+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.internal.httpclient.SharedHttpClientConnectionManager - Connection released: [id: 15500][route: {}->http://bower.herokuapp.com:80][total kept alive: 1; route allocated: 1 of 20; total allocated: 1 of 200] 2017-10-25 09:51:47,485+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.httpclient.outbound - http://bower.herokuapp.com:80/packages/ng-dialog < HTTP/1.1 308 Permanent Redirect @ 787.0 ms 2017-10-25 09:51:47,485+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.httpclient.internal.BlockingHttpClient - Remote status: Remote Available 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.bower.internal.BowerProxyFacetImpl - Response: HttpResponseProxy{HTTP/1.1 308 Permanent Redirect [Server: Cowboy, Connection: keep-alive, Content-Type: application/json, Location: https://registry.bower.io/packages/ng-dialog, Date: Wed, 25 Oct 2017 05:51:47 GMT, Content-Length: 0, Via: 1.1 vegur] [Content-Type: application/json,Content-Length: 0,Chunked: false]} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.bower.internal.BowerProxyFacetImpl - Status: HTTP/1.1 308 Permanent Redirect 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.cache.internal.NegativeCacheFacetImpl - Adding PathNegativeCacheKey{path='/packages/ng-dialog'}=Status{successful=false, code=404, message='null'} to negative-cache of RepositoryImpl$$EnhancerByGuice$$dc09c205{type=proxy, format=bower, name='bower-io-proxy'} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.view.Router - Response: Response{status=Status{successful=false, code=404, message='null'}, payload=null} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.view.Router - Response: Response{status=Status{successful=false, code=404, message='null'}, payload=null} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Request: Request{action='GET', path='/packages/ng-dialog', parameters={}, payload=HttpRequestPayloadAdapter{contentType='null', size=-1}, multipart=false} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.DefaultHttpResponseSender - Sending response: Response{status=Status{successful=false, code=404, message='null'}, payload=StringPayload{size=0, charset=UTF-8, contentType='text/plain'}} 2017-10-25 09:51:47,486+0400 DEBUG [qtp1035295856-56661] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Service completed 2017-10-25 09:51:48,722+0400 DEBUG [qtp1035295856-56733] *UNKNOWN org.apache.shiro.web.servlet.SimpleCookie - Found 'NXSESSIONID' cookie value [2d0a659b-3d33-4af9-8551-2582785d55be]
Attachments
Issue Links
- relates
-
NEXUS-14483 Bower proxy repository does not follow 301/302/308 HTTP redirect
-
- Open
-