This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-13
Channels
- # atlanta-clojurians (1)
- # beginners (148)
- # boot (13)
- # capetown (1)
- # cider (38)
- # cljs-dev (92)
- # clojure (61)
- # clojure-brasil (1)
- # clojure-dev (6)
- # clojure-italy (21)
- # clojure-losangeles (1)
- # clojure-nl (7)
- # clojure-norway (20)
- # clojure-spec (70)
- # clojure-uk (64)
- # clojurescript (69)
- # core-async (11)
- # cursive (6)
- # data-science (2)
- # datomic (50)
- # docker (2)
- # duct (12)
- # figwheel (1)
- # fulcro (81)
- # graphql (19)
- # jobs (3)
- # jobs-discuss (44)
- # keechma (1)
- # leiningen (1)
- # mount (2)
- # off-topic (10)
- # onyx (19)
- # parinfer (3)
- # portkey (6)
- # re-frame (4)
- # reagent (145)
- # reitit (1)
- # ring (1)
- # ring-swagger (2)
- # specter (1)
- # sql (4)
- # tools-deps (43)
- # unrepl (29)
- # vim (1)
I have a compojure api, I get a request from a device to the endpoint. The log is something like this:
2018-03-13 05:27:11,846 [XNIO-1 task-6] INFO ring.logger.tools-logging - Starting :post /api/comms/new_packet for 115.42.250.66 {"connection" "close", "accept" "application/json", "keep-alive" "timeout=30", "from" "xxxxx", "content-type" "application/json", "content-length" "217", "user-agent" "curl/7.54.0", "host" "xxxxx"}
2018-03-13 05:27:11,847 [XNIO-1 task-6] DEBUG ring.logger.tools-logging - Request details: {:remote-addr "xxxxx", :server-port 8000, :content-length 217, :content-type "application/json", :character-encoding "ISO-8859-1", :uri "/api/comms/new_packet", :server-name "xxxxx", :query-string nil, :scheme :http, :request-method :post}
2018-03-13 05:27:11,847 [XNIO-1 task-6] INFO ring.logger.tools-logging - \ - - - - Params: {}
After this, there’s nothing. No response, and my handler is not invoked. If I send a request from swagger ui to this endpoint, I see the response in the logs after that last line.
I am sure that this is a bug in the device’s request. I only want to know how to get details on server side why the request is not reaching the handler.
Any logging/debugging methods to find this out?