Fork me on GitHub
#datomic
<
2018-12-27
>
adamfrey16:12:07

Hi, everyone. I'm trying to go through the datomic ions tutorial but I'm hitting a permissions issue when trying to download the ions dependency from the datomic s3 maven repo. I get:

Could not transfer artifact com.datomic:ion:pom:0.9.28 from/to datomic-cloud (): Access Denied
I've tried many permutations of setting the AWS credentials through the environment vars as well as the ~/.aws/credentials file but nothing's changed. Any ideas?

marshall16:12:40

@adamfreywhat step are you seeing this?

adamfrey16:12:21

just running clj in the ion-starter repo

marshall16:12:34

locally on your machine or on an EC2 instance?

marshall16:12:41

interesting usually that ^ occurs when you’re on an instance that doesnt have IAM permissions to use S3

marshall16:12:42

have you run aws configure or otherwise set up your default AWS credentials>

adamfrey16:12:22

yes, my laptop had AWS credentials for my work account in the ~/.aws/credentials file. I created a new AWS account for this tutorial and put that user name and password under the [datomic-tutorial] header in that file. But it doesn't seem to work with either credentials

adamfrey16:12:01

should I be able to do this?:

aws s3 ls                                                                                                             

adamfrey16:12:31

because I get access denied trying to do that as well

adamfrey16:12:40

oh @marshall I just fixed it using your comment. My new IAM user needed S3FullPermissions to be attached

adamfrey16:12:44

thanks for your help!

mrg20:12:54

Hey, I'm running into java.lang.IllegalStateException: Attempting to call unbound fn: #'datomic.common/requiring-resolve with clojure 1.10.0 and datomic-free-0.9.5703

mrg20:12:18

Could anyone point me in the right direction?

mrg20:12:22

it's possible for me to (in-ns 'datomic.common) (def requiring-resolve clojure.core/requiring-resolve) but that doesn't seem right 🙂

mrg20:12:15

oh, I thought this happened on transaction, but actually this is the offending function:

mrg20:12:22

Ah, got it. Clojure/string is not part of the transactor and I need to use .toLowerCase instead. I'm coming from datahike where this worked