Skip to content

Instantly share code, notes, and snippets.

jtlocsei /
Last active Jul 31, 2019
Edit and run code on remote server as if it's local with Clojure

Mirror + Clojure remote REPL

Motivation & summary

In a nutshell

Use mirror + clojure remote repl to edit and run clojure files on a server as if they're local.

What does it add beyond clojure remote REPL alone?

jtlocsei /
Last active Apr 8, 2019
Fixing bad_record_mac error when making requests to https requests using Clojure

Just a note to anyone experimenting with OpenJ9. When trying to make requests to https sites from my server using clj-http I'd get an error like this:

Syntax error (SSLException) compiling at (myapp.clj:485:1).
Received fatal alert: bad_record_mac

Updating to a more recent OpenJ9 (openj9-0.11.0-11.0.1) fixed the problem. Posting this here so it's findable on the web for anyone googling the problem. Probably also applies people writing Java as well as to people writing Clojure.

Note: Why OpenJ9 instead of OpenJDK? Because it uses approx 40% less RAM, so hosting is cheaper.