Giter VIP home page Giter VIP logo

Comments (13)

grandegiraffo avatar grandegiraffo commented on July 17, 2024 1

Still failing health check on new crazymax/cloudflared:latest image (cdddccfc6ae9)

A14B507D-0885-4A44-B774-A67D34F3DABC

from docker-cloudflared.

poom avatar poom commented on July 17, 2024 1

I found the problem - It related this article.

from docker-cloudflared.

crazy-max avatar crazy-max commented on July 17, 2024 1

@poom Thanks for your feedback.

from docker-cloudflared.

crazy-max avatar crazy-max commented on July 17, 2024

@grandegiraffo What is the output of docker info?

from docker-cloudflared.

grandegiraffo avatar grandegiraffo commented on July 17, 2024
pi@TastyPi:~ $ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)

Server:
 Containers: 4
  Running: 4
  Paused: 0
  Stopped: 0
 Images: 4
 Server Version: 20.10.7
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.17-v8+
 Operating System: Raspbian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: aarch64
 CPUs: 4
 Total Memory: 3.706GiB
 Name: TastyPi
 ID: Z34J:PB2K:HS7S:PKDX:3C6X:5EE7:7JEV:R5IY:HV4J:JUKI:HIV3:FPNN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support

from docker-cloudflared.

ValMati avatar ValMati commented on July 17, 2024

In my case the previous version didn't have any kind of problem, but the latest one does. The container reports unhealthy and seems to work correctly but not, if I check https://1.1.1.1/help it says I don't use DoH when with the previous version it said I did.

from docker-cloudflared.

poom avatar poom commented on July 17, 2024

Ref: visibilityspots/dockerfile-cloudflared#30

from docker-cloudflared.

crazy-max avatar crazy-max commented on July 17, 2024

I've made some changes in #41. Can you try with crazymax/cloudflared:pr-41?

from docker-cloudflared.

ValMati avatar ValMati commented on July 17, 2024

I've tried the version pr-41 and I have the same issue. Before appearing as unhealthy it is a long time starting. During this time in starting the logs do not change, the same messages appear from the beginning:

2021-06-29T18:33:46Z INF Starting metrics server on [::]:49312/metrics
2021-06-29T18:33:46Z INF Adding DNS upstream url=https://1.1.1.2/dns-query
2021-06-29T18:33:46Z INF Adding DNS upstream url=https://1.0.0.2/dns-query
2021-06-29T18:33:46Z INF Starting DNS over HTTPS proxy server address=dns://0.0.0.0:5053

from docker-cloudflared.

grandegiraffo avatar grandegiraffo commented on July 17, 2024

I can't even use the dig command manually on the running container:
Screenshot 2021-06-30 at 09 58 11

from docker-cloudflared.

poom avatar poom commented on July 17, 2024

I think the problem is alpine 3.13+ because this tag/version working

from docker-cloudflared.

crazy-max avatar crazy-max commented on July 17, 2024

Can't repro on

Linux server 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux

or

Linux server 5.4.0-1032-raspi #35-Ubuntu SMP PREEMPT Fri Mar 19 20:52:40 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Will dig into this issue. In the meantime you can disable the healthcheck:

docker run -d --no-healthcheck ...
version: "3.5"

services:
  cloudflared:
    ...
    healthcheck:
      test: ["NONE"]

from docker-cloudflared.

ValMati avatar ValMati commented on July 17, 2024

I found the problem - It related this article.

This works for me. Thanks a lot!

from docker-cloudflared.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.