<?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: Getting com.splunk.HttpException: HTTP 404 exception While connect the Splunk using Service.connect method in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340491#M5190</link>
    <description>&lt;P&gt;Can you put question in 101010 editor?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 07:53:11 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2018-03-13T07:53:11Z</dc:date>
    <item>
      <title>Getting com.splunk.HttpException: HTTP 404 exception While connect the Splunk using Service.connect method</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340490#M5189</link>
      <description>&lt;P&gt;Am getting com.splunk.HttpException: HTTP 404 error while connect the Splunk Can you help to resolve this issue.&lt;/P&gt;

&lt;P&gt;Exception in thread "main" com.splunk.HttpException: HTTP 404 -- !DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http:&lt;A href="http://www.w3.orgTRxhtml1DTDxhtml1-strict.dtd" target="_blank"&gt;www.w3.orgTRxhtml1DTDxhtml1-strict.dtd&lt;/A&gt;"&lt;BR /&gt;
!-- &lt;BR /&gt;
    This is a static HTML string template to render errors.  To edit this&lt;/P&gt;

&lt;H2&gt;    template, see appservermrsparkleliberror.py. &lt;/H2&gt;

&lt;P&gt;html xmlns="http:&lt;A href="http://www.w3.org1999xhtml" target="_blank"&gt;www.w3.org1999xhtml&lt;/A&gt;" xmlns:splunk="http:&lt;A href="http://www.splunk.comxhtml-extensions1.0" target="_blank"&gt;www.splunk.comxhtml-extensions1.0&lt;/A&gt;" xml:lang="en"&lt;BR /&gt;
head&lt;BR /&gt;
    meta http-equiv="content-type" content="texthtml; charset=utf-8" &lt;BR /&gt;
    meta name="referrer" content="never" &lt;BR /&gt;
    meta name="referrer" content="no-referrer" &lt;BR /&gt;
   link rel="shortcut icon" href="&lt;A href="mailto:en-USstatic@1AE253554F5B04D49CF314151F223EDE8A04EA9914ED78C796E132ED991C9486imgfavicon.ico" target="_blank"&gt;en-USstatic@1AE253554F5B04D49CF314151F223EDE8A04EA9914ED78C796E132ED991C9486imgfavicon.ico&lt;/A&gt;" &lt;BR /&gt;
    titlePage not found! - Splunktitle&lt;BR /&gt;
    style&lt;BR /&gt;
        *       { margin: 0; padding: 0; }&lt;BR /&gt;
        body    { font-family: helvetica, arial, sans-serif; color: #333; padding: 20px; }&lt;BR /&gt;
        p,pre   { margin-bottom: 1em; font-size: .8em; }&lt;BR /&gt;
        .status { font-size: .7em; color: #999; margin-bottom: 1em; }&lt;BR /&gt;
        .msg    { margin-bottom: 1em; font-size: 1.4em;}&lt;BR /&gt;
        pre     { font-family: Monaco,Courier Bold,Courier New,monospace; font-size: .7em;background-color: #eee;  padding: 5px;}&lt;BR /&gt;
        #toggle { font-size: .8em; margin-bottom: 1em; }&lt;BR /&gt;
        .byline { color: #555; }&lt;BR /&gt;
        .byline span { font-weight: bold; line-height: 1.4em; }&lt;BR /&gt;
        hr      { height: 1px; background-color: #ccc; border: 0; margin: 20px 0 10px; }&lt;BR /&gt;
        h2      { font-size: 1em; margin-bottom: 1em; }&lt;BR /&gt;
        table   { border-collapse: collapse; }&lt;BR /&gt;
        td      { padding: 2px; }&lt;BR /&gt;
        td.k    { font-family: helvetica, arial, sans-serif; font-weight: bold; }&lt;BR /&gt;
        #debug  { display: none; }&lt;BR /&gt;
        #crashes { margin: 20px 0; padding: 10px; border: 1px solid #800; }&lt;BR /&gt;
        #crashes dt { font-size: 12px; margin-bottom: 5px; }&lt;BR /&gt;
        #crashes dd { white-space: pre; background: #f2f2f2; padding: 10px; margin-left: 20px; display: none; font: 10px Monaco,Courier Bold,Courier New,monospace; }&lt;BR /&gt;
    style&lt;BR /&gt;
    script&lt;BR /&gt;
        function toggle(what) {&lt;BR /&gt;
            what = document.getElementById(what);&lt;BR /&gt;
            if (what.style.display == 'block') {&lt;BR /&gt;
                what.style.display = 'none';&lt;BR /&gt;
            } else {&lt;BR /&gt;
                what.style.display = 'block';&lt;BR /&gt;
            }&lt;BR /&gt;
        }&lt;BR /&gt;
    script&lt;BR /&gt;
head&lt;BR /&gt;
body&lt;BR /&gt;
    p class="status"404 Not Foundp&lt;BR /&gt;
    p class="homelink"a href=""Return to Splunk home pageap&lt;BR /&gt;
    h1 class="msg"Page not found!h1&lt;BR /&gt;
    a href="en-USappsearchsearch?q=index%3D_internal%20host%3D%22fcvas2751%22%20source%3D%2Aweb_service.log%20log_level%3DERROR%20requestid%3D5aa778a39e7f776a13cf10" target="_blank"View more information about your request (request ID = 5aa778a39e7f776a13cf10) in Searcha&lt;BR /&gt;
    br &lt;BR /&gt;
    br &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;br 
br 

hr 
p class="byline"You are using spanxx.xxx.x.xxx:8000span, which is connected to splunkd span@aeae3fe0c5afspan at spanhttps:127.0.0.1:8089span on spanTue Mar 13 03:07:15 2018span.p
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;body&lt;BR /&gt;
html --&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;at com.splunk.HttpException.create(HttpException.java:84)
at com.splunk.HttpService.send(HttpService.java:500)
at com.splunk.Service.send(Service.java:1295)
at com.splunk.HttpService.get(HttpService.java:169)
at com.splunk.ResourceCollection.list(ResourceCollection.java:288)
at com.splunk.ResourceCollection.refresh(ResourceCollection.java:331)
at com.splunk.ResourceCollection.refresh(ResourceCollection.java:29)
at com.splunk.Resource.validate(Resource.java:186)
at com.splunk.ResourceCollection.validate(ResourceCollection.java:356)
at com.splunk.ResourceCollection.values(ResourceCollection.java:363)
at com.sdn.core.SplunkWrappers.connectSplunk(SplunkWrappers.java:31)
at com.sdn.core.SplunkWrappers.main(SplunkWrappers.java:37)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340490#M5189</guid>
      <dc:creator>npbala_22</dc:creator>
      <dc:date>2020-09-29T18:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting com.splunk.HttpException: HTTP 404 exception While connect the Splunk using Service.connect method</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340491#M5190</link>
      <description>&lt;P&gt;Can you put question in 101010 editor?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:53:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340491#M5190</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-13T07:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting com.splunk.HttpException: HTTP 404 exception While connect the Splunk using Service.connect method</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340492#M5191</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Exception in thread "main" com.splunk.HttpException: HTTP 404 -- &lt;BR /&gt;
    &amp;lt;!-- &lt;BR /&gt;
        This is a static HTML string template to render errors.  To edit this&lt;BR /&gt;
        template, see appserver/mrsparkle/lib/error.py. &lt;BR /&gt;
    --&amp;gt;&lt;BR /&gt;
    &lt;BR /&gt;
    &lt;BR /&gt;
        &lt;META http-equiv="content-type" content="text/html; charset=utf-8" /&gt;&lt;BR /&gt;
        &lt;META name="referrer" content="never" /&gt;&lt;BR /&gt;
        &lt;META name="referrer" content="no-referrer" /&gt;&lt;BR /&gt;
        &lt;LINK rel="shortcut icon" href="https://answers.splunk.comen-US/static/@1AE253554F5B04D49CF314151F223EDE8A04EA9914ED78C796E132ED991C9486/img/favicon.ico" /&gt;&lt;BR /&gt;
        &lt;TITLE&gt;Page not found! - Splunk&lt;/TITLE&gt;&lt;BR /&gt;
        &lt;STYLE&gt;&amp;lt;br&amp;gt;
            *       { margin: 0; padding: 0; }&amp;lt;br&amp;gt;
            body    { font-family: helvetica, arial, sans-serif; color: #333; padding: 20px; }&amp;lt;br&amp;gt;
            p,pre   { margin-bottom: 1em; font-size: .8em; }&amp;lt;br&amp;gt;
            .status { font-size: .7em; color: #999; margin-bottom: 1em; }&amp;lt;br&amp;gt;
            .msg    { margin-bottom: 1em; font-size: 1.4em;}&amp;lt;br&amp;gt;
            pre     { font-family: Monaco,Courier Bold,Courier New,monospace; font-size: .7em;background-color: #eee;  padding: 5px;}&amp;lt;br&amp;gt;
            #toggle { font-size: .8em; margin-bottom: 1em; }&amp;lt;br&amp;gt;
            .byline { color: #555; }&amp;lt;br&amp;gt;
            .byline span { font-weight: bold; line-height: 1.4em; }&amp;lt;br&amp;gt;
            hr      { height: 1px; background-color: #ccc; border: 0; margin: 20px 0 10px; }&amp;lt;br&amp;gt;
            h2      { font-size: 1em; margin-bottom: 1em; }&amp;lt;br&amp;gt;
            table   { border-collapse: collapse; }&amp;lt;br&amp;gt;
            td      { padding: 2px; }&amp;lt;br&amp;gt;
            td.k    { font-family: helvetica, arial, sans-serif; font-weight: bold; }&amp;lt;br&amp;gt;
            #debug  { display: none; }&amp;lt;br&amp;gt;
            #crashes { margin: 20px 0; padding: 10px; border: 1px solid #800; }&amp;lt;br&amp;gt;
            #crashes dt { font-size: 12px; margin-bottom: 5px; }&amp;lt;br&amp;gt;
            #crashes dd { white-space: pre; background: #f2f2f2; padding: 10px; margin-left: 20px; display: none; font: 10px Monaco,Courier Bold,Courier New,monospace; }&amp;lt;br&amp;gt;
        &lt;/STYLE&gt;&lt;BR /&gt;
        &lt;SCRIPT&gt;&amp;lt;br&amp;gt;
            function toggle(what) {&amp;lt;br&amp;gt;
                what = document.getElementById(what);&amp;lt;br&amp;gt;
                if (what.style.display == &amp;amp;#39;block&amp;amp;#39;) {&amp;lt;br&amp;gt;
                    what.style.display = &amp;amp;#39;none&amp;amp;#39;;&amp;lt;br&amp;gt;
                } else {&amp;lt;br&amp;gt;
                    what.style.display = &amp;amp;#39;block&amp;amp;#39;;&amp;lt;br&amp;gt;
                }&amp;lt;br&amp;gt;
            }&amp;lt;br&amp;gt;
        &lt;/SCRIPT&gt;&lt;BR /&gt;
    &lt;BR /&gt;
    &lt;BR /&gt;
        &lt;/P&gt;&lt;P class="status"&gt;404 Not Found&lt;/P&gt;&lt;BR /&gt;
        &lt;P class="homelink"&gt;&lt;A href="https://answers.splunk.com"&gt;Return to Splunk home page&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;
        &lt;H1 class="msg"&gt;Page not found!&lt;/H1&gt;&lt;BR /&gt;
        &lt;A href="https://answers.splunk.comen-US/app/search/search?q=index%3D_internal%20host%3D%22%22%20source%3D%2Aweb_service.log%20log_level%3DERROR%20requestid%3D5aa8e41e1a7f776ad99910" target="_blank"&gt;View more information about your request (request ID = 5aa8e41e1a7f776ad99910) in Search&lt;/A&gt;&lt;BR /&gt;
        &amp;lt;br/&amp;gt;&lt;BR /&gt;
        &amp;lt;br/&amp;gt;&lt;P&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;amp;lt;br/&amp;amp;gt;
    &amp;amp;lt;br/&amp;amp;gt;

    &amp;lt;hr /&amp;gt;
    &amp;lt;p class="byline"&amp;gt;You are using &amp;lt;span&amp;gt;12.233.43.3:8000&amp;lt;/span&amp;gt;, which is connected to splunkd &amp;lt;span&amp;gt;@aeae3fe0c5af&amp;lt;/span&amp;gt; at &amp;lt;span&amp;gt;https://127.0.0.1:8089&amp;lt;/span&amp;gt; on &amp;lt;span&amp;gt;Wed Mar 14 04:58:06 2018&amp;lt;/span&amp;gt;.&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

    at com.splunk.HttpException.create(HttpException.java:84)
    at com.splunk.HttpService.send(HttpService.java:500)
    at com.splunk.Service.send(Service.java:1295)
    at com.splunk.HttpService.post(HttpService.java:348)
    at com.splunk.Service.login(Service.java:1124)
    at com.splunk.Service.login(Service.java:1103)
    at com.splunk.Service.connect(Service.java:189)
    at com.sdn.core.sample.connectSplunk(sample.java:23)
    at com.sdn.core.sample.main(sample.java:13)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340492#M5191</guid>
      <dc:creator>npbala_22</dc:creator>
      <dc:date>2018-03-14T09:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting com.splunk.HttpException: HTTP 404 exception While connect the Splunk using Service.connect method</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340493#M5192</link>
      <description>&lt;P&gt;This my help you:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/64423/connection-refused-what-may-be-the-root-cause.html"&gt;https://answers.splunk.com/answers/64423/connection-refused-what-may-be-the-root-cause.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 10:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Getting-com-splunk-HttpException-HTTP-404-exception-While/m-p/340493#M5192</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-14T10:05:35Z</dc:date>
    </item>
  </channel>
</rss>

