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

Amster has a timeout limit of 10 second and it is not configurable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0, 14.1.0, 14.1.1
    • Fix Version/s: 6.0.0, 5.5.2
    • Component/s: Amster
    • Labels:
    • Support Ticket IDs:

      Description

      Bug description

      The issue can be easily reproduced by "hanging" the OpenAM

      kill -stop < OpenAM pid > 
      ( run kill -cont < OpenAM pid > to continue  )

      running amster with a -d
      followed by import or export

       

      [main] DEBUG org.forgerock.openam.amster.loadster.importer.Importer - Exception occurred when reading file.
      org.forgerock.openam.sdk.http.ServerErrorException: 502 Bad Gateway
      
       at org.forgerock.openam.sdk.http.DefaultErrorHandler.onServerError(DefaultErrorHandler.java:62)
       at org.forgerock.openam.sdk.http.HttpSessionImpl.handleUnsuccessfulResponse(HttpSessionImpl.java:273)
       at org.forgerock.openam.sdk.http.HttpSessionImpl.send(HttpSessionImpl.java:169)
       at org.forgerock.openam.sdk.http.RequestBuilder.put(RequestBuilder.java:226)
       at org.forgerock.openam.sdk.crest.CrestResourceProviderAsync.updateInstance(CrestResourceProviderAsync.java:185)
       at org.forgerock.openam.sdk.crest.CrestResourceProviderAsync.update(CrestResourceProviderAsync.java:155)
       at org.forgerock.openam.sdk.crest.HttpCrestResourceProvider.update(HttpCrestResourceProvider.java:158)
       at org.forgerock.openam.sdk.operations.CrestOperations.update(CrestOperations.java:119)
       at org.forgerock.openam.amster.loadster.importer.GenericImporter.importEntity(GenericImporter.groovy:55)
       at org.forgerock.openam.amster.loadster.importer.GenericImporter.importFile(GenericImporter.groovy:33)
       at org.forgerock.openam.amster.loadster.importer.Importer.importFile(Importer.groovy:178)
       at org.forgerock.openam.amster.loadster.importer.Importer.access$0(Importer.groovy)
       at org.forgerock.openam.amster.loadster.importer.Importer$_importGlobalEntities_closure4.doCall(Importer.groovy:134)
      < skippe > 
      [main] DEBUG org.forgerock.openam.amster.loadster.importer.Importer - Importing file /work/openam5.0.0-amster-import-23913/exported-configuration-data/global/AmsterModule.json
      [main] DEBUG org.forgerock.openam.sdk.http.HttpSessionImpl - Sending request org.forgerock.sdk.org.forgerock.http.protocol.Request@237dfbbe
      [main] DEBUG org.forgerock.sdk.org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {}->http://openam.internal.example.com:8080][total kept alive: 0; route allocated: 0 of 64; total allocated: 0 of 64]
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 46][route: {}->http://openam.internal.example.com:8080][total kept alive: 0; route allocated: 1 of 64; total allocated: 1 of 64]
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.execchain.MainClientExec - Opening connection {}->http://openam.internal.example.com:8080
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to openam.internal.example.com/172.28.1.229:8080
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connection established 172.28.1.229:50016<->172.28.1.229:8080
      
      [main] DEBUG org.forgerock.sdk.org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-46: set socket timeout to 10000
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sam.phua Sam Phua
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: