Fork me on GitHub
Joe Corneli15:03:38

I am trying to connect to a new Drawbridge setup, here's what I see.

Joe Corneli15:03:04

$ AUTH_USER=myuser AUTH_PASS=mypass lein repl :connect 
Connecting to nREPL at 
SSLException Unrecognized SSL message, plaintext connection? ( ( ( ( ( (
	org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket (
	org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket (
	org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect (
	org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect (
	org.apache.http.impl.execchain.MainClientExec.establishRoute (
	org.apache.http.impl.execchain.MainClientExec.execute (
Bye for now!

Joe Corneli15:03:26

Have also tried with lein repl :connect :[email protected]:8080/repl

Joe Corneli15:03:32

I get the same error

Joe Corneli15:03:59

This is on:

$ lein --version
Leiningen 2.9.1 on Java 1.8.0_242 OpenJDK 64-Bit Server VM


are you actually using ssl for


(I just to make sure because using ssl for a local dev server is unusual)

Joe Corneli20:03:42

@hiredman yes, we are using HTTPS. (I did try with HTTP and that is turned off.) What I want to do is connect to the instance on Heroku, ultimately, and it is definitely using HTTPS across the board.


You should curl whatever url and see what you get