This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-17
Channels
- # aleph (4)
- # announcements (2)
- # babashka (85)
- # beginners (136)
- # calva (72)
- # clj-commons (32)
- # clj-kondo (7)
- # cljs-dev (3)
- # clojure (117)
- # clojure-europe (38)
- # clojure-nl (3)
- # clojure-norway (1)
- # clojure-uk (4)
- # clojurescript (19)
- # conjure (38)
- # core-logic (2)
- # cursive (10)
- # datalevin (1)
- # datalog (1)
- # datomic (6)
- # events (2)
- # fulcro (16)
- # google-cloud (5)
- # graphql (10)
- # gratitude (3)
- # hugsql (3)
- # luminus (5)
- # membrane-term (12)
- # missionary (2)
- # nextjournal (5)
- # off-topic (3)
- # pedestal (2)
- # polylith (7)
- # portal (3)
- # re-frame (6)
- # reagent (26)
- # reclojure (8)
- # releases (3)
- # reveal (5)
- # shadow-cljs (14)
- # spacemacs (20)
- # sql (3)
- # tools-build (3)
- # web-security (9)
I want to test something against a local proxy:
(require '[aleph.http :as aleph]
'[manifold.deferred :as d])
(def aleph-pool (aleph/connection-pool {:connection-options
{:proxy-options {:host "localhost"
:port 8080}}}))
(d/on-realized (aleph/get url {:pool aleph-pool})
(fn [r] (println "Status: " (:status r)))
(fn [e] (println "Error type: " (type e))))
but I am running into io.netty.handler.ssl.NotSslRecordException
whenever I request a https
site. Can I somehow circumvent this on the client side or do I need to fix the ssl certificates for my proxy server? I am not having this issue with other clients like http-kit
.Hmm, this sounds like a bug I saw recently…
Nm, that was for tests, I doubt it would apply here. @UL638RXE2 I would try setting up a valid local TLS cert if you can.