nicholasjackson / demo-consul-service-mesh

Demos built using Docker Compose showing Consul Service Mesh features
144 stars 50 forks source link

Error communicating with upstream service #15

Closed AmaHacka closed 3 years ago

AmaHacka commented 3 years ago

Hello! I just pulled your repo and stared example by docker-compose up in gateways folder to check communication in different datacenters. Now when I trying to connect to HTTP service at http://127.0.0.1:9090 I see this:

{ "name": "web", "uri": "/", "type": "HTTP", "start_time": "2021-10-27T16:02:26.979074", "end_time": "2021-10-27T16:02:27.005766", "duration": "26.6926ms", "upstream_calls": [ { "uri": "http://localhost:9091", "code": -1, "error": "Error communicating with upstream service: Get http://localhost:9091/: dial tcp 127.0.0.1:9091: connect: connection refused" } ], "code": 500 }

Is it okey or I doing smith wrong?

AmaHacka commented 3 years ago

Sorry for issue, found solution in @eeeschwartz pull request https://github.com/eeeschwartz/demo-consul-service-mesh/tree/fix-demo/gateways