Monitoring Splunk

Splunk SDK via proxy

MaheshPalemkota
New Member

Hello..
We have trouble connecting to Splunk using splunk sdk for java. Our network should go through proxy. and it is giving me below error

Caused by: java.lang.NoSuchMethodError: com.splunk.SSLSecurityProtocol.(Ljava/lang/String;ILcom/splunk/SSLSecurityProtocol;)V
at com.splunk.SSLSecurityProtocol$2.(SSLSecurityProtocol.java:7)
at com.splunk.SSLSecurityProtocol.(SSLSecurityProtocol.java:7)
at com.t.pmr.di.rest.config.SplunkRestConfiguration.splunkServerConnecter(SplunkRestConfiguration.java:21)
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55.CGLIB$splunkServerConnecter$0()
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55$$FastClassBySpringCGLIB$$eb15fde.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:361)
at com.t.pmr.di.rest.config.SplunkRestConfiguration$$EnhancerBySpringCGLIB$$609fdf55.splunkServerConnecter()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Tags (1)
0 Karma

dkeck
Influencer

Hi,

did you see this post? I think they are close to your problem.

https://answers.splunk.com/answers/67327/splunk-java-sdk-connection-to-splunk-failed.html

0 Karma

dkeck
Influencer

Did this do anything for you :)?

if it helped please accept the question 🙂

0 Karma
Get Updates on the Splunk Community!

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...