You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used caddy as the reverse proxy for the hawkbit server and enabled gzip compression while forwarding. However, this part of the client emulator (for http response entity content length check) filters the gzipped response, so it has not been able to trigger OTA file transfers.
if (response.getEntity().getContentLength() != size) {
final String message = wrongContentLength(url, size, response);
return new UpdateStatus(ResponseStatus.ERROR, message);
}
When gzip enable, response.getEntity().getContentLength() will be -1, according to org.apache.http.client.entity.GzipCompressingEntity.getContentLength()
The text was updated successfully, but these errors were encountered:
I used caddy as the reverse proxy for the hawkbit server and enabled gzip compression while forwarding. However, this part of the client emulator (for http response entity content length check) filters the gzipped response, so it has not been able to trigger OTA file transfers.
When gzip enable, response.getEntity().getContentLength() will be
-1
, according toorg.apache.http.client.entity.GzipCompressingEntity.getContentLength()
The text was updated successfully, but these errors were encountered: