I am using Splunk enterprise's DSDL app and can't run any of the examples as I typically end up with this error.
[mlspl.MLTKContainer] [get_endpoint_url] Failed to connect to the container
I am new to Splunk and using Golden Image CPU (5.1.2) for MLTK container with docker backend on local machine to try out the examples in this app.
For example, when trying to run Neural Network Classifier Example, it uses the diabetes_classifier_model but I constantly keep running into above error.
I am using container mode as PROD but even DEV doesn't work.
I assume you are using compatible versions of all the components. If not then ensure they are at the right versions. ( https://docs.splunk.com/Documentation/DSDL/5.1.2/User/InstallDSDL )
DSDL - 5.1.2
MLTK - 5.4.0
PSC - 3.1.0, 4.1.0, or 4.1.2
Splunk - 8.1.x+
Another test you can do is to try connecting to your docker container outside of Splunk to see if the issue is due to restrictions on accessing localhost.