nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
2020-03-05T21:49:33.014Z

Hey, I think I was wrong about HTTPS on dev!

2020-03-05T21:49:38.014300Z

I have switched it to HTTP

2020-03-05T21:50:12.014900Z

Still doesn't seem to work with lein but here is what I get with curl:

$ curl -v <http://127.0.0.1:8080/repl>
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
&gt; GET /repl HTTP/1.1
&gt; Host: 127.0.0.1:8080
&gt; User-Agent: curl/7.58.0
&gt; Accept: */*
&gt; 
&lt; HTTP/1.1 200 OK
&lt; Set-Cookie: openmarkets-client-session=dd0c18227184047e7d9dc37a4a3e9b8e69479577471006d5be21803fea5965a3;Path=/;HttpOnly
&lt; Server: Aleph/0.4.4
&lt; Connection: Keep-Alive
&lt; Date: Thu, 05 Mar 2020 21:48:37 GMT
&lt; content-length: 0
&lt; 
* Connection #0 to host 127.0.0.1 left intact

2020-03-05T21:51:25.015500Z

However lein now reports the following:

$ lein repl :connect <http://127.0.0.1:8080/repl>
Connecting to nREPL at <http://127.0.0.1:8080/repl>
ExceptionInfo clj-http: status 403 {:cached nil, :request-time 127, :repeatable? false, :protocol-version {:name "HTTP", :major 1, :minor 1}, :streaming? true, :http-client #object[org.apache.http.impl.client.InternalHttpClient 0x4db0ba1c "org.apache.http.impl.client.InternalHttpClient@4db0ba1c"], :chunked? false, :type :clj-http.client/unexceptional-status, :reason-phrase "Forbidden", :headers {"Content-Type" "text/html", "Server" "Aleph/0.4.4", "Connection" "Close", "Date" "Thu, 05 Mar 2020 20:54:24 GMT", "content-length" "35"}, :orig-content-encoding nil, :status 403, :length 35, :body #object[clj_http.core.proxy$<http://java.io|java.io>.FilterInputStream$ff19274a 0x1578fa9 "clj_http.core.proxy$<http://java.io|java.io>.FilterInputStream$ff19274a@1578fa9"], :trace-redirects []}
	slingshot.support/stack-trace (support.clj:201)
	clj-http.client/exceptions-response (client.clj:245)
	clj-http.client/exceptions-response (client.clj:236)
	clj-http.client/wrap-exceptions/fn--3699 (client.clj:254)
	clj-http.client/wrap-accept/fn--3945 (client.clj:737)
	clj-http.client/wrap-accept-encoding/fn--3952 (client.clj:759)
	clj-http.client/wrap-content-type/fn--3939 (client.clj:720)
	clj-http.client/wrap-form-params/fn--4048 (client.clj:961)
	clj-http.client/wrap-nested-params/fn--4069 (client.clj:995)
	clj-http.client/wrap-flatten-nested-params/fn--4078 (client.clj:1019)
	clj-http.client/wrap-method/fn--4006 (client.clj:895)
	clj-http.cookies/wrap-cookies/fn--1851 (cookies.clj:131)
Bye for now!