0 Replies Latest reply on Dec 15, 2016 10:48 PM by rakshith.shivashankar

    JIVE Rest Api - Put operation processing only for 2 iterations in the loop and gets stuck at the 3rd.

    rakshith.shivashankar

      Hi Developer team,

       

      (Note: I had raised a Jive Case for the same question, (Jive Case Id : Case #435277, url: https://community.jivesoftware.com/casethread/435277), but the team asked me to reach out to you people. Hence asking the question here. Kindly help me in resolving the same. )

       

      We are facing this issue in Jive Rest Api,

      • I have written a code which uses Jive Rest Api's PUT operation in loop.
      • This PUT operation is processing/executing fine only till 2nd iteration with 200 OK status.
      • Later at the 3rd iteration, it gets stuck, it doesn't reach the server at all. And it will be in that state for too long.
      • Tried in different machines but no luck, we are getting the same issue.
      • Below given is the JSON data (request and response details)

      Request Details:

      {

          "emails" : [{

                  "value" : "raksh@126.com",

                  "jive_label" : "Email"

              }

          ],

          "jive" : {

              "username" : "3120655",

              "externalIdentities" : [{

                      "identityType" : "SAML",

                      "identity" : "AA-31206550.7775939916257568"

                  }

              ]

          },

          "name" : {

              "familyName" : "3120655",

              "givenName" : "3120655"

          }

      }

       

      Response Details:

      HttpResponseProxy{HTTP/1.1 200 OK [P3P: CP="CAO PSA OUR", Date: Tue, 06 Dec 2016 05:22:32 GMT, Vary: Accept-Encoding,User-Agent, X-JSL: D=112024 t=1481001751978544, Server: Apache, Expires: Tue, 06 Dec 2016 05:22:31 GMT, Set-Cookie: jive.login.ts=1481001751979; Path=/; HttpOnly, Set-Cookie: jive.user.loggedIn=true; Path=/; HttpOnly, Set-Cookie: jive.user.loggedIn=true; Path=/; HttpOnly, Content-Type: application/json, Cache-Control: no-store, no-cache, must-revalidate, private, max-age=0, X-Jive-Flow-Id: fce3a7b1-bb73-11e6-b5a9-020f01014108, Proxy-Connection: Keep-Alive, Transfer-Encoding: chunked, X-Jive-Request-Id: fce3a7b0-bb73-11e6-b5a9-020f01014108] org.apache.http.client.entity.DecompressingEntity@5315b42e}

       

      I have also attached the java code where I am facing this issue.

       

       

      Kindly look into this issue and get us some resolution regarding the same.

       

      Regards

      Rakshith.S