Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.8, 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: None
    • Labels:
      None

      Description

      If server returns http 301 then Connector simply displays:

      com.sun.jersey.api.client.UniformInterfaceException: Client response status: 301

      despite of the Task Repository settings.

      We need to fix the "Follow redirects" setting for task repository.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment -

            Fixed.

            Show
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - Fixed.
            Show
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - Customer confirms that fix works fine: https://answers.atlassian.com/questions/199724/jira-mylin-connector-for-jira-on-amazon-cloud-location-of-jira-server-has-moved?page=1#comment-200866
            Hide
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - - edited

            Reopening. It works fine with GET methods but does not work for POST methods (e.g. create issue).

            Show
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - - edited Reopening. It works fine with GET methods but does not work for POST methods (e.g. create issue).
            Hide
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment -

            The investigation unveiled that it is not possible to handle redirects automatically with Apache Commons.

            We will need to handle that on our side (probably JRJC client).

            Show
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - The investigation unveiled that it is not possible to handle redirects automatically with Apache Commons. We will need to handle that on our side (probably JRJC client).
            Hide
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment -

            Creating issue and other POST actions like worklog, edit, attachments, transition work fine with redirection.

            Show
            {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski added a comment - Creating issue and other POST actions like worklog, edit, attachments, transition work fine with redirection.

              People

              • Assignee:
                {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski
                Reporter:
                {annotationCollection: [{}], annotations: [{}], collectionInheritableAnnotations: [{}], declaredAnnotations: [{}], description: Annotated value: jjaroczynski; Annotations: [@com.atlassian.velocity.htmlsafe.HtmlSafe()]} Jacek Jaroczynski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?