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"}}

JIRA | Chris Price | 2 years ago
  1. 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"}}
  2. 0

    Wrong credentials stop the app

    GitHub | 2 years ago | bamdadd
    clojure.lang.ExceptionInfo: clj-http: status 401 {:object {:orig-content-encoding nil, :trace-redirects ["https://goserver/go/cctray.xml"], :request-time 1131, :status 401, :headers {"WWW-Authenticate" "Basic realm=\"Restricted\"", "Connection" "close", "Content-Length" "194", "Content-Type" "text/html", "Date" "Mon, 23 Feb 2015 15:53:07 GMT ", "Server" "nginx/1.6.1"}, :body #<FilterInputStream$ff19274a clj_http.core.proxy$java.io.FilterInputStream$ff19274a@17354bff>}, :environment {client #<client$wrap_output_coercion$fn__5992 clj_http.client$wrap_output_coercion$fn__5992@3837497a>, req {:request-method :get, :url "https://goservergo/cctray.xml", :insecure? true, :timeout 3000 0, :headers {"Accept" "application/xml"}, :as :stream}, map__5876 {:orig-content-encoding nil, :trace-redirects ["https://goserver/go/cctray.xml"], :request-time 1131, :status 401, :headers {"WWW-Authenticate" "Basic realm=\"Restricted\"", "Connection" "close", "Content-Length" "194", "Content-Type" "text/html", "Date" "Mon, 23 Feb 2015 15:5 3:07 GMT", "Server" "nginx/1.6.1"}, :body #<FilterInputStream$ff19274a clj_http.core.proxy$java.io.FilterInputStream$ff19274a@17354bff>}, resp {:orig-content-encoding nil, :trace-redirects ["https://goserver/go/cctray.xml"], :request-time 1131, :status 401, :headers {"WWW-Authenticate" "Basic realm=\"Restricted\"", "Connection" "close", "Con tent-Length" "194", "Content-Type" "text/html", "Date" "Mon, 23 Feb 2015 15:53:07 GMT", "Server" "nginx/1.6.1"}, :body #<FilterInputStream$ff19274a clj_http.core.proxy$java.io.FilterInputStream$ff19274a@17354bff>}, status 401}}
  3. 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 ""}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Influx 0.13.0 with Riemann 0.2.10 - database is required

    GitHub | 3 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"}
  6. 0

    influxdb JSON write protocol has been deprecated

    GitHub | 8 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"}

    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

      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()
    2. puppetlabs.services.version
      version_check_core$check_for_updates.invoke
      1. puppetlabs.services.version.version_check_core$eval11916$update_info__11917$fn__11918.invoke(version_check_core.clj:76)[na:na]
      2. puppetlabs.services.version.version_check_core$eval11916$update_info__11917.invoke(version_check_core.clj:59)[na:na]
      3. puppetlabs.services.version.version_check_core$check_for_updates$fn__11936.invoke(version_check_core.clj:96)[na:na]
      4. puppetlabs.services.version.version_check_core$check_for_updates.invoke(version_check_core.clj:95)[na:na]
      4 frames