Details

    • Type: Sub-task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      DMS Error in /user API, code 572

       

      Observing performance issue with get user API:

      api/user/UCM45275WRQXDBR0RCZ
      api/user/U314KN6Y8LSZN111SMW
      api/user/U8Q7SR6BQK3KSWWW6V8
      api/user/UCL02M67N739RQKDQN7
      api/user/UPR6LR6XT8XZ9LJ5C3Z
      api/user/U2V7LL65K5C6V3WGMW9

        Attachments

          Activity

          harshveer.singh Harshveer Singh (Inactive) logged work - 04/May/20 11:30 AM
          • Time Spent:
            3h
             
            <No comment>
          harshveer.singh Harshveer Singh (Inactive) created issue -
          harshveer.singh Harshveer Singh (Inactive) logged work - 05/May/20 11:30 AM
          • Time Spent:
            5h
             
            <No comment>
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Field Original Value New Value
          Status To Do [ 10000 ] In Progress [ 3 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 3h [ 10800 ]
          Worklog Id 241704 [ 241704 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Status In Progress [ 3 ] To Do [ 10000 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint April 2020 Release - Sprint 2 [ 207 ] April 2020 Release - Sprint 2, May 2020 Release - Sprint 1 [ 207, 219 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 3h [ 10800 ] 8h [ 28800 ]
          Worklog Id 242224 [ 242224 ]
          harshveer.singh Harshveer Singh (Inactive) logged work - 13/May/20 11:30 AM
          • Time Spent:
            5h
             
            <No comment>
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Description DMS Error in /user API, code 572 DMS Error in /user API, code 572

           

          Observing performance issue with get user API:

          api/user/UCM45275WRQXDBR0RCZ
          api/user/U314KN6Y8LSZN111SMW
          api/user/U8Q7SR6BQK3KSWWW6V8
          api/user/UCL02M67N739RQKDQN7
          api/user/UPR6LR6XT8XZ9LJ5C3Z
          api/user/U2V7LL65K5C6V3WGMW9
          harshveer.singh Harshveer Singh (Inactive) logged work - 17/May/20 11:30 AM
          • Time Spent:
            3h
             
            <No comment>
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 8h [ 28800 ] 13h [ 46800 ]
          Worklog Id 243861 [ 243861 ]
          Hide
          harshveer.singh Harshveer Singh (Inactive) added a comment -

          API Timeouts are happening when worker process is initializing for first time after being terminated.

          We need to take 2 steps to resolve this:

           

          1. After app pool recycle we need to warmup the API servers. If we don’t do this then very first request to API after recycle generally timeouts causing error in other applications integrated with DMS. You can use below line in your script to make an API call each server directly(not to load balancer serve using URL) after recycling:

              Stage:

                  powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.4:88/api/user/GetSecurityQuestions"

                  powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.5:88/api/user/GetSecurityQuestions"

              Prod:

                  powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.4:89/api/user/GetSecurityQuestions"

                  powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.5:89/api/user/GetSecurityQuestions"

                          Port binding which I have provided in above script might not exist, so please validate that some other binding except 443 exists and use that.

          1. Also we need to remove Idle time-out from DMS App pool setting(set it to 0) so that worker process doesn’t terminate after inactivity.

           

          Ashwin Wankhede Ashish Durani Samir

          Show
          harshveer.singh Harshveer Singh (Inactive) added a comment - API Timeouts are happening when worker process is initializing for first time after being terminated. We need to take 2 steps to resolve this:   After app pool recycle we need to warmup the API servers. If we don’t do this then very first request to API after recycle generally timeouts causing error in other applications integrated with DMS. You can use below line in your script to make an API call each server directly(not to load balancer serve using URL) after recycling:     Stage:         powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.4:88/api/user/GetSecurityQuestions "         powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.5:88/api/user/GetSecurityQuestions "     Prod:         powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.4:89/api/user/GetSecurityQuestions "         powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://172.16.196.5:89/api/user/GetSecurityQuestions "                 Port binding which I have provided in above script might not exist, so please validate that some other binding except 443 exists and use that. Also we need to remove Idle time-out from DMS App pool setting(set it to 0) so that worker process doesn’t terminate after inactivity.   Ashwin Wankhede Ashish Durani Samir
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 13h [ 46800 ] 16h [ 57600 ]
          Worklog Id 244077 [ 244077 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint April 2020 Release - Sprint 2, May 2020 Release - Sprint 1 [ 207, 219 ] April 2020 Release - Sprint 2, May 2020 Release - Sprint 1, May 2020 Release - Sprint 2 [ 207, 219, 220 ]
          harshveer.singh Harshveer Singh (Inactive) logged work - 28/May/20 11:30 AM
          • Time Spent:
            7h
             
            <No comment>
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 16h [ 57600 ] 23h [ 82800 ]
          Worklog Id 246263 [ 246263 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint April 2020 Release - Sprint 2, May 2020 Release - Sprint 1, May 2020 Release - Sprint 2 [ 207, 219, 220 ] April 2020 Release - Sprint 2, May 2020 Release - Sprint 1, May 2020 Release - Sprint 2, June 2020 Release - Sprint 1 [ 207, 219, 220, 221 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Issue Type Maintenance [ 11104 ] Sub-task [ 5 ]
          Parent DMS-2257 [ 107204 ]
          Transition Time In Source Status Execution Times
          Harshveer Singh (Inactive) made transition -
          In Progress To Do
          1d 49m 1
          Harshveer Singh (Inactive) made transition -
          To Do In Progress
          11d 22h 38m 2
          Harshveer Singh (Inactive) made transition -
          In Progress Code Review
          3h 34m 1
          Harshveer Singh (Inactive) made transition -
          Code Review In QA Testing
          15d 20h 28m 1
          Harshveer Singh (Inactive) made transition -
          In QA Testing Done
          22m 50s 1

            People

            Assignee:
            harshveer.singh Harshveer Singh (Inactive)
            Reporter:
            harshveer.singh Harshveer Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 23h
                23h