I tried the tutorial given in this tutorial . I was able to install the Tyk dashboard and Tyk Gateway. But when I run the sudo /opt/tyk-dashboard/install/bootstrap.sh XXX.XXX.XXX.XXX (domain replaced with my instance IP). It throws the below error,
When I tried exploring the bootstrap.sh file, I came to know it’s making cURL request to Admin API. So i tried it directly from the terminal. When I do so, I get Connection Refused error. The same error I’m getting from REST Clients.
That implies that the containers are not running or listening, even without the bootstrap, you should be able to visit the dashboard login page. If you can’t get a login screen by visiting port 3000, then the bootstrap won;t work either.
Also, if you are using the latest quickstart you must have the absolutely latest version of docker installed.
Did you run the setup script step? Looks like a misconfiguration to me.
Take a look in var/log/upstart for the log files for both services, in particular the dashboard log file - tail it, it will tell you why the service isn’t starting.
Right, so you can connect to the mongoDB from shell, but is it configured properly in the tyk.conf and tyk_gateway.conf files? That error implies that it isn’t.
And you can connect with the command line from within the same she’ll that Tyk is running in? Is the port correct? Have you tried connecting to that connection string?
MongoDB is on the same host right (not virtualised or anything)