Python 3 scripts time out

Python 3 scripts might time out if a secret for encrypting messages between the scripting container and Python is updated.

Symptoms

Python 3 scripts time out in the IBM® Security SOAR Orchestration & Automation application.

Causes

This might happen if a secret for encrypting messages between the scripting container and Python is updated. If a secret is updated, one of the containers might have picked up the new secret, but the other not.

Resolving the problem

To resolve this problem if it occurs, restart the casesscripting and casespython3Scripting containers using the following commands, setting the CP4S_NAMESPACE variable to be the name of the namespace that IBM Security QRadar® Suite Software is running in:
CP4S_NAMESPACE=""
oc get pods -o name -n $CP4S_NAMESPACE | grep isc-cases-application | xargs oc delete -n $CP4S_NAMESPACE
oc get pods -n cp4s-sandbox -o name | xargs oc delete -n cp4s-sandbox