Closed tpurschke closed 1 year ago
root@fwodemo:~# docker inspect 8c0bc24b204e
[
{
"Id": "8c0bc24b204ecfe159e9828ae8286ca7857c12bb814b482aac36afa3a60d944b",
"Created": "2023-07-10T20:30:37.25532761Z",
"Path": "/bin/sh",
"Args": [
"-c",
"\"${HGE_BINARY}\" serve"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 515,
"ExitCode": 0,
"Error": "",
"StartedAt": "2023-07-10T20:38:10.3930726Z",
"FinishedAt": "2023-07-10T20:36:35.916045829Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 1157,
"Log": [
{
"Start": "2023-07-11T08:16:58.067542214+02:00",
"End": "2023-07-11T08:16:58.124445532+02:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 3526 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (22) The requested URL returned error: 403\n"
},
{
"Start": "2023-07-11T08:17:28.135883183+02:00",
"End": "2023-07-11T08:17:28.216992302+02:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 3526 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (22) The requested URL returned error: 403\n"
},
{
"Start": "2023-07-11T08:17:58.228979667+02:00",
"End": "2023-07-11T08:17:58.322427903+02:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 3526 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (22) The requested URL returned error: 403\n"
},
{
"Start": "2023-07-11T08:18:28.32780329+02:00",
"End": "2023-07-11T08:18:28.444075444+02:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 3526 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (22) The requested URL returned error: 403\n"
},
{
"Start": "2023-07-11T08:18:58.451805846+02:00",
"End": "2023-07-11T08:18:58.553076362+02:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 3526 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (22) The requested URL returned error: 403\n"
}
]
}
},
"Image": "sha256:ae5690a874469a5bd7d8a7b70d7584a36f62c70f93464d1b73494b9662d7dc66",
"ResolvConfPath": "/var/lib/docker/containers/8c0bc24b204ecfe159e9828ae8286ca7857c12bb814b482aac36afa3a60d944b/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/8c0bc24b204ecfe159e9828ae8286ca7857c12bb814b482aac36afa3a60d944b/hostname",
"HostsPath": "/var/lib/docker/containers/8c0bc24b204ecfe159e9828ae8286ca7857c12bb814b482aac36afa3a60d944b/hosts",
"LogPath": "",
"Name": "/fworch-api",
"RestartCount": 0,
"Driver": "vfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [],
"ContainerIDFile": "",
"LogConfig": {
"Type": "syslog",
"Config": {
"syslog-address": "tcp://localhost:514",
"syslog-facility": "daemon",
"tag": "fworch-api"
}
},
"NetworkMode": "host",
"PortBindings": null,
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"Init": false
},
"GraphDriver": {
"Data": null,
"Name": "vfs"
},
"Mounts": [],
"Config": {
"Hostname": "fwodemo",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8080:8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"HASURA_GRAPHQL_DATABASE_URL=postgres://dbadmin:XXX@localhost:5432/fworchdb",
"HASURA_GRAPHQL_ENABLE_CONSOLE=true",
"HASURA_GRAPHQL_ENABLE_TELEMETRY=false",
"HASURA_GRAPHQL_ADMIN_SECRET=XXX",
"HASURA_GRAPHQL_LOG_LEVEL=info",
"HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup, http-log, websocket-log",
"HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets",
"HASURA_GRAPHQL_V1_BOOLEAN_NULL_COLLAPSE=true",
"HASURA_GRAPHQL_CORS_DOMAIN=*",
"HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=true",
"HASURA_GRAPHQL_JWT_SECRET= { \"type\": \"RS256\", \"key\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy54Oo1a/U9Ur4V14FGtT\\nP3ifvjS16efIVPRWUBp3HzfWWD8gDM2gFMZEoQMYtJxXqhy20WvNXIHmR3VkK3Tb\\nW5xQmeqK+6BQ6RhRqLEHlJn27Iw0yygLTnTW1kVL71PceFPo+6YxPg250hfMydqY\\nNPc5QwFPWG6F9lUbysmiCrKkXUTca0CmPo2liGzDb02y/JLp1d/ZE8AuJLZ72WzE\\ng8paifY32Z2lkZkuDbRBrcL5MVjnQeDl/MZcX6rUBZpe+OBBvoSwywnd4/VYyVC8\\nq1FKDXBJUWVHFvA/VgFeI021oeZYmBbnzRFxnGOwPECLzhSGXk1U1eDPC2O5d8Ur\\nmwIDAQAB\\n-----END PUBLIC KEY-----\\n\", \"claims_namespace_path\": \"$\" } ",
"HTTP_PROXY=http://admffm:3128",
"HTTPS_PROXY=http://admffm:3128",
"http_proxy=http://admffm:3128",
"https_proxy=http://admffm:3128",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"LC_ALL=C.UTF-8",
"HGE_BINARY=graphql-engine"
],
"Cmd": [
"/bin/sh",
"-c",
"\"${HGE_BINARY}\" serve"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"curl -f http://localhost:8080/healthz || exit 1"
],
"StartPeriod": 10000000000
},
"Image": "hasura/graphql-engine:v2.29.0",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "58e269a77208fa1399eeaf82c42a1e85cc1141741f9d4c3336c1e0089c5aaf5f",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/default",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "7addef4c01ef863b2188900469486977e3142b69ae09bc68d3472c5fa8651df7",
"EndpointID": "7162b8cb86208bd5d9d9e908a173463c043a940c31caacc79df235e502224e11",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]
root@fwodemo:~#
root@fwodemo:~# while [ true ]; do curl http://localhost:8080/healthz; done;
OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK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OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK
trying next to set no_proxy exception for docker
fixing with setting no_proxy reliably within docker
in some large customer installations the health status of the docker container is constantly "unhealthy". API health state (https://localhost:28449/api/healthz) is OK (200) same problem with hasura 2.21.0 and 2.24.1