Code Monkey home page Code Monkey logo

Comments (11)

tarampampam avatar tarampampam commented on August 17, 2024

How to reproduce it? On my side:

$ docker run --rm ghcr.io/tarampampam/error-pages:2.20.0
Unable to find image 'ghcr.io/tarampampam/error-pages:2.20.0' locally
2.20.0: Pulling from tarampampam/error-pages
8fa9176ffe45: Pull complete 
4f4fb700ef54: Pull complete 
Digest: sha256:47549faeaa41b225312b1bebb3e593f1a29ed02fcdbe175a4eb1e20ec7bd5e9b
Status: Downloaded newer image for ghcr.io/tarampampam/error-pages:2.20.0
{"level":"info","ts":1675193130.0279217,"msg":"We will use the requested template","name":"ghost"}
{"level":"info","ts":1675193130.0280774,"msg":"Server starting","addr":"0.0.0.0","port":8080,"default error page":"404","default HTTP response code":404,"proxy headers":[],"show request details":false,"localization disabled":false}
$ docker ps
CONTAINER ID   IMAGE                                    COMMAND                  CREATED         STATUS                   PORTS     NAMES
f2475bfee335   ghcr.io/tarampampam/error-pages:2.20.0   "/bin/error-pages --…"   2 minutes ago   Up 2 minutes (healthy)             sleepy_moser

All seems ok

from error-pages.

kaldevian avatar kaldevian commented on August 17, 2024

Strange, i had restarted and also pulled the image to no avail. But after trying again, the healthcheck seems ok. Nevermind, i'll close the issue.

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

Actually I got the same at tag:2 and checked it at tag:latest right now. Unhealthy state. How to reproduce? Just update container :D

Really nothing was chaged by me, just updated, what the additional info u need?

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

image

from error-pages.

tarampampam avatar tarampampam commented on August 17, 2024

How do you update, where, and what commands should I execute to reproduce the behavior?

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

Get da latest container and recreate it. I dunno what I need to add more. And I as see this issue is not mine only.

from error-pages.

tarampampam avatar tarampampam commented on August 17, 2024

@SAOPP I mean how to reproduce it locally? Which commands I should run to see the failed health check?

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

I don't have this info, cause I've updated my container and saw after several days that it unhealthy and error pages didn't work. It's all what I have homie.

from error-pages.

tarampampam avatar tarampampam commented on August 17, 2024

Maybe you have overridden the healcheck command somewhere? Without context and examples helping is very difficult

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

Incorrect Usage: flag provided but not defined: -log-json NAME: error-pages healthcheck - Health checker for the HTTP server. Use case - docker healthcheck USAGE: error-pages healthcheck command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command OPTIONS: --port value, -p value TCP port number (default: 8080) [$LISTEN_PORT] --help, -h show help flag provided but not defined: -log-json

from error-pages.

SAOPP avatar SAOPP commented on August 17, 2024

252618a#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R75

from error-pages.

Related Issues (20)

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.