Hi Everyone! I'm very new to clojure, and serious programming in general - I was trying to setup hyperfiddle for my lein project and got a message like this:
user=> (agent/connect! "" sitemap)
INFO hyperfiddle.navigator-agent: Local Electric server started on port 35211
INFO hyperfiddle.navigator-agent: Tunnel WebSocket connected to cloud proxy
INFO hyperfiddle.navigator-agent: Tunnel WebSocket closed: 1008 Version mismatch: agent=74e60dd1f proxy=28240eaa2
Execution error (ExceptionInfo) at hyperfiddle.navigator-agent/connect! (navigator_agent.clj:432).
Timed out waiting for agent-id from cloud proxy
I'm pretty sure I did everything like I was supposed to, I thought maybe lein is somehow interfering? But I asked Gemini which repeatedly said that it's a problem on the hyperfiddle side, that apparently you forgot to give access to the new version to us measly mortals? 😮😅
So I'm letting you know 😉 (@dustingetz)Did you add the maven snapshot configuration to your deps.edn? It's mandatory for http://clojure.net to keep the client and server aligned when we update
here's an example https://github.com/hyperfiddle/datomic-browser/blob/9e0d64d1f75356730019d941f8934d0952b8ba17/deps.edn#L23-L24
since you are new it's worth highlighting that this is an extremely alpha tech demo
Thank you, yep, I added the snapshot. 🙂 And yeah, I get that it's alpha, but it looks like the kind of thing that will help me figure out how things work. 😉 I double checked deps.edn, thought maybe I didn't actually save the buffer, but I did. Retried the process, still the same error:
INFO hyperfiddle.navigator-agent: Tunnel WebSocket connected to cloud proxy
INFO hyperfiddle.navigator-agent: Tunnel WebSocket closed: 1008 Version mismatch: agent=74e60dd1f proxy=28240eaa2
I'm simply letting you know in case this is not just my problem, It doesn't really block me on anything. I'm glad I am having this error, because it led to me finding this slack community. 😄you're right, i can reproduce it, there's something wrong
It's working again, thanks for the report