Playing around with the I am having an issue starting the Clojure REPL.
I followed the instructions on the Datomic Cloud web site
and everything works are described.
When I clone the Datomic/ion-starter project and try to start the clj
REPL in the project folder I get :
Error building classpath. Failed to read artifact descriptor for com.datomic:ion:jar:0.9.7
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.datomic:ion:jar:0.9.7
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:276)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:192)
...
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.datomic:ion:pom:0.9.7 from/to datomic-cloud (s3://datomic-releases-1fc2183a/maven/releases): The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: E7ECBB8534175365; S3 Extended Request ID: JdbeFlXOjmjvOBCVh6kFG1lbDveby9QWge1jtIcDTi7AGeosTZ/oBHziljsgaV4hWbI1JjwS1/I=)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)
...
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.datomic:ion:pom:0.9.7 from/to datomic-cloud (s3://datomic-releases-1fc2183a/maven/releases): The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: E7ECBB8534175365; S3 Extended Request ID: JdbeFlXOjmjvOBCVh6kFG1lbDveby9QWge1jtIcDTi7AGeosTZ/oBHziljsgaV4hWbI1JjwS1/I=)
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
... 27 more
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: E7ECBB8534175365; S3 Extended Request ID: JdbeFlXOjmjvOBCVh6kFG1lbDveby9QWge1jtIcDTi7AGeosTZ/oBHziljsgaV4hWbI1JjwS1/I=), S3 Extended Request ID: JdbeFlXOjmjvOBCVh6kFG1lbDveby9QWge1jtIcDTi7AGeosTZ/oBHziljsgaV4hWbI1JjwS1/I=
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1592)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1257)
...
Looking at the deps.edn file:
;; Copyright (c) Cognitect, Inc.
;; All rights reserved.
{:paths ["src" "resources"]
:deps {com.datomic/ion {:mvn/version "0.9.7"}
org.clojure/data.json {:mvn/version "0.2.6"}
org.clojure/clojure {:mvn/version "1.9.0"}}
:mvn/repos {"datomic-cloud" {:url "s3://datomic-releases-1fc2183a/maven/releases"}}
:aliases
{:dev {:extra-deps {com.datomic/client-cloud {:mvn/version "0.8.54"}
com.datomic/ion-dev {:mvn/version "0.9.160"}}}}}
It seems I do not have access to the datomic-cloud maven repo.
Trying to list the files in the repo using the AWS Command Line tool also did not work:
$ aws s3 ls s3://datomic-releases-1fc2183a/maven/releases
An error occurred (NoSuchBucket) when calling the ListObjects operation: The specified bucket does not exist
Any help pointing me into the right direction is very much appreciated.