Erisa / cloudflared-docker

Simple Alpine-built scratch-runtime Dockerfile for cloudflared, with support for multiple architectures.
https://hub.docker.com/r/erisamoe/cloudflared
Other
158 stars 22 forks source link

Error with Router OS #26

Open tientmit88 opened 3 weeks ago

tientmit88 commented 3 weeks ago

Hi there I tried to install for pc router (x86) running Router os, but I got error. Could you help me tested ?

Erisa commented 3 weeks ago

Hello, please can you share the error? Thank you

tientmit88 commented 3 weeks ago

I follow this guideline https://www.youtube.com/watch?v=BbDnBxlBTdY to setting up After extracting I got status Error, I checked log but there is no error

image
Erisa commented 3 weeks ago

In that case please share more information about the device used, e.g. model number and CPU architecture. Does the same happen with the official cloudflare/cloudflared image?

tientmit88 commented 3 weeks ago
image

here is the device info. official cloudflare/cloudflared image -> it doesn't support x86 architecture I thought

Erisa commented 3 weeks ago

official cloudflare/cloudflared image -> it doesn't support x86 architecture I thought

It doesn't support 32-bit x86, but your architecture is x86_64 aka 64-bit x86, so it should be fine in theory and you lose nothing by trying it.

I will try to find the time to reproduce and debug on a Router OS machine, but that may take some time.

tientmit88 commented 3 weeks ago

Thank you so much 🙇‍♂️🙇‍♂️🙇‍♂️On 15 Sep 2024, at 22:13, Erisa A @.***> wrote: In that case please share more information about the device used, e.g. model number and CPU architecture. Does the same happen with the official cloudflare/cloudflared image?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

tientmit88 commented 2 weeks ago

Hi Erisa, Now the container can be running, but I got this issue, could you help me check it ? 2012-01-08T06:23:02Z ERR Failed to create new quic connection error="failed to dial to edge with quic: CRYPTO_ERROR 0x12a (local): tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2012-01-08T06:23:02Z is before 2023-12-13T14:58:00Z" connIndex=0 event=0 ip=xxx.xxx.xxx.xxx

tientmit88 commented 2 weeks ago

2012-01-08T06:24:47Z ERR Unable to establish connection with Cloudflare edge error="TLS handshake with edge error: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2012-01-08T06:24:47Z is before 2023-12-13T14:58:00Z" connIndex=0 event=0 ip=xxx.xxxx.xxx