nodeSolidServer / nodeSolidServer/node-solid-server
Error fetching openid configuration: 502 Bad Gateway
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.8k
- Fork
- 308
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với yêu cầu thất bại tới /.well-known/openid-configuration và mục stack trong node_modules/@solid/oidc-rp/src/onHttpError.js, sau đó theo dõi cách NSS và NGINX định tuyến yêu cầu đó giữa hai máy. Công việc được hoàn tất khi xác định được nguồn gốc của 502 và lập tài liệu hoặc sửa cấu hình máy chủ hay proxy liên quan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, nginx, node.js
- Lĩnh vực
- authentication, backend, networking
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100