Splunk Dev

Why am I getting "connection reset by peer" from HEC in Splunk Cloud?

New Member

I'm running the curl command

curl -k https://prd-p-aaaaa.splunkcloud.com:8088/services/collector -H "Authorization: Splunk <HECTOKEN>" -d '{"event": Test Message}' -vvv

I get this error

* Trying <IP>:8088...
* Connected to prd-p-aaaaa.splunkcloud.com (<IP>) port 8088 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* [CONN-0-0][CF-SSL] (304) (OUT), TLS handshake, Client hello (1):
* Recv failure: Connection reset by peer
* LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer
* Closing connection 0
curl: (35) Recv failure: Connection reset by peer


I tried with



for the above I get
* Could not resolve host: http-prd-p-aaaaa.splunkcloud.com

* Could not resolve host: http-inputs-prd-p-aaaaa.splunkcloud.com

I'm using the trial version of splunk cloud.


0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...