Setting up Tyk with docker on windows

I have done all the steps with docker on windows (tyk_quickstart). Still I am getting error as in the screenshot below.
Which version of Python should I use?
json_error

Hi there,

It looks like you are trying to run the setup.sh. And it looks like the script cannot talk to the dashboard API.

This means that either your dashboard container is not up, or your dashboard hasn’t started properly.

docker ps output should look like this:

$ docker ps
CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS              PORTS                                            NAMES
08f47cced9b9        tykio/tyk-dashboard:v1.4.0         "/opt/tyk-dashboar..."   19 seconds ago      Up 24 seconds       0.0.0.0:3000->3000/tcp, 0.0.0.0:5000->5000/tcp   tykquickstart_tyk_dashboard_1
541a6dcc66cf        tykio/tyk-gateway:v2.4.0           "./entrypoint.sh"        19 seconds ago      Up 24 seconds       0.0.0.0:8080->8080/tcp, 0.0.0.0:80->8080/tcp     tykquickstart_tyk_gateway_1
a30e380f9fa5        redis:3.2                          "docker-entrypoint..."   19 seconds ago      Up 23 seconds       0.0.0.0:6379->6379/tcp                           tykquickstart_tyk_redis_1
cfe26b322882        mongo:3.0                          "docker-entrypoint..."   19 seconds ago      Up 24 seconds       0.0.0.0:27017->27017/tcp                         tykquickstart_tyk_mongo_1
3e515e896c87        tykio/tyk-pump-docker-pub:latest   "/opt/tyk-pump/tyk..."   19 seconds ago      Up 25 seconds                                                        tykquickstart_tyk_pump_1

And output of logs from the dashboard should look something like this:

$ docker logs tykquickstart_tyk_dashboard_1
time="Dec 12 17:04:58" level=info msg="Using /opt/tyk-dashboard/tyk_analytics.conf for configuration"
time="Dec 12 17:04:58" level=info msg="Creating new Redis connection pool"
time="Dec 12 17:05:00" level=info msg="Creating new Redis connection pool"
time="Dec 12 17:05:00" level=info msg="Creating new Redis connection pool"
time="Dec 12 17:05:00" level=info msg="Creating new Redis connection pool"
time="Dec 12 17:05:00" level=info msg="Adding available nodes..."
time="Dec 12 17:05:00" level=info msg="Tyk Analytics Dashboard v1.4.0"
time="Dec 12 17:05:00" level=info msg="Copyright Martin Buhr 2016"
time="Dec 12 17:05:00" level=info msg="https://www.tyk.io"
time="Dec 12 17:05:00" level=info msg="Listening on port: 3000"
time="Dec 12 17:05:00" level=info msg="Loading routes..."
time="Dec 12 17:05:00" level=info msg="Registering nodes..."
time="Dec 12 17:05:00" level=info msg="Socket server started"
time="Dec 12 17:05:00" level=info msg="--> Standard listener (http) for UI notifications"
time="Dec 12 17:05:00" level=info msg="Adding available nodes..."
time="Dec 12 17:05:00" level=info msg="Creating new Redis connection pool"
time="Dec 12 17:05:00" level=info msg="--> Standard listener (http) for dashboard and API"
time="Dec 12 17:05:00" level=info msg="Starting zeroconf heartbeat"
time="Dec 12 17:05:00" level=info msg="Starting notification handler for gateway cluster"
time="Dec 12 17:05:00" level=info msg="Got configuration for nodeID: 07f70677-17c1-4549-4833-1ce7e127fd1e|541a6dcc66cf"
time="Dec 12 17:05:03" level=info msg="Sending config request for node: 07f70677-17c1-4549-4833-1ce7e127fd1e-541a6dcc66cf"
time="Dec 12 17:05:03" level=info msg="Got configuration for nodeID: 07f70677-17c1-4549-4833-1ce7e127fd1e|541a6dcc66cf"

Please send output of docker ps and docker logs tykquickstart_tyk_dashboard_1 so that I can confirm your dashboard has started correctly.

Thanks

Here is my output of docker ps and docker logs…
ps_logs

From docker ps - I can see that gateway, pump and dashboard are up. but you don’t have redis or mongo. The dash appears to have hung from the logs. This could be because it cannot connect to redis/mongo.

please send output of docker-compose ps. It should look like below with 5 items in it showing that is up and running:

$ docker-compose ps

            Name                           Command               State                       Ports
-----------------------------------------------------------------------------------------------------------------------
tykquickstart_tyk_dashboard_1   /opt/tyk-dashboard/tyk-ana ...   Up      0.0.0.0:3000->3000/tcp, 0.0.0.0:5000->5000/tcp
tykquickstart_tyk_gateway_1     ./entrypoint.sh                  Up      0.0.0.0:8080->8080/tcp,0.0.0.0:80->8080/tcp
tykquickstart_tyk_mongo_1       docker-entrypoint.sh mongo ...   Up      0.0.0.0:27017->27017/tcp
tykquickstart_tyk_pump_1        /opt/tyk-pump/tyk-pump --c ...   Up
tykquickstart_tyk_redis_1       docker-entrypoint.sh redis ...   Up      0.0.0.0:6379->6379/tcp

It could be that you already have redis and mongo already running and listening on ports 6379 and 27017 outside of docker which means that you cannot bind to those ports because they have already been used?

What happens if you run docker-compose up tyk_mongo or docker-compose up tyk_redis - do you get an error or does it start properly?