senecajs / seneca-mesh

Mesh your Seneca.js microservices together - no more service discovery!
MIT License
142 stars 47 forks source link

My services loose their connection to network #43

Open grandmore opened 8 years ago

grandmore commented 8 years ago

I am getting an intermittent issue where the services loose their connection to the mesh network and when called I get an error that says:

{
  "result": "error",
  "err": {
    "eraro": true,
    "orig": null,
    "code": "no-current-target",
    "seneca": true,
    "package": "seneca",
    "msg": "seneca: No targets are currently active for message"
...

How do I customise the mesh network code to add some functionality to reconnect to the mesh network when a connection is lost.

I am currently using the consul_registry so I would need to check against the registered base nodes to find the network.

vforv commented 7 years ago

@grandmore did you solve this?