-
Notifications
You must be signed in to change notification settings - Fork 303
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
Error fetching openid configuration: 502 Bad Gateway #1504
Comments
Can you try to start with DEBUG="solid:*" |
what do you see when you visit https://dev.inclusie-in-4d.ilabt.imec.be/.well-known/openid-configuration from the box that runs NSS? I see a 502 when I visit it from the public internet. The cert is valid though, look: https://dev.inclusie-in-4d.ilabt.imec.be/.well-known/openid-configuration This looks like an error that's coming from Nginx. Have a look at what Nginx would see when it proxies this request to https://nss-box-local-ip-addr:8443/.well-known/openid-configuration Yes, this file is provided by NSS, it should look something like https://solidcommunity.net/.well-known/openid-configuration |
Using curl I get when asking for
Trying with localhost instead of the IP gives the same result. Edit: Running solid with the same config on the same machine as NGINX resolves the issue. |
Try |
But it's not a self-signed cert though. We use Let's Encrypt to have a wildcard cert for the whole domain. |
We are facing similar issues with deploying Solid behind a Nginx proxy with Letsencrypt companion (cf. https://github.com/nginx-proxy) The exact same setup was perfectly working a few days/weeks ago. Now restarting the docker-compose, I am getting the same issue as @pheyvaer :
Those are not self-signed certificates. Those are certificates that work for all of others applications run on our server (a few dozen), and who were working a few weeks ago Here is the version: "3"
services:
solid:
image: nodesolidserver/node-solid-server:latest
container_name: solid-server
restart: unless-stopped
ports:
- 8443:8443
environment:
- "SOLID_SERVER_URI=https://solid.137.120.31.102.nip.io"
- "SOLID_SSL_KEY=/opt/solid/certs/solid.137.120.31.102.nip.io/key.pem"
- "SOLID_SSL_CERT=/opt/solid/certs/solid.137.120.31.102.nip.io/fullchain.pem"
- "SOLID_MULTIUSER=true"
- "SOLID_SERVER_NAME=Solid server at IDS"
- "SOLID_SERVER_DESCRIPTION=Solid server hosted at the Institute of Data Science at Maastricht University"
- "VIRTUAL_HOST=solid.137.120.31.102.nip.io,*.solid.137.120.31.102.nip.io"
- "LETSENCRYPT_HOST=solid.137.120.31.102.nip.io,vemonet.solid.137.120.31.102.nip.io"
- "VIRTUAL_PORT=8443"
- "VIRTUAL_PROTO=https"
volumes:
- /data/certs:/opt/solid/certs
- /data/solid/data:/opt/solid/data
- /data/solid/.db:/opt/solid/.db
- /data/solid/config:/opt/solid/config
@pheyvaer Last time I checked LetsEncrypt could not handle wildcard (according to discussion in issues, only |
@pheyvaer I just found out the issue: even So I need to manually define each single subdomain one by one for each new user! |
The mentioned issue: nginx-proxy/acme-companion#319 |
I'm racking my brains here unsuccessfully trying to get a node-solid-server fully running again. Latest error message:
So many basic questions about how to get this working again - it was about two years ago that I set up several NSS successfully on Digital Ocean. A lot has changed since then, right? I did manage to get a community-solid-server running the other day, but that was just frustrating because I jumped into it without reading that it's not for multi-users. (Perhaps a name change to personal-solid-server?). Q1. Should I run the command solid start using sudo? Q2. How to persist the instance (I tried using PM2, which worked, though nothing is working now -- see latest error messages -- also I got to where I had a 403 forbidden, which I thought was an improvement over 502 Gateway. Now I'm not sure.) I deleted that CSS server and installed NSS, according to this and this and following my notes from way back in 2020 and using information I gleaned from comparing and contrasting the instructions from NSS and some from CSS (especially the Nginx configs). I've managed to make mince-meat out of my brain by trying to mix and match information from all the different sources out there (and my notes probably only add to my confusion). Essential variables:
Host VM. DNS
I got a new NSS server partially working. For troubleshooting purposes, I haven't changed my DNS settings which include _acme-challenge TXT string pointing to mypod.dev; NGINX (I've tried various pure and mixed configurations based on Solid Projects suggestions, such as this one and this one, and yes, I was able to get this up and running a few times but... there was always an error message when it came to logging in. "Couldn't Fetch", though I could register at one point and navigate to https://antoine.mypod.dev/profile/card#me)
SSL/Letsencrypt If I run PERMISSIONS I installed via git clone and ran: I changed the ownership of directories and files according to the instructions:
I ran: SERVER CONFIGURATION -- what's causing my errors, NSS installation, HOST, DNS, NGINX..... ahhh!!!? |
@xpat
|
Hi,
I get an error when running the server behind NGINX. NSS and NGINX are running on two different machines.
I do
solid start
with the following config:I get this error
A wildcard certificate is implemented for the
*.dev.inclusie-in-4d.ilabt.imec.be
. I'm also wondering where the.well-known/openid-configuration
is coming from. Is it something that is provided by NSS?The text was updated successfully, but these errors were encountered: