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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...