Error in import module

asked 2015-12-21 12:31:26 -0500

Cesar Sturion gravatar image

updated 2015-12-22 05:10:09 -0500

Hi,

I'm using Geppetto with eclipse and when I try to import a module of Puppet forge, the Eclipse shows this error:

image description

My version of Geppetto, in Eclipse Mars:

image description

I am behind a proxy server and the configuration is this:

image description

My log file:

!ENTRY org.eclipse.jsch.core 4 0 2015-12-21 15:53:36.415 !MESSAGE An error occurred while loading the know hosts file C:\Users\cfernando.ssh\knownhosts !STACK 0 com.jcraft.jsch.JSchException: java.io.FileNotFoundException: C:\Users\cfernando.ssh\knownhosts (O sistema não pode encontrar o arquivo especificado) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:57) at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317) at org.eclipse.jsch.internal.core.JSchCorePlugin.loadKnownHosts(JSchCorePlugin.java:196) at org.eclipse.jsch.internal.ui.preference.PreferencePage.createHostKeyManagementPage(PreferencePage.java:951) at org.eclipse.jsch.internal.ui.preference.PreferencePage.createContents(PreferencePage.java:144) at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:241) at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1450) at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1217) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173) at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1209) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:608) at org.eclipse.jface.preference.PreferenceDialog$9$1.run(PreferenceDialog.java:675) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:670) at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:877) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:874) at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1243) at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1269) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:265) at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:259) at org.eclipse.jface.util.OpenStrategy$1$2.run(OpenStrategy.java:440) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772) at org.eclipse.jface.window.Window.runEventLoop(Window.java:827) at org.eclipse.jface.window.Window.open(Window.java:803) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:63) at org.eclipse.jface.action.Action.runWithEvent(Action.java:473) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable ...

(more)
edit retag flag offensive close merge delete

Comments

Can you also show the contents of the "log view" as indicated by the error message dialog box? That might contain some helpful information for troubleshooting this problem.

GregLarkin gravatar imageGregLarkin ( 2015-12-21 15:36:41 -0500 )edit

Hmm, not sure what the problem is there, but what happens if you browse to https://forgeapi.puppetlabs.com/ in a web browser? Do you have to do anything extra to see the page? Maybe the proxy is injecting a "confirm/deny" page or something that confuses Geppetto.

GregLarkin gravatar imageGregLarkin ( 2015-12-28 12:26:59 -0500 )edit