This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Using 6.7 RC1 When i try to use the login to kenai dialog, i get an Authentication Failed message in the dialog I can login fine to kenai.com I was able to login fine yesterday from IDE. IDE has been running for a couple days. If i shut down IDE and then reopen IDE, I can login fine. message log displays the following [edited]: [ Version: V3 Subject: CN=kenai.com, OU=Class B, O=Sun Microsystems Inc, L=Menlo Park, ST=California, C=US Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5 Key: Sun RSA public key, 1024 bits modulus: ... Validity: [From: Wed Oct 08 02:00:00 CEST 2008, To: Sun Oct 09 01:59:59 CEST 2011] Issuer: CN=Sun Microsystems Inc SSL CA, OU=Class 3 MPKI Secure Server CA, OU=VeriSign Trust Network, O=Sun Microsystems Inc ... Certificate Extensions: 8 [1]: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ ... ] ] [2]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ ... [3]: ObjectId: 2.5.29.31 Criticality=false CRLDistributionPoints [ ... ] Algorithm: [SHA1withRSA] Signature: 0000: 35 19 E8 DB 32 53 A3 92 ... ]
Integrated into 'main-golden', will be available in build *200906170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f1d7553b90ca User: Jan Becicka <jbecicka@netbeans.org> Log: #166850: not a fix, just improved logging
From the NB log, it looks like the failure is related to validating the certificate associated with "kenai.com" during the SSL/TLS connection. It is the same process to validate the domain that a browser goes through when a user connects to https://kenai.com. Since NB is using java APIs and it is also intermittent, I'd suggest debugging NB some more to find out the root cause. More logging that includes the source of the failure would help. (BTW, I work on kenai.com.)
I think this is generally not reproducible, even for the reporter (or is it?). Thus hard to debug.
not easily reproducible, but it has happened to me on several different occasions, always with RC1. other possible contributing factors: leaving ide running on laptop for several days switching between home, swan proxy, offline
problem seems to be with certificates. Maybe you have stored old certificate, while kenai.com server started to use new one. Just guess. Try to run ControlPanel, security tab and try to find some certificate for kenai.com and delete it...
Information from the Kenai forums: > I have the same problem as described above on an Ubuntu 9.04 machine and NB 6.7 final: I can't login to Kenai. I ran > Wireshark to follow the network dialog between my machine and the Kenai server and right before failing the connection > (and after receiving the certificate from the Kenai server) there's a TLSv1 Alert Message > > Level: Fatal (2), Description: Certificate Unknown (46). > > Does this help in diagnosing the problem?
edwingo, any ideas? Thanks.
I just encountered this issue again using 6.7 final, fresh full install, fresh userdir Product Version: NetBeans IDE 6.7 (Build 200906241340) Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57 System: Mac OS X version 10.5.6 running on x86_64; MacRoman; en_US (nb) Userdir: /Applications/NetBeans/userdirs/6.7-final
Reply to: ------- Additional comments from jbecicka Wed Jul 8 12:05:29 +0000 2009 ------- > edwingo, any ideas? Thanks. Not beyond my earlier comment. It sounds like the issue is with certificate validation process in NetBeans itself so I would put in some logging/debugging statements when the error occurs and go from there. Other people may have better ideas as I'm not an expert in how java validates certificates.
*** Issue 167290 has been marked as a duplicate of this issue. ***
*** Issue 168106 has been marked as a duplicate of this issue. ***
joshis, juhrik, please try to reproduce scenario from issue 168106. thanks
Cannot reproduce in NB6.7.1FCS (JavaSE edition). I have downloaded this bundle from "bits" and then I installed "Mobility End to End" module, as mentioned in the duplicate issue. After the IDE restart, everything seems to work fine (login works as well as the other Kenai features). I am on Ubuntu 9.04, JDK 1.6.0_13 (b02). (I will try Ubuntu8.04 and older JDK, reporter and anyone facing the problem, please check the newer versions)
Problem encountered again. cannot login in also When i try to open a kenai project from Team > Kenai > Open Kenai Project, the search returns zero results and i get the following in the output window: java.io.IOException: Cannot connect to : kenai.com at org.netbeans.modules.kenai.RestConnection.connect(RestConnection.java:257) at org.netbeans.modules.kenai.RestConnection.get(RestConnection.java:137) at org.netbeans.modules.kenai.KenaiREST.loadPage(KenaiREST.java:157) Caused: org.netbeans.modules.kenai.api.KenaiException at org.netbeans.modules.kenai.KenaiREST.loadPage(KenaiREST.java:159) at org.netbeans.modules.kenai.KenaiREST.searchProjects(KenaiREST.java:130) at org.netbeans.modules.kenai.api.Kenai.searchProjects(Kenai.java:219) [catch] at org.netbeans.modules.kenai.ui.KenaiSearchPanel$5.run(KenaiSearchPanel.java:358) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
Created attachment 85071 [details] log file
Created attachment 85076 [details] thread dump
additional info: Log Session: Monday, July 20, 2009 1:32:44 PM CEST >System Info: Product Version = NetBeans IDE 6.7 (Build 200906241340) Operating System = Mac OS X version 10.5.7 running on x86_64 Java; VM; Vendor = 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02-83; Apple Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_13-b03-211 Java Home = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home System Locale; Encoding = en_US (nb); MacRoman Home Directory = /Users/nb Current Directory = / User Directory = /Applications/NetBeans/userdirs/6.7-final Installation = /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/ergonomics1 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/ide11 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/java2 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/apisupport1 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/webcommon1 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/websvccommon1 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/enterprise5 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/profiler3 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/identity2 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/harness /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/groovy1 /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10 Boot & Ext. Classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/CoreAudio.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/sunpkcs11.jar Application Classpath = /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/boot.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/org-openide-modules.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/org-openide-util.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/boot_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/boot_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/boot_zh_CN.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-modules_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-modules_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-modules_zh_CN.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-util_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-util_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/lib/locale/org-openide-util_zh_CN.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/dt.jar Startup Classpath = /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/core.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/org-openide-filesystems.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/core_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/core_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/core_zh_CN.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/org-openide-filesystems_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/org-openide-filesystems_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/platform10/core/locale/org-openide-filesystems_zh_CN.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/org-netbeans-upgrader.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/core_nb.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/core_nb_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/core_nb_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/core_nb_zh_CN.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/org-netbeans-upgrader_ja.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/org-netbeans-upgrader_pt_BR.jar:/Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/nb6.7/core/locale/org-netbeans-upgrader_zh_CN.jar
168106 has more relevant comments. *** This issue has been marked as a duplicate of 168106 ***