I am trying to connect to a new Drawbridge setup, here's what I see.
$ AUTH_USER=myuser AUTH_PASS=mypass lein repl :connect <https://127.0.0.1:8080>
Connecting to nREPL at <https://127.0.0.1:8080>
SSLException Unrecognized SSL message, plaintext connection?
sun.security.ssl.InputRecord.handleUnknownRecord (InputRecord.java:710)
sun.security.ssl.InputRecord.read (InputRecord.java:527)
sun.security.ssl.SSLSocketImpl.readRecord (SSLSocketImpl.java:975)
sun.security.ssl.SSLSocketImpl.performInitialHandshake (SSLSocketImpl.java:1367)
sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1395)
sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1379)
org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket (SSLConnectionSocketFactory.java:396)
org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket (SSLConnectionSocketFactory.java:355)
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect (DefaultHttpClientConnectionOperator.java:142)
org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect (BasicHttpClientConnectionManager.java:323)
org.apache.http.impl.execchain.MainClientExec.establishRoute (MainClientExec.java:381)
org.apache.http.impl.execchain.MainClientExec.execute (MainClientExec.java:237)
Bye for now!
Have also tried with lein repl :connect <https://myuser>:mypass@127.0.0.1:8080/repl
I get the same error
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 127.0.0.1:8080?
(I just to make sure because using ssl for a local dev server is unusual)
@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
OK