Webhook failed with status code 502

Hello

Recently my Home Assitant running on a RPi4 reboots periodically (about 6 to 12 hours) and when I look in journal I find this message:

Webhook failed with status code 502

Any idea where the problem may come from ?