Fail to upload modules to artifactory with auth (401 1501) error

View: New views
3 Messages — Rating Filter:   Alert me  

Fail to upload modules to artifactory with auth (401 1501) error

by Qwerty777 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm having difficulty uploading one specific module to artifactory. I'm using mvn release:prepare, then mvn release:perform to tag/release modules. Everything works except for one specific module. They all use the same root pom file, so the connection information (as well as the auth info in settings.xml) *should* be correct, given it works for everything else.

Here's the *only* error that I see:
XXX.XXX.XXX.XXX -  -  [11/06/2008:00:04:33 +0000] "PUT /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar HTTP/1.1" 401 1501
XXX.XXX.XXX.XXX -  -  [11/06/2008:00:05:04 +0000] "PUT /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar HTTP/1.1" 401 1501

Does anyone have an idea what error this may be?
We are using artifactory-1.2.0.1.

I understand that 401 implies an auth error (after searching this mailing list for a while), but I have not seen a problem like mine yet (or at least failed to find one while searching).

Also, I've enabled more logging by modifying log4j.properties file, but I do not see artifactory.log file that people seem to imply exists somewhere. I do see a consoleout.log file in the logs dir, but that doesn't spit out anything useful with regards to this error either.

Thank you for your help!
Koichi

Re: Fail to upload modules to artifactory with auth (401 1501) error

by Qwerty777 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Qwerty777 wrote:
Hello,

I'm having difficulty uploading one specific module to artifactory. I'm using mvn release:prepare, then mvn release:perform to tag/release modules. Everything works except for one specific module. They all use the same root pom file, so the connection information (as well as the auth info in settings.xml) *should* be correct, given it works for everything else.

Here's the *only* error that I see:
XXX.XXX.XXX.XXX -  -  [11/06/2008:00:04:33 +0000] "PUT /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar HTTP/1.1" 401 1501
XXX.XXX.XXX.XXX -  -  [11/06/2008:00:05:04 +0000] "PUT /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar HTTP/1.1" 401 1501

Does anyone have an idea what error this may be?
We are using artifactory-1.2.0.1.

I understand that 401 implies an auth error (after searching this mailing list for a while), but I have not seen a problem like mine yet (or at least failed to find one while searching).

Also, I've enabled more logging by modifying log4j.properties file, but I do not see artifactory.log file that people seem to imply exists somewhere. I do see a consoleout.log file in the logs dir, but that doesn't spit out anything useful with regards to this error either.

Thank you for your help!
Koichi
If it helps, I've upgraded my Artifactory to 1.2.5 final, and now I get a 401 1528 error instead. I am still not able to release this module only.

Thanks!

Re: Fail to upload modules to artifactory with auth (401 1501) error

by freddy33 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You may try to remove the @repo from the URL it's a legacy format.
Strange problem indeed. you are sure you can deploy to the same repo.
Sending piece of the artifactory.log and access.log under ${artifactory.home}/logs will help understanding the problem.

Good luck.

On Fri, Jun 13, 2008 at 2:46 AM, Qwerty777 <ichikoo@...> wrote:


Qwerty777 wrote:
>
> Hello,
>
> I'm having difficulty uploading one specific module to artifactory. I'm
> using mvn release:prepare, then mvn release:perform to tag/release
> modules. Everything works except for one specific module. They all use the
> same root pom file, so the connection information (as well as the auth
> info in settings.xml) *should* be correct, given it works for everything
> else.
>
> Here's the *only* error that I see:
> XXX.XXX.XXX.XXX -  -  [11/06/2008:00:04:33 +0000] "PUT
> /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar
> HTTP/1.1" 401 1501
> XXX.XXX.XXX.XXX -  -  [11/06/2008:00:05:04 +0000] "PUT
> /artifactory/some_repo@repo/com/company/task-handler/1.0/task-handler-1.0.jar
> HTTP/1.1" 401 1501
>
> Does anyone have an idea what error this may be?
> We are using artifactory-1.2.0.1.
>
> I understand that 401 implies an auth error (after searching this mailing
> list for a while), but I have not seen a problem like mine yet (or at
> least failed to find one while searching).
>
> Also, I've enabled more logging by modifying log4j.properties file, but I
> do not see artifactory.log file that people seem to imply exists
> somewhere. I do see a consoleout.log file in the logs dir, but that
> doesn't spit out anything useful with regards to this error either.
>
> Thank you for your help!
> Koichi
>
>

If it helps, I've upgraded my Artifactory to 1.2.5 final, and now I get a
401 1528 error instead. I am still not able to release this module only.

Thanks!
--
View this message in context: http://www.nabble.com/Fail-to-upload-modules-to-artifactory-with-auth-%28401-1501%29-error-tp17784810p17812155.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
http://freddy33.blogspot.com/
http://www.jfrog.org/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users