dashersw / cote

A Node.js library for building zero-configuration microservices.
http://cote.js.org
MIT License
2.35k stars 187 forks source link

Requester can see the Responder but dont send request to it #267

Closed boygiandi closed 2 years ago

boygiandi commented 2 years ago

I have a weird issue:

2 Responders (same code) are running at 2 servers (server A and server B).

If I run the Requester from My local macbook, I can see the response from A and B round-robin But when I run the Requester from another server, I only see the response from server A. Server B got no message. If I stop Responder at server A, server B still got no message.

I use redis for discovery and I can see every process can see other process fine. The Requester can see the Responder at server B but don't send message to that server :(

boygiandi commented 2 years ago

Sorry, somehow my Responder server cannot connect to server B. Change server and everything works fine