I´ve been trying to validade my microservices on a Docker structure, where i connect everything through linking containers but i´m not having success when trying to pass through an API Gateway with Zuul.
Basically i have theses microservices:
- config-server
- boutique-eureka-server
- api-gateway
- product-service
All of these start with success but i can´t acess the product-service behing the api-gateway.
My code is all at:
https://github.com/kalilmvp/myboutique/
along with the docker commands that i´ve used.
The error usually is:
com.netflix.zuul.exception.ZuulException: Forwarding error
In my later tests i´ve been also having this error:
Caused by: java.lang.RuntimeException: java.net.UnknownHostException: product-service
You can check it on the branch docker