This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-25
Channels
- # announcements (16)
- # babashka (110)
- # babashka-sci-dev (11)
- # beginners (50)
- # biff (3)
- # calva (1)
- # clj-commons (19)
- # clj-kondo (1)
- # clojure (17)
- # clojure-art (19)
- # clojure-austin (5)
- # clojure-berlin (2)
- # clojure-denmark (3)
- # clojure-europe (101)
- # clojurescript (84)
- # clr (1)
- # core-async (2)
- # emacs (3)
- # helix (5)
- # honeysql (4)
- # hyperfiddle (8)
- # introduce-yourself (2)
- # jobs (1)
- # lsp (18)
- # membrane (2)
- # reagent (5)
- # releases (3)
- # shadow-cljs (10)
- # tools-deps (24)
Anyone knows what's up with this?
(require '[babashka.http-client :as http])
(http/get "")
Type: javax.net.ssl.SSLHandshakeException
Message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Location: /tmp/repro.clj:8:1
the gist would be that the cert provided by the server is not trusted/issued by a CA trusted by the JVM - I have to deal with this specific error all the time at work, because we have internal CAs that have to be added to the JVM trust stores
As far as i can see (havent dug much) bb.edn tasks cannot have java imports like it has :requires
right?
is it something that's worth supporting?
I don't intend adding more stuff to bb.edn than strictly necessary for "coding". You can use a fully qualified name or you can just write some code in a regular .clj
file. The latter is encouraged anyway if your task grows past a couple of lines.
yeah i had bunch of tiny tasks using the same java class and thats where i started wondering
I usually add a .tasks
.bb
, .build
or bb
folder and add that to :paths [...]
in the bb.edn
and then use :requires
to load that code
its no where a blocker for me, just wondering if its something we'd wanna consider as an intuitive thing. like :imports