Artifact Download failing in Mender 3.5.2

Hi,

I have been trying to send a directory mender artifact using the directory update-module. I am getting the following error on one of my RPi.

{"level":"info","message":"Running Mender client version: 3.5.2","timestamp":"2025-03-10T18:11:34+05:30"}
{"level":"error","message":"Can not fetch update image: Get \"<URL>\": read tcp 10.28.165.23:55582-\u003e3.5.208.187:443: read: connection timed out","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"error","message":"Update fetch failed: update fetch request failed: Get \"<URL>\": read tcp 10.28.165.23:55582-\u003e3.5.208.187:443: read: connection timed out","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"info","message":"State transition: update-fetch [Download_Enter] -\u003e fetch-install-retry-wait [Download_Enter]","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"info","message":"State transition: fetch-install-retry-wait [Download_Enter] -\u003e update-error [ArtifactFailure]","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"error","message":"Could not execute update module: fork/exec /usr/share/mender/modules/v3/directory: no such file or directory","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"error","message":"ArtifactFailure failed: fork/exec /usr/share/mender/modules/v3/directory: no such file or directory","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"info","message":"State transition: update-error [ArtifactFailure] -\u003e cleanup [Error]","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"info","message":"Could not access /var/lib/mender/modules/v3/payloads/0000/tree, assuming cleanup already done: stat /var/lib/mender/modules/v3/payloads/0000/tree: no such file or directory","timestamp":"2025-03-10T18:14:08+05:30"}
{"level":"info","message":"State transition: cleanup [Error] -\u003e update-status-report [none]","timestamp":"2025-03-10T18:14:08+05:30"}

I have tried sending it multiple times, but the outcome is the same.

Following are my system specs:

  • CM Model: Raspberry Pi Compute Module 3 Plus Rev 1.0
  • Architecture: armv7l
  • OS: Raspbian GNU/Linux 10 (buster)
  • Kernel Version: 4.19.118-v7+

I can’t understand how to go around error. Any help is appreciated.
Thanks!

So I checked that the URL from which the mender client is trying to fetch the artifact is taking like 56s on an average to fetch data from the URL, which is probably resulting in a read connection timeout.

This brings up the question, How much is the timeout set in the mender client to fetch a package from the server?
And can that timeout be adjusted by some configuration?