Issue with Consul Service Discovery in Multi-Datacenter Setup

Hi everyone… :wave:

I am running into an issue with Consul service discovery across multiple datacenters. I have two datacenters set up, and both are able to sync catalog data properly. However, when I try to query services from one datacenter for the other, I keep getting an “unknown service” error.

Here’s my setup:

  • Consul version: 1.15.3
  • Both datacenters are connected over WAN using gossip encryption and ACLs are enabled.
  • I can see services from both datacenters in the catalog (via consul catalog nodes).

What I have tried so far:

  1. Checked WAN federation status with consul members -wan — all nodes show as alive.
  2. Verified ACL tokens are consistent across datacenters.
  3. Confirmed that services are registered correctly in both datacenters.

I also check this: https://discuss.hashicorp.com/t/consul-multi-cluster-service-discoverjiracourse But I have not found any solution. Could anyone guide me about this? Am I missing any configuration to allow cross-datacenter service queries? Could ACL policies or gossip encryption be interfering somehow?

Any insights or debugging suggestions would be greatly appreciated!

Thanks in advance! :blush: