You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, when using a multiple service definition file with multiple upstreams, I have an error but everything is fine is I use the same definition in a single service definition file.
Jun 28 16:06:44 service-3 consul[17876]: #11/go/src/github.com/hashicorp/consul/main.go:19 +0x22
Jun 28 16:06:44 service-3 consul[17884]: panic: services.connect.proxy.config.upstreams: []map[string]interface{} with more than one element not supported: [map[destination_name:service-A local_bin
d_port:%!s(float64=1234)] map[destination_name:service-B local_bind_port:%!s(float64=1235)]]
Overview of the Issue
I was trying Consul Connect and adapted my current configuration which uses a single file with multiple services definitions.
The following file gave me this error:
I then tried to remove the second service definition, using the following file and it worked as expected
Reproduction Steps
Observe that node B is failing and node C is working as expected (you can connect to service A using service C local proxy).
Consul info for both Client and Server
Client
Server
Operating system and Environment details
Debian 9 instances on Google Cloud Platform
The text was updated successfully, but these errors were encountered: