Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to Rabbit web server #2

Open
edenworky opened this issue Feb 9, 2024 · 3 comments
Open

Can't connect to Rabbit web server #2

edenworky opened this issue Feb 9, 2024 · 3 comments

Comments

@edenworky
Copy link

edenworky commented Feb 9, 2024

I install the dependencies and run it like so in the repl:

(require '[flowmaps.web :as fweb])
(fweb/start!)

It prints [:*web "starting flowmaps web ui debugger @ http://localhost:8080" "🐇"] and returns true, and I can see the java process listening on :8080, but when I try to access the server by visiting http://localhost:8080 the jetty server responds with:

Content-Type	application/json
Date	Fri, 09 Feb 2024 19:35:25 GMT
Server	Jetty(8.1.14.v20131031)
Transfer-Encoding	chunked

With JSON content:

{"error":"null for uri: http:\/\/localhost:8080\/"}

Not sure if I'm doing anything wrong here, I'm a bit new to Clojure. My project uses ring with no problems, so it's not some weird environmental java<->local_network jank.

(By the way, apparently the server process listening on :8080 doesn't shut down when I kill the repl with Ctrl+D, not sure if that's related)

@edenworky
Copy link
Author

Hm the plot thickens. I looked through the code a bit, and noticed localhost:3000 also being used. I visited that and I found the following error:
image

@edenworky
Copy link
Author

edenworky commented Feb 9, 2024

(I was using Clojure 1.11.1, but downgrading it to 1.10.3 as used in this project made no discernible difference.)

@edenworky
Copy link
Author

Downgrading to [com.ryrobes/flowmaps "0.2-SNAPSHOT"] seems to work as expected, though my flow errors out (but I think that might be my fault).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant