-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
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
https://resource-provider.localhost.yarf.nl/ gives 502 Bad Gateway #33
Comments
Looking at your |
I'm facing the same problem. This is the relevant output from docker-compose (for
For |
Maybe the python 3 docker container is upgraded to a newer python version (3.8) and the path to store the certificate (
`/usr/local/lib/python3.7/site-packages/certifi/cacert.pem)`
doesn't exis anymore? Please try to update the path in the docker-compose file and try again.
On Tue, Feb 11, 2020, at 1:01 AM, Robin wrote:
I'm facing the same problem. This is the relevant output from docker-compose (for `resource-provider`):
`resource-provider_1 | Obtaining file:///usr/src/django-keycloak
resource-provider_1 | Requirement already satisfied: python-keycloak-client>=0.2.2 in /usr/local/lib/python3.8/site-packages (from django-keycloak==0.1.2.dev0) (0.2.2)
resource-provider_1 | Requirement already satisfied: Django>=1.11 in /usr/local/lib/python3.8/site-packages (from django-keycloak==0.1.2.dev0) (3.0.3)
resource-provider_1 | Requirement already satisfied: python-jose in /usr/local/lib/python3.8/site-packages (from python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (3.1.0)
resource-provider_1 | Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (2.22.0)
resource-provider_1 | Requirement already satisfied: sqlparse>=0.2.2 in /usr/local/lib/python3.8/site-packages (from Django>=1.11->django-keycloak==0.1.2.dev0) (0.3.0)
resource-provider_1 | Requirement already satisfied: asgiref~=3.2 in /usr/local/lib/python3.8/site-packages (from Django>=1.11->django-keycloak==0.1.2.dev0) (3.2.3)
resource-provider_1 | Requirement already satisfied: pytz in /usr/local/lib/python3.8/site-packages (from Django>=1.11->django-keycloak==0.1.2.dev0) (2019.3)
resource-provider_1 | Requirement already satisfied: rsa in /usr/local/lib/python3.8/site-packages (from python-jose->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (4.0)
resource-provider_1 | Requirement already satisfied: ecdsa<1.0 in /usr/local/lib/python3.8/site-packages (from python-jose->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (0.15)
resource-provider_1 | Requirement already satisfied: pyasn1 in /usr/local/lib/python3.8/site-packages (from python-jose->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (0.4.8)
resource-provider_1 | Requirement already satisfied: six<2.0 in /usr/local/lib/python3.8/site-packages (from python-jose->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (1.14.0)
resource-provider_1 | Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (2019.11.28)
resource-provider_1 | Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (1.25.8)
resource-provider_1 | Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (2.8)
resource-provider_1 | Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests->python-keycloak-client>=0.2.2->django-keycloak==0.1.2.dev0) (3.0.4)
resource-provider_1 | Installing collected packages: django-keycloak
resource-provider_1 | Attempting uninstall: django-keycloak
resource-provider_1 | Found existing installation: django-keycloak 0.1.2.dev0
resource-provider_1 | Uninstalling django-keycloak-0.1.2.dev0:
resource-provider_1 | Successfully uninstalled django-keycloak-0.1.2.dev0
resource-provider_1 | Running setup.py develop for django-keycloak
resource-provider_1 | Successfully installed django-keycloak
resource-provider_1 | ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /usr/src/python-keycloak-client
resource-provider_1 | ERROR: ./../django-dynamic-fixtures/ is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).
resource-provider_1 | Application already initialized.
resource-provider_1 | grep: /usr/local/lib/python3.7/site-packages/certifi/cacert.pem: No such file or directory
resource-provider_1 | docker/entrypoint-dev.sh: line 24: can't create /usr/local/lib/python3.7/site-packages/certifi/cacert.pem: nonexistent directory
resource-provider_1 | Add CA to trusted pool
example_resource-provider_1 exited with code 1
`
… For `resource-provider-api` it looks just the same.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#33?email_source=notifications&email_token=AANVAXZ7ZJMT2KYUOBDYSP3RCHTG5A5CNFSM4J3IJ5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELKYJQY#issuecomment-584418499>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AANVAX36PJB574XJMGIBIY3RCHTG5ANCNFSM4J3IJ5NQ>.
|
Yes, that's it. I adjusted the Python versions in:
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Build containers following the instructions:
Can access keycloak admin: https://identity.localhost.yarf.nl/ , login, configure users, etc.
Can not access https://resource-provider.localhost.yarf.nl/ (provider), gives
502 Bad Gateway nginx/1.16.1
docker-compose logs contains this, might be relevant:
The text was updated successfully, but these errors were encountered: