<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Http Service Exception in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Http-Service-Exception/m-p/70151#M14283</link>
    <description>&lt;P&gt;If anyone wants to know, it was because of the wrong port number.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jun 2012 00:32:31 GMT</pubDate>
    <dc:creator>KAjnadkar</dc:creator>
    <dc:date>2012-06-08T00:32:31Z</dc:date>
    <item>
      <title>Http Service Exception</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Http-Service-Exception/m-p/70150#M14282</link>
      <description>&lt;P&gt;My Code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        config.put("host", "https://xxxx.yyyyyyyy.com");
        config.put("port", 8089);
        Service service = new Service(config);
        ServiceInfo serviceInfo = service.getInfo();
        System.out.println(serviceInfo.getVersion());
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Exception:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;java.lang.RuntimeException: https
at com.splunk.HttpService.send(Unknown Source)
at com.splunk.Service.send(Unknown Source)
at com.splunk.HttpService.get(Unknown Source)
at com.splunk.Entity.refresh(Unknown Source)
at com.splunk.Entity.refresh(Unknown Source)
at com.splunk.Resource.validate(Unknown Source)
at com.splunk.Entity.validate(Unknown Source)
at com.splunk.Entity.getContent(Unknown Source)
at com.splunk.Entity.getString(Unknown Source)
at com.splunk.ServiceInfo.getVersion(Unknown Source)
at cache.Cache.run(Cache.java:57)
at cache.Cache.main(Cache.java:35)
========================================================================================
#noobAlert
Can someone tell me what mistake I am making?
I am new to Splunk and my mistake will most likely be something ridiculously simple.
Thanks
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jun 2012 19:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Http-Service-Exception/m-p/70150#M14282</guid>
      <dc:creator>KAjnadkar</dc:creator>
      <dc:date>2012-06-07T19:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Http Service Exception</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Http-Service-Exception/m-p/70151#M14283</link>
      <description>&lt;P&gt;If anyone wants to know, it was because of the wrong port number.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2012 00:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Http-Service-Exception/m-p/70151#M14283</guid>
      <dc:creator>KAjnadkar</dc:creator>
      <dc:date>2012-06-08T00:32:31Z</dc:date>
    </item>
  </channel>
</rss>

