Error fetching openid configuration: 502 Bad Gateway
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, nginx, node.js
- Domain
- authentication, backend, networking
Research direction
Start with the failing request to /.well-known/openid-configuration and the stack entry at node_modules/@solid/oidc-rp/src/onHttpError.js, then trace how NSS and NGINX route it between the two machines. Done means identifying the source of the 502 and documenting or correcting the relevant server or proxy configuration.
Written by the indexing model from the issue text.
Description
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:
{
"root": "/users/pheyvaer/nss/data",
"port": "8443",
"serverUri": "https://dev.inclusie-in-4d.ilabt.imec.be",
"webid": true,
"mount": "",
"configPath": "./config",
"configFile": "./config.json",
"dbPath": "",
"sslKey": "privkey.pem",
"sslCert": "fullchain.pem",
"multiuser": true,
"enforceToc": false,
"disablePasswordChecks": false,
"supportEmail": "pieter.heyvaert@ugent.be",
"server": {
"name": "Inclusie in 4D",
"description": "",
"logo": ""
}
}
I get this error
Error registering a new client: Error: Error fetching openid configuration: 502 Bad Gateway
at /users/pheyvaer/.nvm/versions/node/v12.19.0/lib/node_modules/solid-server/node_modules/@solid/oidc-rp/src/onHttpError.js:32:17
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
response: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [PassThrough], disturbed: false, error: null },
[Symbol(Response internals)]: {
url: 'https://dev.inclusie-in-4d.ilabt.imec.be/.well-known/openid-configuration',
status: 502,
statusText: 'Bad Gateway',
headers: [Headers],
counter: 0
}
},
statusCode: 502
}
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?
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodeSolidServer/node-solid-server
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
nodeSolidServer/node-solid-server#1848 · 2 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nodeSolidServer/node-solid-server#1841 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nodeSolidServer/node-solid-server#1147 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
nodeSolidServer/node-solid-server#1867 ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
nodeSolidServer/node-solid-server#1853 ·
All issues in nodeSolidServer/node-solid-server
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·