Getting Data In

[WinError 10061] No connection could be made because the target machine actively refused it

althoffarick
Engager

Hello! I am having trouble uploading any files to Splunk using Add Data. This is the whole error message I am getting. 

HTTPSConnectionPool(host='127.0.0.1', port=8089): Max retries exceeded with url: /services/indexing/preview?output_mode=json&props.NO_BINARY_CHECK=1&input.path=access_30DAY.log (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000000004E3AB88>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')))

I have tried reinstalling, restarting computer, setting "Use a proxy server for your LAN" off on my Windows 7 Operating System, turning off windows firewall, clearing all my cookies, and tried uploading a few other files.

I entered "netsh winhttp show proxy" into my cmd prompt and received "Current WinHTTP proxy settings: Direct access <no proxy server>." I also entered netstat -an | find "8089" and the response is " TCP 0.0.0.0:8089, 0.0.0.0:0 LISTENING".

I don't know if any of this is helpful, but if anyone is able to help I would greatly appreciate it. To the best of my knowledge, I'm not using a proxy server, but I don't really have any expertise in this area. I just want to upload a log file to Splunk.

 

Labels (1)
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...