You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org> on 2010/06/14 11:38:12 UTC

[jira] Created: (MCHANGES-200) Problem with login to jira over https and proxy

Problem with login to jira over https and proxy
-----------------------------------------------

                 Key: MCHANGES-200
                 URL: http://jira.codehaus.org/browse/MCHANGES-200
             Project: Maven 2.x Changes Plugin
          Issue Type: Bug
         Environment: Jdk 1.6_18
Jira Enterprise Edition, Version: 3.13.3-#344)
            Reporter: Krashan Brahmanjara


I cannot get changes log from JIRA but url used by maven is correct.
I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
get correct xml in browsers like FF or IE however untrusted certificate info are displayed..

BTW
Login phase is very long.

Deatils
[DEBUG] Using proxy: 10.4.1.1 at port 3118
[DEBUG] JIRA lives at: https://jira.prv.pl
[DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
[DEBUG] Successfully logged in into JIRA.
[DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[WARNING] Downloading from JIRA failed. Received: [503]

Pom configuration
         <issueManagement>
		<system>jira</system>
		<url>https://jira.prv.pl/browse?id=INSCS</url>
	</issueManagement>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.3</version>
        <reportSets>
          <reportSet>
            <reports>
            </reports>
          </reportSet>
        </reportSets>
        <configuration>
          <onlyCurrentVersion>true</onlyCurrentVersion>
          <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
          <statusIds>Closed</statusIds>
          <jiraPassword>xxxxx</jiraPassword>
          <jiraUser>TR</jiraUser> 
          <onlyCurrentVersion>true</onlyCurrentVersion>
        </configuration>
      </plugin>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249050#action_249050 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

nonProxyHosts is tracked in MCHANGES-60.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229608#action_229608 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

Above problem occurs if ssl and authentication login page are enabled together.

Resolution
Problem is in class AbstractJiraDownloader. Page http://confluence.atlassian.com/display/JIRA/Receiving+Search+Results+as+an+RSS+Feed
suggest to add param os_authType=basic to login url and this is what we need.

So the patch is :
private boolean doJiraAuthentication(HttpClient client, final String jiraUrl) {
    // log into JIRA if we have to
    String loginUrl = null;

    StringBuffer loginLink = new StringBuffer(jiraUrl);
-    loginLink.append("/login.jsp?os_destination=/secure/");
+    loginLink.append("/login.jsp?os_authType=basic&os_destination=/secure/");

    loginLink.append("&os_username=").append(jiraUser);

    String password = null;
    if (jiraPassword != null) {
      password = StringUtils.repeat("*", jiraPassword.length());
    }
    getLog().debug("Login URL: " + loginLink + "&os_password=" + password);

    loginLink.append("&os_password=").append(jiraPassword);

    loginUrl = loginLink.toString();

+    client.getState().setCredentials(
+        new HttpAuthRealm(null,null),
+        new UsernamePasswordCredentials( jiraUser, jiraPassword ) );
()...


> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249648#action_249648 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

First off, there is no patch attached to this issue, only a Java source file. You need to make it a proper patch file for us to be able to see what changes you are proposing and later to be able to apply those changes to the source repository.

You also need to describe the problem better, so that we can understand it.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHANGES-200:
-------------------------------------

    Component/s: jira-report
    Description: 
I cannot get changes log from JIRA but url used by maven is correct.
I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
get correct xml in browsers like FF or IE however untrusted certificate info are displayed..

BTW
Login phase is very long.

Deatils
{noformat}
[DEBUG] Using proxy: 10.4.1.1 at port 3118
[DEBUG] JIRA lives at: https://jira.prv.pl
[DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
[DEBUG] Successfully logged in into JIRA.
[DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[WARNING] Downloading from JIRA failed. Received: [503]
{noformat}

Pom configuration
{code:xml}
         <issueManagement>
		<system>jira</system>
		<url>https://jira.prv.pl/browse?id=INSCS</url>
	</issueManagement>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.3</version>
        <reportSets>
          <reportSet>
            <reports>
            </reports>
          </reportSet>
        </reportSets>
        <configuration>
          <onlyCurrentVersion>true</onlyCurrentVersion>
          <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
          <statusIds>Closed</statusIds>
          <jiraPassword>xxxxx</jiraPassword>
          <jiraUser>TR</jiraUser> 
          <onlyCurrentVersion>true</onlyCurrentVersion>
        </configuration>
      </plugin>
{code}


  was:
I cannot get changes log from JIRA but url used by maven is correct.
I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
get correct xml in browsers like FF or IE however untrusted certificate info are displayed..

BTW
Login phase is very long.

Deatils
[DEBUG] Using proxy: 10.4.1.1 at port 3118
[DEBUG] JIRA lives at: https://jira.prv.pl
[DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
[DEBUG] Successfully logged in into JIRA.
[DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
[WARNING] Downloading from JIRA failed. Received: [503]

Pom configuration
         <issueManagement>
		<system>jira</system>
		<url>https://jira.prv.pl/browse?id=INSCS</url>
	</issueManagement>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.3</version>
        <reportSets>
          <reportSet>
            <reports>
            </reports>
          </reportSet>
        </reportSets>
        <configuration>
          <onlyCurrentVersion>true</onlyCurrentVersion>
          <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
          <statusIds>Closed</statusIds>
          <jiraPassword>xxxxx</jiraPassword>
          <jiraUser>TR</jiraUser> 
          <onlyCurrentVersion>true</onlyCurrentVersion>
        </configuration>
      </plugin>



> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249637#action_249637 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

I cannot agree with "closed" status. MCHANGES-175 and MCHANGES-60 are different cases.
Real problem is in invalid java code with incorrect or deprecated login algorithm to ssl site. 
Attached solution in AbstractJiraDownloader.java is very easy patch and should be merged with main code.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232781#action_232781 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

Hi
You forget about my mail from  23/Jul/10 4:40 AM. 
Problem is in invalid java code with incorrect login algorithm to ssl site. 
Resolution and fix is above. With this fix everything works well and users can login to ssl site.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225309#action_225309 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

I see another probelm. Plugin propably ignore maven nonProxyHosts settings.  Jira site is in intranet

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249051#action_249051 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

Untrusted certificates are tracked in MCHANGES-175.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225378#action_225378 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

Because Java doesn't take security lightly, unlike some browsers out there. Most browsers however will issue a fairly serious warning when trying to access a site that has an invalid certificate.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krashan Brahmanjara updated MCHANGES-200:
-----------------------------------------

    Attachment: AbstractJiraDownloader.java

Patched file based on version from curront trunk.
There are also "warning getrespons" patch with method getResponseBodyAsString

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226051#action_226051 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

Results after succesful connection to https site are the same as in MCHANGES-106. 
It looks like - correct url from log is not the same as real url calling site.

log

[INFO] Generating "JIRA Report" report.
[INFO] Downloading from JIRA at: https://jira.....pl/secure/IssueNavigator.jspa?view=rss&pid=10080&statusIds=6&resolutionIds=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
Jun 22, 2010 9:29:25 AM org.apache.commons.httpclient.HttpMethodBase getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

jira-results.xml

<!--  RSS generated by JIRA (Enterprise Edition, Version: 3.13.3-#344) at Tue Jun 22 09:26:12 CEST 2010 -->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="https://jira.....pl:443/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92" >
<channel>
    <title>JIRA</title>
    <link>https://jira.....pl:443/secure/IssueNavigator.jspa?reset=true&amp;pid=10080&amp;status=6&amp;resolution=1&amp;sorter/field=created&amp;sorter/order=DESC&amp;sorter/field=priority&amp;sorter/order=DESC</link>
    <description>An XML representation of a search request</description>
    <language>pl-pl</language>     <issue start="0" end="0" total="0" />     <build-info>
        <version>3.13.3</version>
        <build-number>344</build-number>
        <build-date>25-03-2009</build-date>
        <edition>Enterprise</edition>
    </build-info>
</channel>
</rss>

rss feed displayed in IE on url from log "Downloading from JIRA at:"

 <!--   RSS generated by JIRA (Enterprise Edition, Version: 3.13.3-#344) at Tue Jun 22 09:30:59 CEST 2010 
  --> 
- <!-- 
 If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="https://jira....pl:443/styles/jiraxml2html.xsl" type="text/xsl"?>
  --> 
- <rss version="0.92">
- <channel>
  <title>JIRA</title> 
  <link>https://jira.....pl:443/secure/IssueNavigator.jspa?reset=true&pid=10080&status=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC</link> 
  <description>An XML representation of a search request</description> 
  <language>pl-pl</language> 
  <issue start="0" end="9" total="9" /> 
- <build-info>
  <version>3.13.3</version> 
  <build-number>344</build-number> 
  <build-date>25-03-2009</build-date> 
  <edition>Enterprise</edition> 
  </build-info>
- <item>
... items

Fragments of my pom
<scm>
  <connection>scm:svn:svn://10..../trunk</connection>
  <developerConnection>scm:svn:svn://10.../trunk</developerConnection>
</scm>
<issueManagement>
  <system>jira</system>
  <url>https://jira.....pl/BrowseProject.jspa?pid=10080</url>
</issueManagement>


     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <maxEntries>100</maxEntries>
          <jiraPassword>...</jiraPassword>
          <jiraUser>...</jiraUser> 
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>jira-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225989#action_225989 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

Is there a file called "jira-results.xml" in your target directory?
If so, does it contain the next version for your project? (i.e. the one specified in the <version> element in your POM)

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225313#action_225313 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

Workaround - disable <proxy> settign in maven setting file.
After this I got only
[ERROR] Error trying to login into JIRA. Cause is: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid 
certification path to requested target
Why this certificate is not accepted like browsers can?


> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGES-200.
------------------------------------

    Resolution: Duplicate

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>         Attachments: AbstractJiraDownloader.java
>
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> {noformat}
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> {noformat}
> Pom configuration
> {code:xml}
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225262#action_225262 ] 

Dennis Lundberg commented on MCHANGES-200:
------------------------------------------

Java is very picky about certificates. You have to jump through a lot of hoops to get an untrusted certificate to work. Please get a real certificate or make sure that Maven has a keystore containing your untrusted cert.

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-200) Problem with login to jira over https and proxy

Posted by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225939#action_225939 ] 

Krashan Brahmanjara commented on MCHANGES-200:
----------------------------------------------

Next workaround
- connect to Jira https site by IE, accept certificate in IE, export certificate from IE to file with pem extension
- import certificate to java by command
keytool -import -file certfile.pem -alias jira_alias_from_certificate  -keystore %JAVA_HOME%/jre/lib/security/cacerts\
- after above steps plugin connect to Jira quickly, prints success in log ... but not give any results.

details here >http://confluence.atlassian.com/display/CONFKB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Building+Failed+sun.security.provider.certpath.SunCertPathBuilderException\    

> Problem with login to jira over https and proxy
> -----------------------------------------------
>
>                 Key: MCHANGES-200
>                 URL: http://jira.codehaus.org/browse/MCHANGES-200
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>         Environment: Jdk 1.6_18
> Jira Enterprise Edition, Version: 3.13.3-#344)
>            Reporter: Krashan Brahmanjara
>
> I cannot get changes log from JIRA but url used by maven is correct.
> I mean url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> get correct xml in browsers like FF or IE however untrusted certificate info are displayed..
> BTW
> Login phase is very long.
> Deatils
> [DEBUG] Using proxy: 10.4.1.1 at port 3118
> [DEBUG] JIRA lives at: https://jira.prv.pl
> [DEBUG] Login URL: https://jira.prv.pl/login.jsp?os_destination=/secure/&os_username=TR$%^&os_password=*****************
> [DEBUG] Successfully logged in into JIRA.
> [DEBUG] download jira issues from url https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: https://jira.prv.pl/secure/IssueNavigator.jspa?view=rss&pid=INSCS&resolution=1&sorter/field=issuetype&sorter/order=ASC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [503]
> Pom configuration
>          <issueManagement>
> 		<system>jira</system>
> 		<url>https://jira.prv.pl/browse?id=INSCS</url>
> 	</issueManagement>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>2.3</version>
>         <reportSets>
>           <reportSet>
>             <reports>
>             </reports>
>           </reportSet>
>         </reportSets>
>         <configuration>
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>           <filter>resolution=1&amp;sorter/field=issuetype&amp;sorter/order=ASC</filter>
>           <statusIds>Closed</statusIds>
>           <jiraPassword>xxxxx</jiraPassword>
>           <jiraUser>TR</jiraUser> 
>           <onlyCurrentVersion>true</onlyCurrentVersion>
>         </configuration>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira