<?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 Why can we not establish connection with HTTP event collector? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599192#M12664</link>
    <description>&lt;P&gt;I'm trying to forward events to a Splunk instance using the HTTP event collector (&lt;A target="_blank" rel="noopener"&gt;http://&amp;lt;splunk_instance&amp;gt;:8088/services/collector/event&lt;/A&gt;)&amp;nbsp;but it seems that the connection is being rejected by Splunk. The error I'm getting is: "&lt;STRONG&gt;read tcp 127.0.0.1:46660-&amp;gt;127.0.1.1:8088: read: connection reset by peer&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;The HTTP event collector is configured as:&lt;/P&gt;
&lt;P&gt;Enable SSL: true&lt;/P&gt;
&lt;P&gt;HTTP Port number: 8088&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 15:19:38 GMT</pubDate>
    <dc:creator>domaquino</dc:creator>
    <dc:date>2022-05-25T15:19:38Z</dc:date>
    <item>
      <title>Why can we not establish connection with HTTP event collector?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599192#M12664</link>
      <description>&lt;P&gt;I'm trying to forward events to a Splunk instance using the HTTP event collector (&lt;A target="_blank" rel="noopener"&gt;http://&amp;lt;splunk_instance&amp;gt;:8088/services/collector/event&lt;/A&gt;)&amp;nbsp;but it seems that the connection is being rejected by Splunk. The error I'm getting is: "&lt;STRONG&gt;read tcp 127.0.0.1:46660-&amp;gt;127.0.1.1:8088: read: connection reset by peer&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;The HTTP event collector is configured as:&lt;/P&gt;
&lt;P&gt;Enable SSL: true&lt;/P&gt;
&lt;P&gt;HTTP Port number: 8088&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599192#M12664</guid>
      <dc:creator>domaquino</dc:creator>
      <dc:date>2022-05-25T15:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot establish connection with HTTP event collector</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599199#M12666</link>
      <description>&lt;P&gt;"Connection reset by peer" means that the other side actively closed the connection after initially accepting it. Which usually means - in this case - that the server is listening on the port anf the traffic isn't firewalled (otherwise you'd get connectiin timeout or connection refused) but your client isn't allowed by the configuration.&lt;/P&gt;&lt;P&gt;One interesting thing though is that you're saying you're connecting to an external instance but the error refers to localhost connection, has a strange form of localhost address (127.0.1.1) and seems to be from the server's side saying that client closed the connection.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 04:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599199#M12666</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-25T04:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot establish connection with HTTP event collector</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599202#M12668</link>
      <description>&lt;P&gt;Where do we set the allowed clients configuration here in Splunk? What I only did was to get the token of the Splunk instance and put it the configuration file of the client.&lt;/P&gt;&lt;P&gt;Also, the client (where the alert events will be coming from) and the server (Splunk) is on the same linux virtual machine.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 05:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599202#M12668</guid>
      <dc:creator>domaquino</dc:creator>
      <dc:date>2022-05-25T05:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot establish connection with HTTP event collector</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599213#M12671</link>
      <description>&lt;P&gt;Check for errors on both sides of the connection. If this was indeed a message from the server, which would mean that the client interrupted the connection, it would typically mean SSL misconfiguration.&lt;/P&gt;&lt;P&gt;In such a case the client would attempt to connect to the server, the server would accept the TCP connection, at least one party would start the TLS handshake but - especially if the TLS was enabled on the client and disabled on the server - if the client couldn't agree with the server on TLS parameters, it would drop the connection.&lt;/P&gt;&lt;P&gt;So make sure that TLS parameters are the same on both sides.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-we-not-establish-connection-with-HTTP-event-collector/m-p/599213#M12671</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-25T06:24:06Z</dc:date>
    </item>
  </channel>
</rss>

