Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/q2Kbgro7JIE Import Date: 2016-01-19 21:26:59 +0000.
Date:Thursday, 15 October 2015 22:46:45 UTC+1.
I’ve recently donwloaded and configured tyk with docker following this guide (https://tyk.io/blog/running-tyk-with-docker/) using this bash (https://gist.github.com/lonelycode/4f645c4733faaa74d8fd) and using this docker image for redis cluster (https://github.com/Grokzen/docker-redis-cluster).
So i’ve followed all the instructions and do some test to check conectivity and functionality of all processes, everything SEEMS to work fine. Also i’ve succesfully entered into tyk dashboard, created an api (using httpbin.org) and created a Policy to access this api, and in my hosts file of the host machine (my machine) i’ve added the domain of tyk, like this:
but when i try to access to this url from my navigator and it returns to me invalid request, i’ve checked docker logs of each container and there is no error in any of my docker containers, the only thing i’ve found until now is:
If i’m inside of tyk gateway container and do ping google.com it cant resolve the DNS, but if i do this in any other container it routes it okay, in all the containers the resolv.conf has the same DNS (google DNS BTW)
Only to clarify: I can access to the dashboard without issues, the problem is when i try to acces the api i created.
So, im out of solutions, any sugestions?
Thanks for any help you can provide!