Knowledge Management

Unable to deploy MLTK

sylim_splunk
Splunk Employee
Splunk Employee

Using both 8.0.1 and 8.0.6, I am unable to redeploy apps when attempting to deploy Splunk_ML_Toolkit with Splunk_SA_Scientific_Python_linux_x86_64. The same error occurs in both environments in which I have tried it:

Error while deploying apps to first member, aborting apps deployment to all members: Error while updating app=Splunk_SA_Scientific_Python_linux_x86_64 on target=https://10.8.8.13:8089:Network-layer error: Connection reset by peer



This occurs almost immediately after trying command below;

$ splunk apply shcluster-bundle -target https://10.8.8.13:8089

Labels (1)
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

If I remove those 2 SHC apps, then I can redeploy the other SHC apps on that deployer without any issues. This SHC is running version 8.0.6. The same problem happened in another environment that was running 8.0.1.

It was found that, the max_content_length was set less than the size of one of the apps for MLTK by mistake.

 

In server.conf on all SHC members;

[httpServer]

max_content_length = 2gb bytes, back to default value.

 

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

If I remove those 2 SHC apps, then I can redeploy the other SHC apps on that deployer without any issues. This SHC is running version 8.0.6. The same problem happened in another environment that was running 8.0.1.

It was found that, the max_content_length was set less than the size of one of the apps for MLTK by mistake.

 

In server.conf on all SHC members;

[httpServer]

max_content_length = 2gb bytes, back to default value.

 

Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...