Fork me on GitHub
#datomic
<
2020-05-10
>
murtaza5209:05:42

I am using datomic cloud and running a proxy client locally to connect to it - bin/datomic client access my-storage Intermittently the process stops accepting connections and my clojure code starts timing out in my repl. Has anyone else experienced this. It just starts working after some time. Any number of process restarts does not help. This is the error I get in the repl -

{:cognitect.anomalies/category :cognitect.anomalies/unavailable,
    :cognitect.anomalies/message "Total timeout 60000 ms elapsed",
    :config
    {:server-type :cloud,
     :region "us-east-2",
     :system "jra-storage",
     :endpoint "",
     :proxy-port 8182,
     :creds-profile "my",
     :endpoint-map
     {:headers {"host" ""},
      :scheme "http",
      :server-name "",
      :server-port 8182}}}
This is the output I see on my console after starting the datomic process -
debug1: Local connections to LOCALHOST:8182 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 8182.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 8182.
debug1: channel 1: new [port listener]
debug1: Requesting 
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype  want_reply 0
Any help will be appreciated.