This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-28
Channels
- # announcements (8)
- # architecture (10)
- # babashka (24)
- # beginners (93)
- # calva (2)
- # chlorine-clover (6)
- # cider (2)
- # cljfx (3)
- # cljsrn (5)
- # clojure (59)
- # clojure-australia (2)
- # clojure-canada (9)
- # clojure-europe (46)
- # clojure-nl (3)
- # clojure-spain (1)
- # clojure-spec (2)
- # clojure-uk (6)
- # clojurescript (98)
- # cryogen (20)
- # datomic (22)
- # depstar (14)
- # emacs (4)
- # etaoin (2)
- # figwheel-main (1)
- # fulcro (5)
- # graalvm (1)
- # java (69)
- # malli (33)
- # off-topic (5)
- # pathom (1)
- # re-frame (14)
- # reagent (10)
- # shadow-cljs (24)
- # sql (22)
- # vim (2)
Hello all, not sure this was covered here but using org.httpkit.client with insecure? option still gives me http://javax.net.ssl.SSLHandshakeException.
I.e. can you test on the JVM to see if it works over there. Then we would know if this is an issue with bb + httpkit or httpkit only.
tested with http-kit 2.5.0
and jdk 1.8
with no issues.
@UMFRQDVU1 babashka uses the SNI client by default. did you also do this?
i didn’t let me check
You can see the wiring here: https://github.com/borkdude/babashka/blob/master/feature-httpkit-client/babashka/impl/httpkit_client.clj
You might be able to get the default client (non SNI) using client/default-client
https://github.com/http-kit/http-kit/blob/059deac93b1662077d52e1eb81bef9db8c89d746/src/org/httpkit/client.clj#L97
will try sni
does seem to take issue with self-signed certs
(alter-var-root #'client/*default-client* (constantly client/default-client))
should reset it to the original
yep :status 200
thanks so much!!!!
yea i can imagine others will trip over it if using self-signed certs
has anyone any clue why
(= *file* (System/getProperty "babashka.file")
results into
{:type clojure.lang.ExceptionInfo
:message No namespace: System found
:data {:type :sci/error, :line 1, :column 7, :message No namespace: System found, :callstack #object[clojure.lang.Delay 0x1bf465d3 {:status :pending, :val nil}], :file nil, :locals {}}
:at [sci.impl.utils$rethrow_with_location_of_node invokeStatic utils.cljc 104]}
?@borkdude Nice! I tried using edamame for some code analysis from Babashka, but ran into some issues. Did you try/think about this? Maybe this edamame string parser could be included in the exported functions in babashka?
@U0FT7SRLP Note that there is also https://github.com/babashka/pod-babashka-parcera now
Ah cool, yeah that would do it
Thanks!