Couldn't initialize python dispatcher

Hi,

This error always happens once during startup. The redis connection is managed asynchronously from a background thread which hasn’t yet established the session. Another thread tries to use the connection and finds it down so the error occurs. A few seconds later it tries again and succeeds.

Are you using the tyk built images to do this? I suspect not because there are mentions of /mnt/tyk-gateway in the logs. It would be helpful to mention this with future questions.

coprocess_options.python_path_prefix must be set to the base directory that tyk is installed to so that the custom python modules referred to in your plugin code can be loaded.

Please set TYK_GW_COPROCESSOPTIONS_PYTHONPATHPREFIX=/mnt/tyk-gateway and try again.

Cheers,
Pete