Hey masters!
I’ve just done the upgrade to v7, and now I am facing this problem when I try to log in:
(please see some screenshots)
Do they help you guys to help me with this issue?
BTW, this is the console log:
[forest] 🌳🌳🌳 Unable to register the client
{
"configuration": {
"authorization_endpoint": "https://api.forestadmin.com/oidc/auth",
"device_authorization_endpoint": "https://api.forestadmin.com/oidc/device/auth",
"claims_parameter_supported": false,
"claims_supported": [
"sub",
"email",
"sid",
"auth_time",
"iss"
],
"code_challenge_methods_supported": [
"S256"
],
"end_session_endpoint": "https://api.forestadmin.com/oidc/session/end",
"grant_types_supported": [
"authorization_code",
"urn:ietf:params:oauth:grant-type:device_code"
],
"id_token_signing_alg_values_supported": [
"HS256",
"RS256"
],
"issuer": "https://api.forestadmin.com",
"jwks_uri": "https://api.forestadmin.com/oidc/jwks",
"registration_endpoint": "https://api.forestadmin.com/oidc/reg",
"response_modes_supported": [
"query"
],
"response_types_supported": [
"code",
"none"
],
"scopes_supported": [
"openid",
"email",
"profile"
],
"subject_types_supported": [
"public"
],
"token_endpoint_auth_methods_supported": [
"none"
],
"token_endpoint_auth_signing_alg_values_supported": [],
"token_endpoint": "https://api.forestadmin.com/oidc/token",
"request_object_signing_alg_values_supported": [
"HS256",
"RS256"
],
"request_parameter_supported": false,
"request_uri_parameter_supported": true,
"require_request_uri_registration": true,
"claim_types_supported": [
"normal"
]
},
"registration": {
"redirect_uris": [
"http://localhost:3310/forest/authentication/callback"
],
"token_endpoint_auth_method": "none"
},
"error": {
"name": "TimeoutError",
"code": "ETIMEDOUT",
"timings": {
"start": 1625686114556,
"socket": 1625686114556,
"error": 1625686118061,
"phases": {
"wait": 0,
"total": 3505
}
},
"event": "request"
}
}
[forest] 🌳🌳🌳 Unexpected error: Timeout awaiting 'request' for 3500ms
{
"name": "TimeoutError",
"code": "ETIMEDOUT",
"timings": {
"start": 1625686114556,
"socket": 1625686114556,
"error": 1625686118061,
"phases": {
"wait": 0,
"total": 3505
}
},
"event": "request",
"stack": "RequestError: Timeout awaiting 'request' for 3500ms\n at ClientRequest.<anonymous> (/Users/fabio.marconi/projects/forest-backend/UCM-3.0/node_modules/got/dist/source/core/index.js:956:65)\n at Object.onceWrapper (node:events:483:26)\n at ClientRequest.emit (node:events:388:22)\n at ClientRequest.origin.emit (/Users/fabio.marconi/projects/forest-backend/UCM-3.0/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)\n at TLSSocket.socketErrorListener (node:_http_client:490:9)\n at TLSSocket.emit (node:events:376:20)\n at emitErrorNT (node:internal/streams/destroy:188:8)\n at emitErrorCloseNT (node:internal/streams/destroy:153:3)\n at processTicksAndRejections (node:internal/process/task_queues:80:21)\n at Timeout.timeoutHandler [as _onTimeout] (/Users/fabio.marconi/projects/forest-backend/UCM-3.0/node_modules/got/dist/source/core/utils/timed-out.js:36:25)\n at listOnTimeout (node:internal/timers:558:17)\n at processTimers (node:internal/timers:499:7)"
}
POST /forest/authentication 500 98 - 5866.418 ms
My package.json:
"dependencies": {
"chalk": "~1.1.3",
"cookie-parser": "1.4.4",
"debug": "~4.0.1",
"dotenv": "~6.1.0",
"express": "^4.17.1",
"forest-express-sequelize": "^7.12.2",
"morgan": "1.9.1",
"pg": "8.2.2",
"require-all": "^3.0.0",
"sequelize": "^5.15.2"
}
All changes I did was copied from here:
I just didn’t do the section “Running up multiple server instances”.
What else do you need to see to help me out?