Error in creating new project in IC

Issue #587 resolved
Feng created an issue

Hi Scott

I tried to create a new project in IC, however it gave me this error:

An unexpected error occurred during license validation. com.wyday.turboactivate.InternetException: Connection to the servers failed.

Please note: I have proxy in my net work, and connection is tested fine

here is the log :

2017-04-10 15:52:32,557 [ 112970] INFO - ellij.license.LicenseValidator - Initializing Illuminated Cloud 1.7.8.9 (20170407152842). 2017-04-10 15:52:32,557 [ 112970] INFO - ellij.license.LicenseValidator - Validating certificate. 2017-04-10 15:52:32,559 [ 112972] INFO - ellij.license.LicenseValidator - Successfully validated certificate. 2017-04-10 15:52:32,559 [ 112972] INFO - llij.license.SignedJarVerifier - Verifying application contents. 2017-04-10 15:52:33,767 [ 114180] INFO - llij.license.SignedJarVerifier - Successfully verified application contents. 2017-04-10 15:52:33,767 [ 114180] INFO - ellij.license.LicenseValidator - Initializing the licensing system. 2017-04-10 15:52:33,873 [ 114286] INFO - ellij.license.LicenseValidator - Validating libraries. 2017-04-10 15:52:34,125 [ 114538] INFO - ellij.license.LicenseValidator - Successfully validated libraries. 2017-04-10 15:52:34,143 [ 114556] INFO - ellij.license.LicenseValidator - Server license validation result was NotGenuine. 2017-04-10 15:52:48,065 [ 128478] ERROR - ellij.license.LicenseValidator - An unexpected error occurred during license validation. com.wyday.turboactivate.InternetException: Connection to the servers failed. at com.wyday.turboactivate.TurboActivate.UseTrial(SourceFile:863) at com.wyday.turboactivate.TurboActivate.UseTrial(SourceFile:840) at com.illuminatedcloud.intellij.license.LicenseValidator$7.compute(SourceFile:484) at com.illuminatedcloud.intellij.license.LicenseValidator$7.compute(SourceFile:477) at com.illuminatedcloud.intellij.license.LicenseValidator.runWithTurboActivate(SourceFile:250) at com.illuminatedcloud.intellij.license.LicenseValidator.getTrialDaysRemaining(SourceFile:476) at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudApplicationAboutTab$4.run(SourceFile:143) at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2621) at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudApplicationAboutTab.updateLicenseState(SourceFile:129) at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudApplicationAboutTab.initialize(SourceFile:76) at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudApplicationConfigurable.createComponent(SourceFile:74) at com.intellij.openapi.options.ex.ConfigurableWrapper.createComponent(ConfigurableWrapper.java:159) at com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:75) at com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:69) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:942) at com.intellij.openapi.options.ex.ConfigurableCardPanel.createConfigurableComponent(ConfigurableCardPanel.java:69) at com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:55) at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:68) at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:65) at com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:88) at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:116) at com.intellij.ui.CardLayoutPanel.lambda$null$0(CardLayoutPanel.java:132) at com.intellij.ui.CardLayoutPanel$$Lambda$476/29973060.run(Unknown Source) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:303) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:410) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:827) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:735) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:457) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1696) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1645) at com.intellij.openapi.options.newEditor.SettingsDialog.lambda$show$0(SettingsDialog.java:77) at com.intellij.openapi.options.newEditor.SettingsDialog$$Lambda$467/2027994.run(Unknown Source) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:86) at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:151) at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:77) at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:94) at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:63) at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:52) at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame$FlatWelcomeScreen$IconsFreeActionGroup$1.actionPerformed(FlatWelcomeFrame.java:711) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:215) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:974) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:964) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.lambda$onChosen$0(PopupFactoryImpl.java:958) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$$Lambda$422/7501947.run(Unknown Source) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193) at com.intellij.ui.popup.AbstractPopup.lambda$null$7(AbstractPopup.java:1396) at com.intellij.ui.popup.AbstractPopup$$Lambda$425/6038274.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:827) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 2017-04-10 15:52:48,067 [ 128480] ERROR - ellij.license.LicenseValidator - IntelliJ IDEA 2017.1 Build #IC-171.3780.107 2017-04-10 15:52:48,067 [ 128480] ERROR - ellij.license.LicenseValidator - JDK: 1.8.0_05 2017-04-10 15:52:48,068 [ 128481] ERROR - ellij.license.LicenseValidator - VM: Java HotSpot(TM) Server VM 2017-04-10 15:52:48,068 [ 128481] ERROR - ellij.license.LicenseValidator - Vendor: Oracle Corporation 2017-04-10 15:52:48,068 [ 128481] ERROR - ellij.license.LicenseValidator - OS: Windows 7 2017-04-10 15:52:48,068 [ 128481] ERROR - ellij.license.LicenseValidator - Last Action:
2017-04-10 15:52:52,709 [ 133122] INFO - ellij.license.LicenseValidator - Disabling plugin and restarting IDE.

Comments (7)

  1. Scott Wells repo owner

    Hi, Feng. I apologize for the delayed response but it looks like you logged this just after I went to bed last night. I have two thoughts on this... First, have you configured IntelliJ IDEA for automatic or manual proxy configuration? If automatic, please try to configure it manually. While the Java portions pick up the automatic configuration, the licensing software does not. That has fixed this problem for many people on the past. Second (if that doesn't address it), do you happen to have any form of SSL certificate substitution occurring in your proxy server or firewall. If so, the licensing software will not tolerate that since it can appear to be a man-in-the-middle attack. If that's the case you'll need to ensure that connections to https://wyday.com present the server's exact SSL certificate.

    Please let me know if these thoughts don't help.

  2. Feng reporter

    No worries Scott, i configured proxy manually, and tested to https://test.salesforce.com successful How can I tell from IntelliJ or from the log file "any form of SSL certificate substitution"? I noticed when I am doing Proxy test, it came up the pop up "Untrusted Server's Certificate" window, and ask me to accept, is this issue? see attached screen shot

  3. Scott Wells repo owner

    Yeah, it does look like certificate substitution is happening. You'll want to configure IntelliJ IDEA itself to accept those certificates under Settings>Tools>Server Certificates. Unfortunately as I mentioned previously, that won't help at all with the licensing software. For that you'll either need to work with your IT to add an exception for https://wyday.com/ so that the original SSL certificate is left intact, or you'll need to move to another network temporarily without that behavior to activate the software. The licensing software itself is completely intolerant of certificate tampering because it could be used to circumvent it. Please let me know if this guidance doesn't help.

  4. Scott Wells repo owner

    Feng, if you're just needing to activate the license, I can help you with that. We can perform an offline activation where you run a small program which generates a license activation request, you email that to me and I activate the license, and I send you back the license activation response which you can use to activate your key. Just email me and I'll help you get activated. So sorry for the nuisance!

  5. Log in to comment