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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...