nodeSolidServer / nodeSolidServer/node-solid-server
Error fetching openid configuration: 502 Bad Gateway
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.8k
- 派生
- 308
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从失败的 /.well-known/openid-configuration 请求以及 node_modules/@solid/oidc-rp/src/onHttpError.js 中的堆栈条目开始,然后跟踪 NSS 和 NGINX 如何在两台机器之间路由该请求。完成的标准是确定 502 的来源,并记录或修正相关的服务器或代理配置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, nginx, node.js
- 领域
- authentication, backend, networking
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100