Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9307

Significant number of internal errors while generating access_token load

    Details

    • Sprint:
      Team Shakespeare Sprint 116

      Description

      Generating some access_token load (authorization code) to verify OPENAM-8023, we get a significant number of internal errors like:

      T 172.16.204.193:9571 -> 172.16.204.193:8080 [AP]
      POST /openam/oauth2/access_token?realm=%2Fmyrealm HTTP/1.1.
      Content-Type: application/x-www-form-urlencoded.
      Accept: */*.
      Cookie: amlbcookie=01; iPlanetDirectoryPro=AQIC5wM2LY4Sfczxb2RPqFPb4crBHYl1S404Hfxf1U0Ve8g.*AAJTSQACMDEAAlNLABQtODgyMzg0MTc3MzgwNjQxNDQ5NQACUzEAAA..*.
      Content-Length: 106.
      Connection: keep-alive.
      Host: tomme.internal.forgerock.com:8080.
      Authorization: Basic Y2xpZW50T0lEQzpwYXNzd29yZA==.
      .
      grant_type=authorization_code&code=793d96cc-c007-4298-b04d-207e4b7acd99&redirect_uri=http%3A%2F%2Ffake.com
      
      T 172.16.204.193:8080 -> 172.16.204.193:9571 [AP]
      HTTP/1.1 400 Bad Request.
      Cache-Control: no-store.
      Date: Mon, 27 Jun 2016 12:41:26 GMT.
      Accept-Ranges: bytes.
      Server: Restlet-Framework/2.3.4.
      Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept.
      Pragma: no-cache.
      Content-Type: application/json.
      Transfer-Encoding: chunked.
      Connection: close.
      .
      44.
      {"error_description":"Internal Server Error","error":"server_error"}.
      

      with no related message in debug log (even at WARNING level)

      It looks like we still need to increase OIDC_CLAIMS/engineConfiguration thread pool size as a workaround, i.e.:

      ssoadm set-sub-cfg -u amAdmin -f admin_pwd_file -s ScriptingService -g OIDC_CLAIMS/engineConfiguration -o set -a maxThreads=300 queueSize=-1
      

      so that we don't get any more errors.

      We might want to mention it in the release notes ?

        Attachments

          Activity

            People

            • Assignee:
              apforrest Andrew Forrest
              Reporter:
              sberthol Sebastien Bertholet [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: