firstbatchxyz/dkn-compute-node

bug: 400 Status code on Heartbeat

anilaltuner opened this issue · 1 comments

Problem

When the heartbeat running from Admin node, Compute node generates 400 for some reason. It's unstabil error.

2024-06-04 13:13:59 [2024-06-04T10:13:59.106Z ERROR dkn_compute::workers::heartbeat] Error sending message: reqwest error: HTTP status client error (400 Bad Request) for url (http://host.docker.internal:8645/relay/v1/auto/messages)

To reproduce

Run heartbeat from Admin Node

I will write a test for this, where it sends Heartbeat messages in a loop and checks for 400 codes. If we can't find anything, we can link this issue to one created on Waku's side.