One more thing - once you let the upload through and ignore the checksum
warning, please compare the size of the original artifact with the size
reported in the Artifactory UI and with the size of the artifact after it is
downloaded from Artifactory. You may have a real network issue that is
corrupting your uploads.
On Sat, Nov 13, 2010 at 12:53 AM, Yoav Landman <[email protected]> wrote:
> Hi Ben,
>
> As a quick workaround you can set the repository's 'Checksum Policy' to
> 'Trust Server Generated Checksums' (under the 'Advanced' sub-panel).
> Can you point us at the original URL from which the zip archive you are
> trying to deploy was downloaded, so that we can verify the checksum and see
> if the problem is reproducible?
>
> Thanks,
>
> Yoav
>
>
> On Thu, Nov 11, 2010 at 3:26 PM, bahaar <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I'm trying to publish artifacts to our artifactory server and for some
>> items, the publication fails with an error similar to this:
>>
>> impossible to publish artifacts for com.planon-fm#jdk-pack;work...@pc03333
>> :
>> java.io.IOException: PUT operation to URL
>> http://ourartifactoryserver.
>> .com:/artifactory/SF_third_party/com/planon-fm/jdk-pack/1.6.0_21/jdk-pack-1.6.0_21-windows_amd64.zip.sha1
>> failed with status code 409
>>
>> The artifactory server log states:
>> 2010-11-11 14:06:38,998 [http-28080-4] [WARN ]
>> (o.a.e.UploadServiceImpl:310)
>> - Sending HTTP error code 409: Checksum error for
>>
>> 'com/planon-fm/jdk-pack/1.6.0_21/jdk-pack-1.6.0_21-windows_amd64.zip.sha1':
>> received 'aac2c361530bdd3e5490224c7ec6499154219f65' but actual is
>> '4c69e7cab3330b4532f5b09ff0677c876558ab1f'.
>>
>> I've calculated the sha1 checksum of jdk-pack-1.6.0_21-windows_amd64.zip
>> on
>> my machine (pc03333) and did the same on the artifactory server. Both sha1
>> checksums are the same (aac2c361530bdd3e5490224c7ec6499154219f65). It
>> seems
>> the artifactory server's sha1 checksum is incorrect.
>>
>> My setup: artifactory 2.3.1 running on tomcat-6.0.20 with jdk-1.6.0_22.
>>
>> I'm at a loss as to why this occurs and would be grateful if someone could
>> help me solve this problem.
>>
>> Regards,
>>
>> Ben
>>
>> --
>> View this message in context:
>> http://forums.jfrog.org/ivy-publish-fails-due-to-sha1-checksum-error-tp5728645p5728645.html
>> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>> Simplifying enterprise desktop deployment and management using
>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>> client virtualization framework. Read more!
>> http://p.sf.net/sfu/dell-eql-dev2dev
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
>
>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users