Open Closed

8.3.2 Token issue ??? #8269


User avatar
0
portx-dev created

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:

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The latest version is 8.3.3, could you try upgrade to the latest version to check it

  • User Avatar
    0
    portx-dev created

    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```
    
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    could you please share the all application logs? thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11