Splunk Dev

C# SDK Builds (The connection was closed unexpectedly)

gpburgett
Splunk Employee
Splunk Employee

My team is working with the C# SDK and have been running into issues with the "Job" service. We've been following the questions here on answers and have implemented the workarounds that have been recommended. Things appear to work ok under debug mode, but when building in Release mode the "connection closed" errors pop up again. It seems from the comments on some of the other questions that there are others experiencing this problem as well. Is there a recommended fix for this?

Tags (2)

didier_again
Explorer

Debug or Release mode made no difference to me. Both worked when ran from Visual Studio and both failed running on their own.

I found a work around.

I recompiled the SDK against .NET 4.5 and If I’m using a DEBUG version of my DLL and of the SplunkSDK.dll, it works without Visual Studio.

didier_again
Explorer

I'm having the same issue. I'd be interested to know if you managed to solve that issue.

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...