Splunk Dev

Proxy Error in java splunk query

jimdiconectiv
Path Finder

We are developing an internal Splunk Java SDK application that is well along but
in moving it from test space, a laptop that can reach the internet, to linux servers in prod test space
we pick up an odd error message from the Java SDK below:
"Encountered Throwable in splunkQuery Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden""

We have configured no proxy in the sdk or the splunk instance.

This only happens on the SDK location that cannot reach the internet and has no proxy set up, the
same query and system of queries works fine from the desktop.

I have set up: NO_PROXY="127.0.0.1,localhost,[::1]" in splunk-launch.conf on the splunk server,
But this has not helped.

Our management is super concerned to get this going. Can you help with what proxy is being
called and how to stop this.

Calls to Splunk via curl work from this server.

0 Karma
1 Solution

jimdiconectiv
Path Finder

There was a real proxy in line configurd in Java and the proxy rejected the call. This was difficult to trace.

View solution in original post

0 Karma

jimdiconectiv
Path Finder

There was a real proxy in line configurd in Java and the proxy rejected the call. This was difficult to trace.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...