project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] - status "unhealthy" of container

Open ivoIT1 opened this issue 8 months ago • 3 comments

I am not sure if it is related to offline operation of docker, but did someone met with status "unhealthy" of container running pegaprox ?

Image

Environment

  • **PegaProx Version: 0.9.1.3
  • Installation Method: clonned latest git , compilation , run then in offline mode
  • OS: Ubuntu 20.04.6 LTS"
  • Browser: not related with browser
  • Behind Reverse Proxy? not yet, traefic do not load labels because it is not in healthy status

Logs

No error logs

Checklist

  • [ - ] I have searched existing issues to make sure this is not a duplicate
  • [ X ] I am using the latest version of PegaProx

ivoIT1 avatar Mar 15 '26 22:03 ivoIT1

I forget to mention , that it is running normally just the healthcheck is returning Unhealthy

ivoIT1 avatar Mar 15 '26 22:03 ivoIT1

One more debug info, inside container I have run the health script: and this is result

pegaprox@1699911b6dbc:~$ python3 -c "import urllib.request; urllib.request.urlopen('https://localhost:5000/api/auth/check', context=import('ssl')._create_unverified_context())" Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.12/urllib/request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/urllib/request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/urllib/request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/urllib/request.py", line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/urllib/request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/usr/local/lib/python3.12/urllib/request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 401: UNAUTHORIZED

ivoIT1 avatar Mar 15 '26 23:03 ivoIT1

Was fixed with v0.9.2

Best Regards, Nico

MrMasterbay avatar Mar 19 '26 16:03 MrMasterbay