Hi,
I’ve started exploring mesh-gateway, i was able to get gateway up and running and do cross DC calls between service from the example
the above example uses centralized service defaults configuration i.e., enable gateways for the services by default and then setup the service-resolver to route the services to specific datacenter
however i’m more interested in enabling and configuring the gateway per upstream mentioned under
https://www.consul.io/docs/connect/mesh_gateway.html
i tried the configuration mentioned
i was getting
Error communicating with upstream service: Get http://localhost:9091/: read tcp 127.0.0.1:55980->127.0.0.1:9091: read: connection reset by peer error
do i need to any additional step
Service Configuration Example :
service {
name = "web"
port = 8181
connect {
sidecar_service {
proxy {
mesh_gateway {
mode = "remote"
}
upstreams = [
{
destination_name = "api"
datacenter = "secondary"
local_bind_port = 10000
}
]
}
}
}
}
would like to know the additional steps/configurations needs to be done to enable gateway per upstream?