Fork me on GitHub
#datomic
<
2019-04-19
>
sooheon04:04:30

{:command-failed "{:op :push :creds-profile \"sportspedia\"}",
 :causes
 ({:message
   "Unable to find a unique code bucket. Make sure that you are running\nDatomic Cloud in the region you are deploying to.",
   :class ExceptionInfo,
   :data {"datomic:code" nil}})}

sooheon04:04:35

Has anyone seen this error before?

sooheon04:04:53

I’m able to connect and dev against Datomic Cloud, so it is running.

sooheon04:04:01

I gave explicit :region key and it seems to work — apparently wasn’t picking up region from the profile.

sooheon07:04:02

I’m having trouble understanding how ions work with component / mount. Is there a post about this anywhere?

p14n07:04:49

I do an explicit mount/start on first request

sooheon08:04:26

@p14n Ah I see. If you have N different endpoints, you just put the mount/start in each endpoint?

p14n08:04:36

I only have one graphql one, so that's convenient. Thinking of putting the startup behind a special URL I call after deploy tho

sooheon08:04:03

I see. Are you using lacinia and hooking up the graphql one to lacinia/execute?

stask19:04:42

hi, having an issue with ions tutorial, cant fetch ions dependency, getting following error:

Error building classpath. Failed to read artifact descriptor for com.datomic:ion:jar:0.9.28
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.datomic:ion:jar:0.9.28
 ...
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.datomic:ion:pom:0.9.28 from/to datomic-cloud (): Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: B62D357DA6A66B13; S3 Extended Request ID: GPC1UKcSUCjPudHXFq8r/krZOp03kN6L9DH717Sj3J91t/GLNvepfoV2g/0+dFRQmtRMnt6CVTw=)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:224)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:201)
	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:261)
	... 25 more
the deps.edn is taken from the documentation:
{:deps {com.datomic/ion {:mvn/version "0.9.28"}}
 :mvn/repos {"datomic-cloud" {:url ""}}
 :aliases
  {:dev {:extra-deps {com.datomic/ion-dev {:mvn/version "0.9.186"}}}}}

stask19:04:42

figured it out, had to specify AWS_PROFILE environment variable

👍 4