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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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"}}

    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