This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-08
Channels
- # announcements (3)
- # babashka (3)
- # beginners (25)
- # calva (12)
- # cider (58)
- # clara (11)
- # clj-kondo (19)
- # cljsrn (2)
- # clojure (84)
- # clojure-austin (1)
- # clojure-europe (5)
- # clojure-nl (4)
- # clojure-spec (23)
- # clojure-uk (53)
- # clojuredesign-podcast (5)
- # clojurescript (24)
- # core-async (57)
- # cursive (16)
- # datomic (39)
- # emacs (1)
- # fulcro (40)
- # funcool (2)
- # graphql (17)
- # jackdaw (31)
- # jobs (2)
- # joker (3)
- # malli (7)
- # off-topic (12)
- # re-frame (9)
- # reagent (2)
- # reitit (1)
- # ring (4)
- # shadow-cljs (170)
- # sql (36)
- # tools-deps (5)
- # xtdb (20)
Does anyone know what caused such an error when trying to create a new database in Datomic?
Unhandled clojure.lang.ExceptionInfo
Error communicating with HOST 127.0.0.1 on PORT 4334
Caused by org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException
The transactor has been started with no errors using local Postgres. The PG’s database and user exist.The most common cause for this is misconfigured host and alt-host in your transactor properties file
okay, so i got past my issue with not being able to download from
by changing it to https:
. Now it downloads everything but get stuck on com.datomic:java-io:jar:0.1.11. here’s my deps. all other datomic artifacts downloaded
@matthewdaniel What AWS Region are you in? Are you trying to perform this action locally or in an aws codebuild (Or something like it)?
locally. my deploy is going to be going to us-east-2 but even when i try aws s3 cp
i’m unable to get the file.
Ah, dang I was thinking it was a different issue I know the answer to. What does "get stuck on..." mean? Do you have a stacktrace?
I don't think there is a com.datomic/java-io 0.1.11
I would be interested to know what your original exception was
any chance you could roll back and do clj -Sdeps '{:aliases {:v {:verbose true}}}' -A:v:dev -Stree
and attach the output as a file here?
@alexmiller what do you mean by roll back
how are you getting the tree if you're failing to get the deps?
that tree is showing com.datomic/java-io 0.1.14 - why were you trying to get 0.1.10?
i’m not sure. i ran your command to get the tree and i ran clojure -Adev -m datomic.ion.dev '{:op :push :creds-profile "default" :region "us-east-2" :uname "test1"}'
and got the other message. i haven’t changed anything
would a rollback
fix things? I’m new to this so not sure why i’d get different dep warnings based on what i typed into the terminal
different aliases will affect what classpath you're building
I'm trying to get to the point where you are having an error to figure out why you are having it
sorry i’m not being more helpful but i’m not following well. All i’ve done basically is add a deps.edn file and ion-config.edn file and tried to push. it starts downloading a bunch of deps and tips over on the java-io one. would it help to rm my maven repository and push again?
hard for me to say
what you posted above doesn't seem to hit that, so not sure what the problem is
when i ran the above it output something like “downloading … ion-dev” and many other files. Those were created in .m2/repository path.
rm -rf ~/.m2/repository
caused a widescale download. it did download java-io 1.14 but failed later on java-io 1.11
I mean originally you were using s3 url and something didn't work that sent you down this path. what error were you getting at the beginning?
in the very beginning i was getting a problem downloading com.datomic/ion from the deps.
Running into this while trying to deploy via CodeDeploy. UnknownError
just shows Access Denied
when expanded. What would cause this?
Well, the IAM policy for that bucket, not the bucket itself. Hence the Access Denied
.
@matthewdaniel Do you have valid AWS credentials in the environment where you retrieve the deps? I think I encountered something like it in the past and this was the issue (even though the s3 maven repo is public, you need some credentials)
i entered my credentials into the .m2/settings.xml and it did not help. I am however able to download all packages if i use the https endpoints for the files. It just seems that i now have a deps issue where it is downloading a version of java-io from datomic that doesn’t exist. Even if i try to aws s3 cp
for the file i’m unable to get it.
when i do clj -Adev -m datomic.ion.dev '{:op :push :creds-profile "default" :region "us-east-2" :uname "test1"}'
it downloads maybe a hundred files and one of them is java-io 1.14 but then much later in the process i get the following error
{:command-failed
"{:op :push :creds-profile \"default\" :region \"us-east-2\" :uname \"test1\"}",
:causes
({:message
"Failed to read artifact descriptor for com.datomic:java-io:jar:0.1.11",
:class ArtifactDescriptorException}
{:message
"Could not transfer artifact com.datomic:java-io:pom:0.1.11 from/to datomic-cloud (): Forbidden (403)",
:class ArtifactResolutionException}
{:message
"Could not transfer artifact com.datomic:java-io:pom:0.1.11 from/to datomic-cloud (): Forbidden (403)",
:class ArtifactTransferException}
{:message "Forbidden (403)", :class HttpResponseException})}
@dmarjenburgh @alexmiller well, i cheated and renamed and copied .m2/repository 1.14 into 1.11 and it carried on its downloads pass the break and successfully pushed. 😳:man-shrugging: thank you for your help. since i’m only at the initial stage for starting a side project i’ll just see if i can carry on without doing it the right way for now.