I updated my project from 8.2.3 to 8.3.2. Every 20 to 30 minutes it gets redirected to screen 403. There are quite a few logs as below.
/connect/token""" - 400 null "application/json;charset=UTF-8" 34.4556ms /connect/token""" - 409 null "text/html; charset=utf-8" 1089.4563ms
- ABP Framework version: v8.3.2
- UI Type: Angular
- Database System: MySQL
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
5 Answer(s)
-
0
Hi,
The latest version is 8.3.3, could you try upgrade to the latest version to check it
-
0
i updated to 8.3.3 but the same log still appears
Nov 13 14:51:57.351 portx-id-server Request starting "HTTP/1.1" "POST" "http"://"phuongntl_test.id.portx-test.com""""/connect/token""" - "application/x-www-form-urlencoded" 4216 Nov 13 14:51:57.351 portx-id-server CORS policy execution successful. Nov 13 14:51:57.352 portx-id-server The request URI matched a server endpoint: Token. Nov 13 14:51:57.353 portx-id-server The token request was successfully extracted: "{ \"grant_type\": \"refresh_token\", \"scope\": \"offline_access openid profile email phone PortX\", \"refresh_token\": \"[redacted]\", \"client_id\": \"PortX_App\" }". Nov 13 14:51:57.382 portx-id-server The response was successfully returned as a JSON document: "{ \"error\": \"invalid_grant\", \"error_description\": \"The specified token is invalid.\", \"error_uri\": \"https://documentation.openiddict.com/errors/ID2004\" }". Nov 13 14:51:57.383 portx-id-server Request finished "HTTP/1.1" "POST" "https"://"phuongntl_test.id.portx-test.com""""/connect/token""" - 400 null "application/json;charset=UTF-8" 31.8096ms```
-
0
Hi,
could you please share the all application logs? thanks.
-
0
I would like to provide you with more information about Error refreshing token (code 409) when updating ABP to version 8.3.2. Please check. Thanks
Error refreshing token { "headers": { "normalizedNames": "[Map]", "lazyUpdate": null, "lazyInit": "[Function] unknown" }, "status": 409, "statusText": "OK", "url": "https://huyendt.id.portx-test.com/connect/token", "ok": false, "name": "HttpErrorResponse", "message": "Http failure response for https://huyendt.id.portx-test.com/connect/token: 409 OK",
-
0