I am getting "Unable to initialize modular input "cloudgateway_modular_input" defined in the app "splunk_app_cloudgateway": Introspecting scheme=cloudgateway_modular_input: script running failed (exited with code 1).." after Spluk restart.
What should I do to make it work properly? Cloud gateway is accessible over Websocket and HTTP
Was getting similar errors. I disabled then enabled Splunk Cloud Gateway and Splunk Cloud Gateway Subscription Processor Data inputs (Settings>Data inputs) from Splunk Web which resolved the issues for me.