Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6449

Problems with the 4.1 java rest client?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2
    • Component/s: None
    • Labels:
    • Subscription:
      Active subscription
    • Backport Version:
      4.1

      Description

      Hi,

      occasionally we get problems trying to retrieve user data via the REST interface. I had a look in our loadbalancer log today and found requests like this:

       
       
      "GET /midpoint/ws/rest/users/737d6a23-ba64-4907-b3ef-fb51e68ae1e8?include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto&include=jpegPhoto HTTP/1.1" 400 2273 "-" "Apache-CXF/3.3.5" 593169 "mp-debug-PROD-mp-debug-mp-debug" "http://10.0.3.80:8080" 1ms
       
       
       

      The connectivity problems only seem to occur after several bulk updates (I am currently updating hundreds of users) on our Sun Waveset system which is connected to midpoint using a custom connector, which in turn uses the midpoint java REST client.

       

      is this a REST client issue or more something our side. I never saw these problems when we were using the 4.0 rest client (this maybe coincidence, though).

       

      Regards,

      Chris

        Attachments

          Activity

            People

            Assignee:
            chris83527 Chris Woods
            Reporter:
            chris83527 Chris Woods
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: