hashicorp / consul-esm

External service monitoring for Consul
Mozilla Public License 2.0
263 stars 41 forks source link

Consul ESM : 0.7.0 Service checking OK but error in updating status #200

Open adelbot opened 1 year ago

adelbot commented 1 year ago

Hi all,

I register one service with one check. Check is done by ESM nodes.

The checks of service is OK ( see in tcpdump ).

But when the status change, ESM send an XTN transaction to update information. But CONSUL send an error error=“Failed request: Failed to parse body: json: unknown field "ExposedPort"”. And no status update is done :frowning:

reskin89 commented 1 year ago

I'm also experiencing this. @adelbot did you have this working on a previous version of ESM? I've experienced this in: 0.6.1 0.6.2 0.7.0

reskin89 commented 1 year ago

I have found that ESM 0.6.0 with Consul 1.13.4 does not have this bug.

ulidtko commented 2 months ago

183 is another report of the same. Thanks for reporting your results @reskin89 :pray:

ulidtko commented 2 months ago

Confirming as well, 0.6.0 only works well for us — newer versions don't. cc @DanStough