This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Discovery url handshake failed #20
Copy link
Copy link
Open
Description
When browsing to http://<ip>:<port>/ I get
There was an error while logging in: accessing discovery url (https://example.net/auth/realms/master/.well-known/openid-configuration) failed: handshake failed
When attaching to the docker console, if I do curl https://example.net I get
curl: (35) error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
I use nginx as a reverse proxy. This is my nginx config. Other docker containers or browsers have no problems with retrieving this url.
server {
listen 443 ssl;
server_name example.net;
ssl_certificate <location to cert>;
ssl_certificate_key <location to cert>;
ssl_protocols TLSv1.3;
ssl_prefer_server_ciphers off;
root /usr/share/nginx/html;
location / {
proxy_pass http://<ipofservice>:<portofservice>;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Metadata
Metadata
Assignees
Labels
No labels