login about faq

Hi I downloaded your demo for vb6

I am specifically looking to use it with amazon S3 The demo kicks back error 403 forbidden.

I am using the the proper keys. Is the DLL upto date and still supported for AWS or am I doing something wrong?

If I can get the demo to work then I want to buy this - providing it works of course. I using it as a reference, if I try and load it as a control it loads, however the controls are not rendered properly. They come up as black squares.

If its no longer supported for vb6, is it for .net? I don't really want to use .net - but I will if I have to.

`S3_ListBucketObjects: DllDate: Mar 11 2016 ChilkatVersion: UnlockPrefix: Anything for 30-day trial Username: WIN7VM:GateKeeper Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 bucketName: monkeyjack awsAuthHeaderV2: stringToSign: GET

Mon, 21 Mar 2016 17:46:52 +0000 /monkeyjack/ --awsAuthHeaderV2 s3_hostHeader: monkeyjack.s3.amazonaws.com Authorization: AWS replacedmykey24365789 httpRequestStr: a_quickReq: quickHttpRequest: httpVerb: GET url: http://monkeyjack.s3.amazonaws.com/ openHttpConnection: Opening connection directly to HTTP server. httpHostname: monkeyjack.s3.amazonaws.com httpPort: 80 ssl: 0 HTTP connection succeeded. --openHttpConnection buildQuickRequest: genStartLine: startLine: GET / HTTP/1.1 --genStartLine addCookies: Not auto-adding cookies. sendCookies: 1 cookieDir: --addCookies --buildQuickRequest sendRequestHeader: sendHeaderElapsedMs: 0 --sendRequestHeader statusCode: 403 statusText: Forbidden readResponseBody: Response is chunked. --readResponseBody --quickHttpRequest --a_quickReq convertResponseBodyToUtf8: No charset specified, assuming Windows-1252 Converting to utf-8 charset. fromCodePage: 1252 --convertResponseBodyToUtf8 Returning failed status because of HTTP response code. --httpRequestStr Failed. --S3_ListBucketObjects --ChilkatLog `

asked Mar 21 at 11:08

Rick's gravatar image


edited Mar 21 at 11:12

Hi Rick,

Please check to see if this latest pre-release fixes it:

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-win32.zip

64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-x64.zip

If not, please let me know.


answered Mar 21 at 11:33

chilkat's gravatar image

chilkat ♦♦

Thanks for the response - same failure

(Mar 21 at 13:40) Rick

What is the exact string passed to S3_ListBucketObjects?

(Mar 21 at 13:41) chilkat ♦♦

Dim bucketname As String

bucketname = "monkeyjack"

Dim xmlStr As String

xmlStr = http.S3_ListBucketObjects(bucketname)

(Mar 21 at 14:06) Rick

Try setting the http.AwsSignatureVersion property = 4

(Mar 21 at 14:14) chilkat ♦♦

I just tested, and everything works OK for me..

(Mar 21 at 14:16) chilkat ♦♦

Setting the property to 4 did not work, so

on a hunch i tracked down that <error>RequestTimeTooSkewed<message>

My NTPS service was turned off. Once I turned it on and synced my clock to microsoft... All your code samples worked.

A) Sorry to waste your time on what was my error

B) Thank you for taking the time to help

C) I'm going to run the dll through it's paces and then buy it.

Again, Thank you :)


(Mar 21 at 15:33) Rick

I take it back - everything works except for

Create bucket and delete bucket

Delete file works

(Mar 21 at 16:55) Rick

I was right the first time, they do all work. I did not know i had to set the permissions in the IAM console.

All is good now. I'll be back in a few days.

(Mar 21 at 20:17) Rick
showing 5 of 8 show all

I don't know if this helps you any ...

If i use your S3 sample code to delete a file I get the response below. All the rest of the S3 code samples kick back the 403 error

responseHeader: x-amz-request-id: 2665388F2E6C5812 x-amz-id-2: i7sY9NzdG7EatOJb/n/oOn5cKiHd/MRC1MNnCx15s6++qr95fNNzBTUbmxrmnT/4 Content-Type: application/xml Transfer-Encoding: chunked Date: Mon, 21 Mar 2016 18:09:43 GMT Server: AmazonS3 responseBody: <?xml version="1.0" encoding="UTF-8"?> <error>RequestTimeTooSkewed<message>The difference between the request time and the current time is too large.</message><requesttime>Mon, 21 Mar 2016 21:04:21 +0000</requesttime><servertime>2016-03-21T18:09:45Z</servertime><maxallowedskewmilliseconds>900000</maxallowedskewmilliseconds><requestid>2665388F2E6C5812</requestid><hostid>i7sY9NzdG7EatOJb/n/oOn5cKiHd/MRC1MNnCx15s6++qr95fNNzBTUbmxrmnT/4</hostid></error> Failed. --S3_DeleteObject --ChilkatLog


answered Mar 21 at 14:12

Rick's gravatar image


edited Mar 21 at 14:13

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 21 at 11:08

Seen: 407 times

Last updated: Mar 21 at 20:17

powered by OSQA