Alpine curl issues in 6.4.16 / 7.0.0 due to Alpine 3.20 upgrade
syphernl opened this issue · 13 comments
SUMMARY
Many web-related things (webchecks, Javascript HTTP Client) are throwing this error Failed writing received data to disk/application
after upgrading to Zabbix 6.4.16 and 7.0.0.
Both have in common that they are using alpine:3.20
instead of alpine:3.19
.
A workaround is to explicitly set the Accept-Encoding: identity
header in the webchecks / Javascript HTTP client or to use the Ubuntu
container as it is not affected by this issue.
It appears that shipped libcurl
is causing issues with this.
- Ubuntu:
libcurl4t64:amd64
8.5.0-2ubuntu10.1
- Alpine:
libcurl-8.7.1-r0
There are quite a few commits between the 8.5.0 and 8.7.1 release, something must have changed that causes this issue.
OS / ENVIRONMENT / Used docker-compose files
zabbix/zabbix-server-pgsql:alpine-6.4.16
CONFIGURATION
STEPS TO REPRODUCE
- Run server container
zabbix/zabbix-server-pgsql:alpine-6.4.15
on Alpine - Create a webcheck
- See it works
- Upgrade to
zabbix/zabbix-server-pgsql:alpine-6.4.16
- See it is showing an error:
Failed writing received data to disk/application
- Swap to
zabbix/zabbix-server-pgsql:ubuntu-6.4.16
- Error is gone
EXPECTED RESULTS
- See above
ACTUAL RESULTS
Errors given: `Failed writing received data to disk/application``
RELATED ISSUES
These issues are (potentially) related to this:
Sorry, but what do you want from our side? We can not fix OS issues...
I would recommend reporting this issue upstream and downgrading the base image to alpine:3.19
until this issue is resolved as this breaks webchecks, javascript client and notifications.
I vote for pinning the Alpine image before the issue is fixed because it's really annoying. Users would need to change many webchecks to mitigate it so that their monitoring works again, changing the base image is way easier mitigation.
The problem must be fixed in Curl or in Zabbix, not guarantee that the affected version will not be available in other distributions or Alpine 3.19 as well.