clojure.lang.ExceptionInfo: clj-http: status 400 {:orig-content-encoding "gzip", :trace-redirects ["http://192.168.33.100:8086/write"], :request-time 6, :status 400, :headers {"Connection" "close", "Content-Length" "57", "Date" "Fri, 19 Aug 2016 02:38:51 GMT", "X-Influxdb-Version" "0.13.0", "Request-Id" "105d86db-65b6-11e6-85b4-000000000000", "Content-Type" "application/json"}, :body "{\"error\":\"database is required\"}\n"}

GitHub | rudijs | 4 months ago
  1. 0

    Influx 0.13.0 with Riemann 0.2.10 - database is required

    GitHub | 4 months ago | rudijs
    clojure.lang.ExceptionInfo: clj-http: status 400 {:orig-content-encoding "gzip", :trace-redirects ["http://192.168.33.100:8086/write"], :request-time 6, :status 400, :headers {"Connection" "close", "Content-Length" "57", "Date" "Fri, 19 Aug 2016 02:38:51 GMT", "X-Influxdb-Version" "0.13.0", "Request-Id" "105d86db-65b6-11e6-85b4-000000000000", "Content-Type" "application/json"}, :body "{\"error\":\"database is required\"}\n"}
  2. 0

    GitHub comment 610#142941964

    GitHub | 1 year ago | lowl4tency
    clojure.lang.ExceptionInfo: clj-http: status 400 {:orig-content-encoding nil, :trace-redirects ["https://app.datadoghq.com/api/v1/series?api_key="], :request-time 38, :status 400, :headers {"Connection" "Close", "Content-Length" "0", "X-Content-Type-Options" "nosniff", "Strict-Transport-Security" "max-age=15724800;", "DD-POOL" "dogdispatcher", "Date" "Thu, 24 Sep 2015 14:07:55 GMT", "Content-Type" "text/plain; charset=UTF-8"}, :body ""}
  3. 0

    influxdb JSON write protocol has been deprecated

    GitHub | 9 months ago | huahaiy
    clojure.lang.ExceptionInfo: clj-http: status 400 {:orig-content-encoding "gzip", :trace-redirects ["http://localhost:8086/write"], :request-time 3, :status 400, :headers {"Connection" "close", "Content-Length" "76", "Date" "Thu, 24 Mar 2016 19:01:34 GMT", "X-Influxdb-Version" "0.11.0", "Request-Id" "d417caab-f1f2-11e5-8039-000000000000", "Content-Type" "application/json"}, :body "{\"error\":\"JSON write protocol has been deprecated\"}\n"}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sending slack msgs with custom event attributes - Part 2

    Google Groups | 1 year ago | Matt
    clojure.lang.ExceptionInfo: clj-http: status 500 {:orig-content-encoding nil, :trace-redirects ["https://hooks.slack.com/services/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"], :request-time 561, :status 500, :headers {"Connection" "Close", "Content-Length" "17", "X-Frame-Options" "SAMEORIGIN", "Strict-Transport-Security" "max-age=31536000; includeSubDomains; preload", "Server" "Apache", "Date" "Tue, 22 Sep 2015 17:51:55 GMT", "Content-Type" "text/html", "Access-Control-Allow-Origin" "*"}, :body "No text specified"}
  6. 0

    When running from source (via a SNAPSHOT version), the version check code may log an exception that looks like this: {code} 2014-10-15 22:19:56,402 DEBUG [p.s.v.version-check-core] Could not retrieve update information (http://updates.puppetlabs.com) clojure.lang.ExceptionInfo: throw+: {:type :puppetlabs.services.version.version-check-core/update-request-failed, :message {:opts {:persistent false, :as :text, :dec ompress-body true, :body nil, :headers {"Accept" "application/json"}, :method :get, :url "http://updates.puppetlabs.com?product=puppetserver&group=puppetlabs.package s&version="}, :orig-content-encoding nil, :status 400, :headers {"connection" "keep-alive", "content-length" "43", "date" "Wed, 15 Oct 2014 20:19:56 GMT", "server" " nginx"}, :content-type nil, :body " is not a valid semantic version number, yo"}} at puppetlabs.services.version.version_check_core$eval11916$update_info__11917$fn__11918.invoke(version_check_core.clj:76) ~[na:na] at puppetlabs.services.version.version_check_core$eval11916$update_info__11917.invoke(version_check_core.clj:59) ~[na:na] at puppetlabs.services.version.version_check_core$check_for_updates$fn__11936.invoke(version_check_core.clj:96) ~[na:na] at puppetlabs.services.version.version_check_core$check_for_updates.invoke(version_check_core.clj:95) [na:na] at puppetlabs.services.version.version_check_service$reify__11949$service_fnk__5300__auto___positional$reify__11956$fn__11957.invoke(version_check_service.cl j:15) [na:na] at clojure.core$binding_conveyor_fn$fn__4107.invoke(core.clj:1836) [clojure-1.5.1.jar:na] at clojure.lang.AFn.call(AFn.java:18) [clojure-1.5.1.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] {code} We should add some better error handling.

    JIRA | 2 years ago | Chris Price
    clojure.lang.ExceptionInfo: throw+: {:type :puppetlabs.services.version.version-check-core/update-request-failed, :message {:opts {:persistent false, :as :text, :dec ompress-body true, :body nil, :headers {"Accept" "application/json"}, :method :get, :url "http://updates.puppetlabs.com?product=puppetserver&group=puppetlabs.package s&version="}, :orig-content-encoding nil, :status 400, :headers {"connection" "keep-alive", "content-length" "43", "date" "Wed, 15 Oct 2014 20:19:56 GMT", "server" " nginx"}, :content-type nil, :body " is not a valid semantic version number, yo"}}

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. clojure.lang.ExceptionInfo

      clj-http: status 400 {:orig-content-encoding "gzip", :trace-redirects ["http://192.168.33.100:8086/write"], :request-time 6, :status 400, :headers {"Connection" "close", "Content-Length" "57", "Date" "Fri, 19 Aug 2016 02:38:51 GMT", "X-Influxdb-Version" "0.13.0", "Request-Id" "105d86db-65b6-11e6-85b4-000000000000", "Content-Type" "application/json"}, :body "{\"error\":\"database is required\"}\n"}

      at clj_http.client$wrap_exceptions$fn__9677.invoke()
    2. kifshare
      client$post.doInvoke
      1. clj_http.client$wrap_exceptions$fn__9677.invoke(client.clj:183)
      2. clj_http.client$wrap_accept$fn__9829.invoke(client.clj:536)
      3. clj_http.client$wrap_accept_encoding$fn__9835.invoke(client.clj:550)
      4. clj_http.client$wrap_content_type$fn__9824.invoke(client.clj:525)
      5. clj_http.client$wrap_form_params$fn__9906.invoke(client.clj:697)
      6. clj_http.client$wrap_nested_params$fn__9923.invoke(client.clj:726)
      7. clj_http.client$wrap_method$fn__9876.invoke(client.clj:641)
      8. clj_http.cookies$wrap_cookies$fn__8113.invoke(cookies.clj:124)
      9. clj_http.links$wrap_links$fn__8969.invoke(links.clj:51)
      10. clj_http.client$wrap_unknown_host$fn__9932.invoke(client.clj:742)
      11. clj_http.client$post.doInvoke(client.clj:857)
      11 frames
    3. Clojure
      RestFn.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:423)
      1 frame
    4. riemann
      core$instrumentation_service$measure__5736.invoke
      1. riemann.influxdb$influxdb_9$stream__10987.invoke(influxdb.clj:176)
      2. riemann.streams$default$stream__5044$fn__5055.invoke(streams.clj:1353)
      3. riemann.streams$default$stream__5044.invoke(streams.clj:1353)
      4. riemann.core$stream_BANG_$fn__5727.invoke(core.clj:19)
      5. riemann.core$stream_BANG_.invoke(core.clj:18)
      6. riemann.core$instrumentation_service$measure__5736.invoke(core.clj:57)
      6 frames
    5. riemann.service
      ThreadService$thread_service_runner__3283.invoke
      1. riemann.service.ThreadService$thread_service_runner__3283$fn__3284.invoke(service.clj:71)
      2. riemann.service.ThreadService$thread_service_runner__3283.invoke(service.clj:70)
      2 frames
    6. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame