tag:help.appveyor.com,2012-11-13:/discussions/problems/6684-s3-uploads-reporting-success-but-not-showing-in-s3AppVeyor: Discussion 2018-10-19T08:18:21Ztag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T11:40:46Z2017-05-17T11:40:46ZS3 Uploads reporting success but not showing in S3<div><p>I thought i had posted this yesterday, so sorry if this is somehow duplicated</p></div>jbruetttag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T15:47:03Z2017-05-17T15:47:03ZS3 Uploads reporting success but not showing in S3<div><p>Please try to remove <a href="https://github.com/jbruett/dsc-domain/blob/master/AppVeyor/AfterTests.ps1#L17">this</a> line. You upload the same artifact twice and you uploading it from script without setting artifact deployment name (<code>zip</code> in your case). Though you use his name when you upload it from YAML, it seems it does not take any effect because the same file is already uploaded. Your deployment depends deployment name ('zip' in your case) and because of this does not happen.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T18:23:35Z2017-05-17T18:23:35ZS3 Uploads reporting success but not showing in S3<div><p>Thanks Illya, i removed that line and re-ran the app. I'm getting an error that I had gotten before but haven't found the fix.</p>
<pre>
<code>Deploying using S3 provider
Uploading artifact "DomainMof.zip" (625,627 bytes) to S3 bucket "jb2w-powershell-dsc-mofs" as "DomainMof.zip"
The request signature we calculated does not match the signature you provided. Check your key and signing method.</code>
</pre></div>jbruetttag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T18:33:02Z2017-05-17T18:33:02ZS3 Uploads reporting success but not showing in S3<div><p>This error comes from AWS API and probably means wrong access key. Could it be that you double-encrypted your AWS keys, by entering them into <a href="https://ci.appveyor.com/tools/encrypt">https://ci.appveyor.com/tools/encrypt</a>, and then to AWS deployment provider UI? In any case if you re-enter your keys, with ensuring that no double-encryption happens and no leading/trailing spaces when you encrypt them, i should start working.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T18:59:01Z2017-05-17T19:00:23ZS3 Uploads reporting success but not showing in S3<div><p>So i guess I'm confused about that. I took the real keys (from the csv file) and encrypted them using the appveyor encrypt page. i then put that encrypted string in as the value for the deployment provider, is that not right? I have them written as follows:</p>
<pre>
<code> access_key_id:
secure: qWXc5bw/IvA59IACTLx0HUn5M8cUuOKLQ3JEczfyDY0=</code>
</pre>
<p>the text after <code>secure:</code> is from the encrypt page</p></div>jbruetttag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T19:28:54Z2017-05-17T19:28:54ZS3 Uploads reporting success but not showing in S3<div><p>If you put encrypted values into UI and then export configuration to YAML, values will be double-encrypted. If you simple put encrypted values directly to YAML, it is correct.</p>
<p>But error from AWS API is still related to wrong key, maybe you need to repeat that operation to ensure you included all characters and no unneeded spaces.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/425758432017-05-17T20:20:47Z2017-05-17T20:20:47ZS3 Uploads reporting success but not showing in S3<div><p>that was it...i switched them out once previously and it still didn't work, created a new set of keys and encrypted them and it's all working now! Thanks Ilya</p></div>jbruett