zabbix / zabbix-docker

Official Zabbix Dockerfiles
https://www.zabbix.com
GNU Affero General Public License v3.0
2.4k stars 1.38k forks source link

Current docker is broken - ssl errors #1490

Closed bbrendon closed 3 months ago

bbrendon commented 3 months ago

using 6.4-latest...

From inside the container...

7a598cc9cbb9:/tmp# apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
288BAE2DFC7E0000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:907:SSL alert number 40
WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/main: Permission denied
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
288BAE2DFC7E0000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:907:SSL alert number 40
WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/community: Permission denied
4 unavailable, 0 stale; 71 distinct packages available
dotneft commented 3 months ago

Execute the command under root.

bbrendon commented 3 months ago

dc exec -u root zabbix-server bash

7a598cc9cbb9:/var/lib/zabbix# apk update fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 289B2DAFD47F0000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:907:SSL alert number 40 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/main: Permission denied fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 289B2DAFD47F0000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:907:SSL alert number 40 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/community: Permission denied 4 unavailable, 0 stale; 71 distinct packages available 7a598cc9cbb9:/var/lib/zabbix#

On Sun, Aug 11, 2024 at 11:12 PM Alexey Pustovalov @.***> wrote:

Execute the command under root.

— Reply to this email directly, view it on GitHub https://github.com/zabbix/zabbix-docker/issues/1490#issuecomment-2283176672, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQR2PMH7ZTRPJ2ONTGORXTZRBG3VAVCNFSM6AAAAABMLDWNG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTGE3TMNRXGI . You are receiving this because you authored the thread.Message ID: @.***>

bbrendon commented 3 months ago

I figured this out. Cloudflare was denying access because it didn't like how I had my DNS configured. No idea why they care, but ...