[ 
https://issues.apache.org/jira/browse/MRM-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cristian Tarsoaga updated MRM-1940:
-----------------------------------
    Summary: Slashes appended to remote repo url  (was: Slashes appended to 
repo url)

> Slashes appended to remote repo url
> -----------------------------------
>
>                 Key: MRM-1940
>                 URL: https://issues.apache.org/jira/browse/MRM-1940
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: ubuntu 14.04.1 LTS
>            Reporter: Cristian Tarsoaga
>         Attachments: archiva-20170502 - Copy.log
>
>
> Archiva is used with remote repositories. I added two repo urls
> - http://nexus.thenewmotion.com/content/groups/public/
> - http://repo.maven.apache.org/maven2/
> Nexus repo is fine, maven central is not.
> Logs only show this:
> 2017-05-02 12:51:31,265 [qtp2059174882-28] ERROR 
> org.apache.cxf.jaxrs.utils.JAXRSUtils [] - No message body writer has been 
> found for class org.apache.archiva.rest.services.ArchivaRestError, 
> ContentType: text/plain
> So I enabled debug logs (in log4j2.xml), and now I see this
> 2017-05-02 13:40:38,286 [Thread-49] DEBUG 
> org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue [] - pool
> 2017-05-02 13:40:38,300 [qtp725397266-25] DEBUG 
> org.apache.archiva.proxy.common.DebugTransferListener [] - wagon debug 
> http://nexus.thenewmotion.com/content/groups/public/// - Status code: 200
> 2017-05-02 13:40:38,325 [Thread-42] DEBUG 
> org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue [] - pool
> 2017-05-02 13:40:38,386 [Thread-49] DEBUG 
> org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue [] - pool
> 2017-05-02 13:40:38,425 [Thread-42] DEBUG 
> org.apache.archiva.redback.components.taskqueue.DefaultTaskQueue [] - pool
> 2017-05-02 13:40:38,445 [qtp725397266-25] DEBUG 
> org.apache.archiva.redback.rest.services.interceptors.ThreadLocalUserCleaner 
> [] - handleMessage
> 2017-05-02 13:40:38,459 [qtp725397266-23] DEBUG 
> org.apache.archiva.proxy.common.DebugTransferListener [] - wagon debug 
> https://repo.maven.apache.org/maven2/// - Status code: 404
> 2017-05-02 13:40:38,460 [qtp725397266-23] DEBUG 
> org.apache.archiva.redback.rest.services.interceptors.ThreadLocalUserCleaner 
> [] - handleMessage
> 2017-05-02 13:40:38,460 [qtp725397266-23] ERROR 
> org.apache.cxf.jaxrs.utils.JAXRSUtils [] - No message body writer has been 
> found for class org.apache.archiva.rest.services.ArchivaRestError, 
> ContentType: text/plain
> ==============
> Seems that Archiva appends two slashes at the end of my urls.
> Somehow nexus works, allows those extra slashes. 
> Maven Central doesn't.
> I get the same error if I do not add myself one trailing slash.
> I still get two slashes at the end, and Maven Central query results in 404.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to