5
votes

The AWS command line tools appear to be broken on both Linux (Ubuntu PP) and Windows (7). In both cases, after setting up the login credentials correctly and trying to run the most basic tool (getBalance.sh), I get a failure to authenticate.

An error occurred while fetching your balance: This request must be made over a secure channel. You must use 'https' rather than 'http'.

Seems simple enough, but there's nothing in the manual nor in the installed directory which would suggest that this is an option supported by the command line tools.

Has someone already modified the shell scripts to use a secured connection? If not, any clues as to where I should begin the modifications?

1

1 Answers

11
votes

I haven't used the tools extensively so can't say this solution is extensively tested but getBalance.sh worked after doing this

See this thread:

https://forums.aws.amazon.com/message.jspa?messageID=333485

From the link:

Edit the Command Line Tools Installation Directory\bin\mturk.properties file and edit the service_url to use https instead of http – i.e. https://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester for production, and https://mechanicalturk.sandbox.amazonaws.com/?Service=AWSMechanicalTurkRequester for sandbox.