Remote Interpreter Connection Timing Out?

Hi,

I'm trying to setup a remote PHP interpreter in PhpStorm 9.0, however I'm hitting a brick wall so to speak.

I can do the initial step, where I input my details and PhpStorm copies over it's helper scripts, but on the more detailed configuration dialog, it is unable to get the phpinfo.

I checked the error log, and it's full of timeout errors:

2015-07-21 22:41:38,431 [ 404859]   WARN - lugins.remotesdk.RemoteSdkUtil -  
java.util.concurrent.TimeoutException
   at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
   at java.util.concurrent.FutureTask.get(FutureTask.java:91)
   at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.testConnection(RemoteSdkUtil.java:255)
   at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.updateHelpers(PhpRemoteInterpreterManagerImpl.java:259)
   at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.updateHelpersAndValidate(PhpRemoteInterpreterManagerImpl.java:241)
   at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.loadPhpInfo(PhpRemoteInterpreterManagerImpl.java:98)
   at com.jetbrains.php.remote.interpreter.ui.PhpRemoteInterpreterComponent.reloadPhpInfo(PhpRemoteInterpreterComponent.java:106)
   at com.jetbrains.php.config.interpreters.PhpInterpreterComponent$3.run(PhpInterpreterComponent.java:175)
   at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2350)
   at com.jetbrains.php.ui.PhpUiUtil$2.actionPerformed(PhpUiUtil.java:95)
   at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
   at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:162)
   at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:126)
   at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:303)
   at java.awt.Component.processEvent(Component.java:6179)
   at java.awt.Container.processEvent(Container.java:2084)
   at java.awt.Component.dispatchEventImpl(Component.java:4776)
   at java.awt.Container.dispatchEventImpl(Container.java:2142)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
   at java.awt.Container.dispatchEventImpl(Container.java:2128)
   at java.awt.Window.dispatchEventImpl(Window.java:2492)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
   at java.awt.Dialog$1.run(Dialog.java:1049)
   at java.awt.Dialog$3.run(Dialog.java:1101)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.Dialog.show(Dialog.java:1099)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
   at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1614)
   at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1571)
   at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1578)
   at com.jetbrains.php.ui.PhpUiUtil.editConfigurable(PhpUiUtil.java:84)
   at com.jetbrains.php.config.PhpProjectConfigurableForm$1.actionPerformed(PhpProjectConfigurableForm.java:66)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.Component.processMouseEvent(Component.java:6414)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
   at java.awt.Component.processEvent(Component.java:6179)
   at java.awt.Container.processEvent(Container.java:2084)
   at java.awt.Component.dispatchEventImpl(Component.java:4776)
   at java.awt.Container.dispatchEventImpl(Container.java:2142)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
   at java.awt.Container.dispatchEventImpl(Container.java:2128)
   at java.awt.Window.dispatchEventImpl(Window.java:2492)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
   at java.awt.Dialog$1.run(Dialog.java:1049)
   at java.awt.Dialog$3.run(Dialog.java:1101)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.Dialog.show(Dialog.java:1099)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
   at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1614)
   at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1571)
   at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:114)
   at com.intellij.ide.MacOSApplicationProvider$Worker$1.handlePreferences(MacOSApplicationProvider.java:99)
   at com.apple.eawt._AppEventLegacyHandler$2.dispatchEvent(_AppEventLegacyHandler.java:90)
   at com.apple.eawt._AppEventLegacyHandler.sendEventToEachListenerUntilHandled(_AppEventLegacyHandler.java:168)
   at com.apple.eawt._AppEventLegacyHandler.handlePreferences(_AppEventLegacyHandler.java:88)
   at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:253)
   at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:244)
   at com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(_AppEventHandler.java:489)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2015-07-21 22:41:38,435 [ 404863]   WARN - .PhpRemoteInterpreterComponent - Can not update phpinfo
com.intellij.execution.ExecutionException: Can't connect to remote host <my remote uri>
   at com.jetbrains.php.remote.PhpRemoteInterpreterManagerImpl.loadPhpInfo(PhpRemoteInterpreterManagerImpl.java:100)
   at com.jetbrains.php.remote.interpreter.ui.PhpRemoteInterpreterComponent.reloadPhpInfo(PhpRemoteInterpreterComponent.java:106)
   at com.jetbrains.php.config.interpreters.PhpInterpreterComponent$3.run(PhpInterpreterComponent.java:175)
   at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2350)
   at com.jetbrains.php.ui.PhpUiUtil$2.actionPerformed(PhpUiUtil.java:95)
   at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
   at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:162)
   at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:126)
   at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:303)
   at java.awt.Component.processEvent(Component.java:6179)
   at java.awt.Container.processEvent(Container.java:2084)
   at java.awt.Component.dispatchEventImpl(Component.java:4776)
   at java.awt.Container.dispatchEventImpl(Container.java:2142)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
   at java.awt.Container.dispatchEventImpl(Container.java:2128)
   at java.awt.Window.dispatchEventImpl(Window.java:2492)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
   at java.awt.Dialog$1.run(Dialog.java:1049)
   at java.awt.Dialog$3.run(Dialog.java:1101)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.Dialog.show(Dialog.java:1099)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
   at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1614)
   at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1571)
   at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1578)
   at com.jetbrains.php.ui.PhpUiUtil.editConfigurable(PhpUiUtil.java:84)
   at com.jetbrains.php.config.PhpProjectConfigurableForm$1.actionPerformed(PhpProjectConfigurableForm.java:66)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.Component.processMouseEvent(Component.java:6414)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
   at java.awt.Component.processEvent(Component.java:6179)
   at java.awt.Container.processEvent(Container.java:2084)
   at java.awt.Component.dispatchEventImpl(Component.java:4776)
   at java.awt.Container.dispatchEventImpl(Container.java:2142)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
   at java.awt.Container.dispatchEventImpl(Container.java:2128)
   at java.awt.Window.dispatchEventImpl(Window.java:2492)
   at java.awt.Component.dispatchEvent(Component.java:4604)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
   at java.awt.Dialog$1.run(Dialog.java:1049)
   at java.awt.Dialog$3.run(Dialog.java:1101)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.Dialog.show(Dialog.java:1099)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
   at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
   at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1614)
   at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1571)
   at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:114)
   at com.intellij.ide.MacOSApplicationProvider$Worker$1.handlePreferences(MacOSApplicationProvider.java:99)
   at com.apple.eawt._AppEventLegacyHandler$2.dispatchEvent(_AppEventLegacyHandler.java:90)
   at com.apple.eawt._AppEventLegacyHandler.sendEventToEachListenerUntilHandled(_AppEventLegacyHandler.java:168)
   at com.apple.eawt._AppEventLegacyHandler.handlePreferences(_AppEventLegacyHandler.java:88)
   at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:253)
   at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:244)
   at com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(_AppEventHandler.java:489)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
   at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
   at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
   at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

This is remote as in on a completely different network, over the internet. What is the timeout set too? It must be very low, as the unable to connect dialog appear practically as soon as I click the syncronize button.

Is this a known issue? What can I do to fix it?

Thanks,
Liam

Please sign in to leave a comment.