« Return to Thread: Artifactory repository serving URLs that point to localhost:8080

Re: Artifactory repository serving URLs that point to localhost:8080

by Tim Boudreau :: Rate this Message:

Reply to Author | View in Thread

Yoav Landman wrote:
> Hi Tim,
>
> You need to use - ProxyPreserveHost on
> as suggested here:
> http://wiki.jfrog.org/confluence/display/RTF/Running+Behind+Apache+HTTPD
> That should resolve the wrong URLs.
>  
Thanks so much!  That did it!  Amen!
> The deployment errors you are getting indicate a permission configuration
> problem.
> Did you give the user in question "deploy" permissions on the repository
> path you try to deploy into (you can temporarily make the user an admin to
> verify it's a permission issue). Also, the server-side artifactory.log
> should contain more information on why deployment failed.
>  
The user in question has deploy permissions - and I've used that user to
deploy artifacts via the web interface.  I've tried both with and
without a master password and password encryption (non-encrypted gets me
a 400 error, and IIRC, encrypted gets me a 401).  This is the relevant
section in $HOME/.m2/settings.xml

    <localRepository>H:\LocalMavenRepository</localRepository>
    <mirrors>
        <mirror>
            <id>artifactory</id>
            <mirrorOf>*</mirrorOf>
            <url>http://timboudreau.com/mvn/repo</url>
            <name>Artifactory</name>
        </mirror>
    </mirrors>
    <servers>
        <server>
            <id>timboudreau.com</id>
            <username>mgr</username>
            <password>xxxxxxxx</password>
<!--            <password>{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=}</password> -->
            <filePermissions>664</filePermissions>
            <directoryPermissions>775</directoryPermissions>
            <configuration></configuration>
        </server>
    </servers>

Any ideas?

-Tim


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Artifactory repository serving URLs that point to localhost:8080