Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1416121
Summary: | https://github.com/xxxxx cannot open git-upload-pack | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Schmitz <agrar.pfurtz> | ||||
Component: | eclipse-egit | Assignee: | rob <rob.myers> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 25 | CC: | agrar.pfurtz, akurtako, andjrobins, eclipse-sig, fedora, jerboaa, krzysztof.daniel, mat.booth, rgrunber, rob.myers, sgehwolf | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:1712306555; | ||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-01-25 17:40:20 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Thomas Schmitz
2017-01-24 16:10:38 UTC
Created attachment 1243973 [details]
File: backtrace
This seems similar to Bug 1329342 . What version of java-1.8.0-openjdk are you using ? (In reply to Roland Grunberg from comment #2) > This seems similar to Bug 1329342 . What version of java-1.8.0-openjdk are > you using ? In fact on my machine this seems reproducible using Jiri's HttpsCheck reproduction case from that bug: $ cat HttpsCheck.java import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; public class HttpsCheck { static String[] urls = { "https://bugzilla.redhat.com/", "https://dl.bintray.com/fabioz/pydev/4.5.5/"}; public static void main(String[] args) throws Exception{ for (String url : urls) { URL u = new URL(url); InputStream is = u.openStream(); BufferedReader bw = new BufferedReader(new InputStreamReader(is,"utf8")); StringBuilder page = new StringBuilder(); while(true){ String s = bw.readLine(); if (s == null){ break; } page.append(s); } System.out.println(page.toString()); } } } $ javac HttpsCheck.java $ java -cp . HttpsCheck Exception in thread "main" javax.net.ssl.SSLException: java.security.ProviderException: java.lang.NegativeArraySizeException at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410) 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 sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at java.net.URL.openStream(URL.java:1045) at HttpsCheck.main(HttpsCheck.java:15) Caused by: java.security.ProviderException: java.lang.NegativeArraySizeException at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:147) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:703) at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:77) at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:721) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:281) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) ... 8 more Caused by: java.lang.NegativeArraySizeException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method) at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:128) ... 17 more So it seems not to be an Eclipse-specific problem... I forgot to mention my JDK version: java-1.8.0-openjdk-1.8.0.111-5.b16.fc25.x86_64 The workaround for me is to downgrade nss: $ sudo dnf downgrade nss\* Then the problem goes away. Thomas, can you try and see if this also fixes the problem for you? OR, as an alternative getting the latest openjdk build also seems to fix the problem: https://koji.fedoraproject.org/koji/buildinfo?buildID=835981 It looks as though it will be available in updates-testing very soon: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4076cf8494 Mat, this is bug 1415137 I'm marking this as a duplicate of Bug 1415137. Recommended workaround is to either download the newer rpms, or enable updates-testing for java-1.8.0-openjdk ( mentioned in comment #6 ). Alternatively one could downgrade nss\* until newer opendjk lands as an update. *** This bug has been marked as a duplicate of bug 1415137 *** I did the downgrade and that fixed it for now. Thx |