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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...