maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCHANGES-378) Github report does not use maven proxy settings
Date Thu, 28 Feb 2019 12:22:00 GMT

    [ https://issues.apache.org/jira/browse/MCHANGES-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780447#comment-16780447
] 

Luc Maisonobe commented on MCHANGES-378:
----------------------------------------

The report I made on Egit <https://bugs.eclipse.org/bugs/show_bug.cgi?id=509287> has
not seen
much trafic, however, a similar issue was raised and solved last december, see <https://bugs.eclipse.org/bugs/show_bug.cgi?id=541603>
and <https://github.com/eclipse/egit-github/commit/03f87a38a842acf0f2958ef41d5dc34936eff074>.

Could this be included in maven-changes-plugin now?

> Github report does not use maven proxy settings
> -----------------------------------------------
>
>                 Key: MCHANGES-378
>                 URL: https://issues.apache.org/jira/browse/MCHANGES-378
>             Project: Maven Changes Plugin
>          Issue Type: Bug
>          Components: github
>    Affects Versions: 2.12.1
>         Environment: Linux
>            Reporter: Luc Maisonobe
>            Priority: Major
>
> When attempting to run mvn:site on a project that uses GitHub as its SCM, maven-changes-plugin
gets called to create reports, and it always attempts to generate github-report (even despite
reportSet contains only changes-report and there is are changes.xml files in the various project
modules.
> An attempt to connect directly to api.github.com on port 443 is then done, which is forbidden
by an authenticating proxy. This happens despite the proxy settings are correct in settings.xml
(and are used by other plugins).
> This looks similar to MCHANGES-231, but affects Github instead of JIRA.
> When using the -X switch to get some debug info, it seems the lowest level exception
is a java.net.SocketException (Connection Reset). The stack trace is:
> Caused by: java.net.SocketException: Connection reset
> 	at java.net.SocketInputStream.read(SocketInputStream.java:209)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
> 	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
> 	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
> 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
> 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
> 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
> 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
> 	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
> 	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
> 	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
> 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
> 	at org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:733)
> 	at org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:173)
> 	at org.eclipse.egit.github.core.service.GitHubService.getAll(GitHubService.java:151)
> 	at org.eclipse.egit.github.core.service.IssueService.getIssues(IssueService.java:454)
> 	at org.apache.maven.plugin.github.GitHubDownloader.getIssueList(GitHubDownloader.java:191)
> 	at org.apache.maven.plugin.github.GitHubMojo.executeReport(GitHubMojo.java:184)
> So the connections is attempted by some code from egit. I was not able to find if the
problem is a wrong usage of egit from maven changes plugin or a bug in egit itself.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message