Security

Error while Login to Splunk-URl through C# SDK

kaur_aman18
New Member

When we try to make connection with the Splunk url (prod) for our application through method LogOnAsync (as mentioned below), then it fails with below error on a receive and hence refuses to connect.

Service to Connect: await service.LogOnAsync(SdkHelper.Splunk.Username, SdkHelper.Splunk.Password);
Error: `The client and server cannot communicate, because they do not possess a common algorithm`
If I input valid host name and port no as 8443 then it fails with above error.
If I input valid host name and port no as 8089 then it hangs out on method LogOn and doesnot execute forth.

Please note that I am passing scheme as https, host name as from the url for Splunk prod for our application, port no as mentioned above and username/password.
Could you please share a specific format for host or other input details. What are the possible reasons for this logging issue?

0 Karma
Get Updates on the Splunk Community!

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...

Ready, Set, SOAR: How Utility Apps Can Up Level Your Playbooks!

 WATCH NOW Powering your capabilities has never been so easy with ready-made Splunk® SOAR Utility Apps. Parse ...