Hi Stefano,
We are currently using the SWUpdate Mongoose webserver interface to upload update images. The devices we are using Industrialpcs Intel, AMD, or Celeron processors and are operating with Debian. On these devices, we have an Nginx reverse proxy that forwards requests to nignx swupdate location .
Intermittently, some devices encounter a hash mismatch error during the update process. The update progresses to a certain point, for example, 45% (though this percentage varies each time), and then gets stuck. Subsequently, the update fails and a hash mismatch error is reported. After a few attempts, the update process starts working normally again. However, this error has started to occur more frequently.
We are using Debian Buster and SWUpdate version 2022.05, and we plan to upgrade to Bookworm shortly. Do you have any idea what might be causing this issue?
Below is the Nginx configuration we are using.
location /update/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 86400;
proxy_send_timeout 86400;
proxy_connect_timeout 86400;
proxy_buffering off;
proxy_request_buffering off;
client_max_body_size 0;
proxy_pass http://localhost:8080/;
}
And the runtime configuration for swupdate is as follows:
webserver :
{
...
timeout = 60;
run-postupdate = false;
};
The error message:
As Info, I generate the SWU update image inside a Bookworm-based Docker container using swugenerator. However, the root filesystem partition image within the SWU is created with ELBE inside a Debian Buster-based container.
Thank you for your help.
Best regards,
Hi Stefano,
We are currently using the SWUpdate Mongoose webserver interface to upload update images. The devices we are using Industrialpcs Intel, AMD, or Celeron processors and are operating with Debian. On these devices, we have an Nginx reverse proxy that forwards requests to nignx swupdate location .
Intermittently, some devices encounter a hash mismatch error during the update process. The update progresses to a certain point, for example, 45% (though this percentage varies each time), and then gets stuck. Subsequently, the update fails and a hash mismatch error is reported. After a few attempts, the update process starts working normally again. However, this error has started to occur more frequently.
We are using Debian Buster and SWUpdate version 2022.05, and we plan to upgrade to Bookworm shortly. Do you have any idea what might be causing this issue?
Below is the Nginx configuration we are using.
location /update/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 86400;
proxy_send_timeout 86400;
proxy_connect_timeout 86400;
proxy_buffering off;
proxy_request_buffering off;
client_max_body_size 0;