java.lang.IllegalArgumentException: No implementation of method: :on-close of protocol: #'org.httpkit.server/Channel found for class: nil
I am using http-kit with sente.
I am deploying a WAR file to openshift tomcat cartridge, which I created using lein-ring:
using the command:
I copy it to /webapps dir as ROOT.war and the WAR file is loaded OK and my webapp is loaded OK.
The exception occurs at this line:
(GET "/chsk" req (ring-ajax-get-or-ws-handshake req))
- as in the Sente examples.
The exception does NOT happen when I don't use a WAR file and just run it locally using:
The line at sente.clj where the exception occurs: