Getting Data In

Why do I get a timeout when trying to package my app?

jeffland
SplunkTrust
SplunkTrust

I've created an app and wanted to package it before shipping it to another splunk instance. From the console, I entered

./splunk package app app_name

But after a while, I get

Socket error communicating with splunkd (error=('The read operation timed out',)), path = /services/apps/local/app_name/package

What's happening here?

0 Karma
1 Solution

jeffland
SplunkTrust
SplunkTrust

There is a lookup file in my app that is somewhat large (>100 mb) which fails the entire operation.

I removed the lookup file from the app, packaged it and placed the file separately (it has to be added manually after installing the app).

View solution in original post

jeffland
SplunkTrust
SplunkTrust

There is a lookup file in my app that is somewhat large (>100 mb) which fails the entire operation.

I removed the lookup file from the app, packaged it and placed the file separately (it has to be added manually after installing the app).

Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...