We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rm_mtls_client.pem and /data/persistent/private/rm_mtls_client.key"},"process":{"name":"MainProcess","pid":20,"thread":{"id":140589406477184,"name":"MainThread"}}} taknginx-1 | 20.166.121.19 - - [29/Jan/2024:11:58:29 +0000] "GET /api/v1/healthcheck HTTP/1.1" 502 157 "-" "Python/3.11 aiohttp/3.9.1" "-" taknginx-1 | 2024/01/29 11:58:29 [error] 75713#75713: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 20.166.121.19, server: tak.innocent-sunbeam.pvarki.fi, request: "GET /api/v1/healthcheck HTTP/1.1", upstream: "http://192.168.160.5:8003/api/v1/healthcheck", host: "tak.innocent-sunbeam.pvarki.fi:4626" rmapi-1 | {"@timestamp":"2024-01-29T11:58:29.520Z","log.level":"error","message":"Failure to call https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck: ClientResponseError(RequestInfo(url=URL('https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck'), method='GET', headers=<CIMultiDictProxy('Host': 'tak.innocent-sunbeam.pvarki.fi:4626', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'User-Agent': 'Python/3.11 aiohttp/3.9.1')>, real_url=URL('https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck')), (), status=502, message='Bad Gateway', headers=<CIMultiDictProxy('Server': 'nginx/1.25.3', 'Date': 'Mon, 29 Jan 2024 11:58:29 GMT', 'Content-Type': 'text/html', 'Content-Length': '157', 'Connection': 'keep-alive')>)","ecs":{"version":"1.6.0"},"log":{"logger":"rasenmaeher_api.prodcutapihelpers","origin":{"file":{"line":79,"name":"prodcutapihelpers.py"},"function":"handle_one"},"original":"Failure to call https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck: ClientResponseError(RequestInfo(url=URL('https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck'), method='GET', headers=<CIMultiDictProxy('Host': 'tak.innocent-sunbeam.pvarki.fi:4626', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'User-Agent': 'Python/3.11 aiohttp/3.9.1')>, real_url=URL('https://tak.innocent-sunbeam.pvarki.fi:4626/api/v1/healthcheck')), (), status=502, message='Bad Gateway', headers=<CIMultiDictProxy('Server': 'nginx/1.25.3', 'Date': 'Mon, 29 Jan 2024 11:58:29 GMT', 'Content-Type': 'text/html', 'Content-Length': '157', 'Connection': 'keep-alive')>)"},"process":{"name":"MainProcess","pid":20,"thread":{"id":140589406477184,"name":"MainThread"}}} rmapi-1 | {"@timestamp":"2024-01-29T11:58:29.521Z","log.level":"warning","message":"No response from tak, setting all_ok to False","ecs":{"version":"1.6.0"},"log":{"logger":"rasenmaeher_api.web.api.healthcheck.views","origin":{"file":{"line":57,"name":"views.py"},"function":"request_healthcheck_services"},"original":"No response from tak, setting all_ok to False"},"process":{"name":"MainProcess","pid":20,"thread":{"id":140589406477184,"name":"MainThread"}}}
after docker compose restart takrmapi
docker compose restart takrmapi
taknginx-1 | 20.166.121.19 - - [29/Jan/2024:11:59:35 +0000] "GET /api/v1/healthcheck HTTP/1.1" 200 29 "-" "Python/3.11 aiohttp/3.9.1" "-" rmnginx-1 | 91.150.27.85 - - [29/Jan/2024:11:59:35 +0000] "GET /api/v1/healthcheck/services HTTP/1.1" 200 51 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0" "-"
We need to implement healthcheck to docker compose for these apis (and can we auto-restart on failure ?)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
after
docker compose restart takrmapi
We need to implement healthcheck to docker compose for these apis (and can we auto-restart on failure ?)
The text was updated successfully, but these errors were encountered: