sftp failed 401 after update

Oddly enough not finding any solutions on this which makes me think it could be from the recent update.  Also I was able to connect to the same site before I updated to my current phpstorm version of 2016.3.1.

Anyway, I'm just getting a Connection to 'ftp.mysite.org' failed. 401 whenever I do a Test SFTP connection.  I'm able to connect using both Transmit and FileZilla using the same exact creds.  I've tried every single combo I can think of but always the same exact error.  Loading from the 'Remote Host' tab I just get a simple 401.

I can connect to other sites that are simple ftp. The creds are following (hiding the name of the actual site)

SFTP host: ftp.mysite.org

Port: 22

Root path: /path/that/works/in/other/client

User name: root

Auth type: Password

Password: onethatworksonotherftpclient

I've tried under Advanced options to limit concurrent connections and ignore info messages to no avail.

The server is a dedicated server at online.net. Like I said I can connect with exact same creds on Transmit and FileZilla.  I'm on OS X El Capitan.

0
9 comments

Please try to enable "problems with deployment/synchronization" debugging according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241115 then restart IDE, reproduce the error and attach idea.log (Help > Show log in ...)

0

Looks like there's no attaching that I can find at least so I'm sending the lines from today's date of the log here.

Wonder if it has to do with checking my local install for this file and finding no correlation '"/Users/hibou/.ssh/known_hosts".

 

2016-12-08 19:15:34,329 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-12-08 19:15:34,374 [ 45] INFO - #com.intellij.idea.Main - IDE: PhpStorm (build #PS-163.9735.1, 06 Dec 2016 11:34)
2016-12-08 19:15:34,374 [ 45] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.11.6, x86_64)
2016-12-08 19:15:34,374 [ 45] INFO - #com.intellij.idea.Main - JRE: 1.8.0_112-release-408-b2 (JetBrains s.r.o)
2016-12-08 19:15:34,374 [ 45] INFO - #com.intellij.idea.Main - JVM: 25.112-b2 (OpenJDK 64-Bit Server VM)
2016-12-08 19:15:34,384 [ 55] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/hibou/java_error_in_phpstorm_%p.log -XX:HeapDumpPath=/Users/hibou/java_error_in_phpstorm.hprof -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions -Didea.java.redist=jdk-bundled -Didea.home.path=/Applications/PhpStorm.app/Contents -Didea.executable=phpstorm -Didea.platform.prefix=PhpStorm -Didea.paths.selector=PhpStorm2016.3
2016-12-08 19:15:34,384 [ 55] INFO - #com.intellij.idea.Main - ext: /Applications/PhpStorm.app/Contents/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunpkcs11.jar, zipfs.jar]
2016-12-08 19:15:34,384 [ 55] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [AppleScriptEngine.jar, dns_sd.jar, j3daudio.jar, j3dcore.jar, j3dutils.jar, jai_codec.jar, jai_core.jar, libAppleScriptEngine.jnilib, libJ3D.jnilib, libJ3DAudio.jnilib, libJ3DUtils.jnilib, libmlib_jai.jnilib, mlibwrapper_jai.jar, MRJToolkit.jar, vecmath.jar]
2016-12-08 19:15:34,385 [ 56] INFO - #com.intellij.idea.Main - ext: /usr/lib/java: [libjdns_sd.jnilib]
2016-12-08 19:15:34,385 [ 56] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2016-12-08 19:15:34,402 [ 73] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 17 ms
2016-12-08 19:15:34,423 [ 94] INFO - #com.intellij.idea.Main - initializing environment
2016-12-08 19:15:34,424 [ 95] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/PhpStorm.app/Contents/bin/printenv.py' '/private/var/folders/8r/2kkvvh792md4gny7bff2zhfm0000gn/T/intellij-shell-env.tmp'
2016-12-08 19:15:34,435 [ 106] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2016-12-08 19:15:34,743 [ 414] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (26 vars)
2016-12-08 19:15:34,743 [ 414] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=fr_FR.UTF-8
2016-12-08 19:15:38,316 [ 3987] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2016-12-08 19:15:38,345 [ 4016] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2016-12-08 19:15:38,453 [ 4124] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2016-12-08 19:15:38,454 [ 4125] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2016-12-08 19:15:38,791 [ 4462] INFO - llij.ide.plugins.PluginManager - 61 plugins initialized in 737 ms
2016-12-08 19:15:38,793 [ 4464] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), AngularJS (163.9735.1), Apache config (.htaccess) support (999.999), Behat Support (999.999), Blade Support (999.999), CSS Support (163.9735.1), CVS Integration (11), CoffeeScript (2.0), Command Line Tool Support (999.999), Copyright (8.1), Database Tools and SQL (1.0), Docker integration (2.4.1), Drupal Support (999.999), File Watchers (163.9735.1), GNU GetText files support (*.po) (136.SNAPSHOT), Gherkin (999.999), Git Integration (8.1), GitHub (163.9735.1), Google App Engine Support for PHP (999.999), HAML (163.9735.1), HTML Tools (2.0), IDEA CORE (163.9735.1), Ini4Idea (999.999), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Joomla! Support (999.999), LESS support (163.9735.1), Markdown support (VERSION), NodeJS (163.9735.1), PHP (999.999), PHP Docker (999.999), PHP Remote Interpreter (999.999), PHPSpec BDD Framework (999.999), Perforce Integration (2.0), Performance Testing (999.999), Phing Support (999.999), QuirksMode (163.9735.1), REST Client (163.9735.1), ReStructuredText Support (136.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), SASS support (163.9735.1), SSH Remote Run (0.1), Settings Repository (163.9735.1), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (163.9735.1), Time Tracking (1.0), Twig Support (999.999), UML Support (1.0), Vagrant (0.6.VERSION), W3C Validators (2.0), WordPress Support (999.999), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (163.9735.1), hg4idea (10.0)
2016-12-08 19:15:38,793 [ 4464] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Laravel Plugin (0.11)
2016-12-08 19:15:39,226 [ 4897] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2016-12-08 19:15:39,279 [ 4950] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/PhpStorm.app/Contents/bin/fsnotifier
2016-12-08 19:15:39,294 [ 4965] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-12-08 19:15:39,340 [ 5011] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2016-12-08 19:15:39,340 [ 5011] INFO - pi.util.registry.RegistryState - dumb.aware.run.configurations = true
2016-12-08 19:15:40,328 [ 5999] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-12-08 19:15:40,378 [ 6049] INFO - gs.impl.UpdateCheckerComponent - channel: release
2016-12-08 19:15:40,527 [ 6198] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:57
2016-12-08 19:15:40,531 [ 6202] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:4
2016-12-08 19:15:40,585 [ 6256] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:47
2016-12-08 19:15:40,586 [ 6257] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2016-12-08 19:15:40,641 [ 6312] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2016-12-08 19:15:40,750 [ 6421] INFO - plication.impl.ApplicationImpl - 83 application components initialized in 2699ms
2016-12-08 19:15:40,779 [ 6450] INFO - .intellij.idea.IdeaApplication - App initialization took 7426 ms
2016-12-08 19:15:41,279 [ 6950] INFO - pl$FileIndexDataInitialization - Initialization done:748
2016-12-08 19:15:41,532 [ 7203] INFO - exImpl$StubIndexInitialization - Initialization done:252
2016-12-08 19:15:41,687 [ 7358] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@4a5929c
2016-12-08 19:15:42,259 [ 7930] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@54b4afa6
2016-12-08 19:15:42,548 [ 8219] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@c7ec411
2016-12-08 19:15:42,575 [ 8246] INFO - ellij.project.impl.ProjectImpl - 116 project components initialized in 1299 ms
2016-12-08 19:15:42,634 [ 8305] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 58 ms
2016-12-08 19:15:42,812 [ 8483] INFO - PerformancePlugin - Performance Plugin is in silent mode
2016-12-08 19:15:45,020 [ 10691] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1852ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-08 19:15:45,202 [ 10873] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Project) or icon jar:file:/Applications/PhpStorm.app/Contents/lib/icons.jar!/toolwindows/toolWindowProject.png
2016-12-08 19:15:46,041 [ 11712] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1020ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-08 19:15:46,042 [ 11713] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2016-12-08 19:15:46,212 [ 11883] INFO - tartup.impl.StartupManagerImpl - /Users/hibou/Sites/mp_import/.idea case-sensitivity: expected=false actual=false
2016-12-08 19:15:46,927 [ 12598] INFO - tor.impl.FileEditorManagerImpl - Project opening took 5713 ms
2016-12-08 19:15:47,137 [ 12808] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 1095ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-08 19:16:19,806 [ 45477] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 17 ms
2016-12-08 19:16:19,806 [ 45477] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-12-08 19:16:19,836 [ 45507] INFO - s.webDeployment.PublishUtils$2 - Using "/var/folders/8r/2kkvvh792md4gny7bff2zhfm0000gn/T/vfs_cache" as temporary files store.
2016-12-08 19:16:19,870 [ 45541] WARN - t.connections.RemoteConnection - Retrying connecting to sftp://62.210.125.216:22/ in @7d97bb3f: 1 iterations
org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "sftp://62.210.125.216/".
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:108)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:102)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:80)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:64)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:790)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:712)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.createConnection(RemoteConnectionPool.java:186)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionManager.openConnection(RemoteConnectionManager.java:115)
at com.jetbrains.plugins.webDeployment.PublishUtils.lambda$null$0(PublishUtils.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Error during processing known-hosts file "/Users/hibou/.ssh/known_hosts".
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:249)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:76)
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:97)
... 14 more
Caused by: com.jcraft.jsch.JSchException: fromBase64: invalid base64 data
at com.jcraft.jsch.Util.fromBase64(Util.java:63)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:219)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:55)
at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:243)
... 16 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 401
at com.jcraft.jsch.Util.fromBase64(Util.java:51)
... 20 more
2016-12-08 19:16:19,873 [ 45544] WARN - loyment.ui.WebServerConfigForm - Could not connect to SFTP server at "sftp://62.210.125.216/".
org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "sftp://62.210.125.216/".
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:108)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:102)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:80)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:64)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:790)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:712)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.createConnection(RemoteConnectionPool.java:186)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionManager.openConnection(RemoteConnectionManager.java:115)
at com.jetbrains.plugins.webDeployment.PublishUtils.lambda$null$0(PublishUtils.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Error during processing known-hosts file "/Users/hibou/.ssh/known_hosts".
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:249)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:76)
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:97)
... 14 more
Caused by: com.jcraft.jsch.JSchException: fromBase64: invalid base64 data
at com.jcraft.jsch.Util.fromBase64(Util.java:63)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:219)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:55)
at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:243)
... 16 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 401
at com.jcraft.jsch.Util.fromBase64(Util.java:51)
... 20 more
2016-12-08 19:18:46,974 [ 192645] WARN - t.connections.RemoteConnection - Forced closing file system of sftp://62.210.125.216:22/ in @7d97bb3f
2016-12-08 19:18:48,440 [ 194111] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2016-12-08 19:18:58,529 [ 204200] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: com.jetbrains.plugins.webDeployment
2016-12-08 19:19:24,831 [ 230502] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2016-12-08 19:19:24,868 [ 230539] INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms
2016-12-08 19:19:24,871 [ 230542] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2016-12-08 19:19:24,872 [ 230543] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2016-12-08 19:19:24,872 [ 230543] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2016-12-08 19:19:24,902 [ 230573] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2016-12-08 19:19:24,906 [ 230577] INFO - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 0
2016-12-08 19:19:24,906 [ 230577] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2016-12-08 19:19:24,912 [ 230583] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2016-12-08 19:19:24,915 [ 230586] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2016-12-08 19:19:24,916 [ 230587] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2016-12-08 19:19:31,492 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-12-08 19:19:31,520 [ 28] INFO - #com.intellij.idea.Main - IDE: PhpStorm (build #PS-163.9735.1, 06 Dec 2016 11:31)
2016-12-08 19:19:31,520 [ 28] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.11.6, x86_64)
2016-12-08 19:19:31,520 [ 28] INFO - #com.intellij.idea.Main - JRE: 1.8.0_112-release-408-b2 (JetBrains s.r.o)
2016-12-08 19:19:31,520 [ 28] INFO - #com.intellij.idea.Main - JVM: 25.112-b2 (OpenJDK 64-Bit Server VM)
2016-12-08 19:19:31,527 [ 35] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/hibou/java_error_in_phpstorm_%p.log -XX:HeapDumpPath=/Users/hibou/java_error_in_phpstorm.hprof -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions -Didea.java.redist=jdk-bundled -Didea.home.path=/Applications/PhpStorm.app/Contents -Didea.executable=phpstorm -Didea.platform.prefix=PhpStorm -Didea.paths.selector=PhpStorm2016.3
2016-12-08 19:19:31,527 [ 35] INFO - #com.intellij.idea.Main - ext: /Applications/PhpStorm.app/Contents/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunpkcs11.jar, zipfs.jar]
2016-12-08 19:19:31,527 [ 35] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [AppleScriptEngine.jar, dns_sd.jar, j3daudio.jar, j3dcore.jar, j3dutils.jar, jai_codec.jar, jai_core.jar, libAppleScriptEngine.jnilib, libJ3D.jnilib, libJ3DAudio.jnilib, libJ3DUtils.jnilib, libmlib_jai.jnilib, mlibwrapper_jai.jar, MRJToolkit.jar, vecmath.jar]
2016-12-08 19:19:31,527 [ 35] INFO - #com.intellij.idea.Main - ext: /usr/lib/java: [libjdns_sd.jnilib]
2016-12-08 19:19:31,527 [ 35] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2016-12-08 19:19:31,539 [ 47] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 11 ms
2016-12-08 19:19:31,553 [ 61] INFO - #com.intellij.idea.Main - initializing environment
2016-12-08 19:19:31,554 [ 62] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/PhpStorm.app/Contents/bin/printenv.py' '/private/var/folders/8r/2kkvvh792md4gny7bff2zhfm0000gn/T/intellij-shell-env.tmp'
2016-12-08 19:19:31,561 [ 69] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2016-12-08 19:19:31,768 [ 276] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (26 vars)
2016-12-08 19:19:31,768 [ 276] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=fr_FR.UTF-8
2016-12-08 19:19:33,659 [ 2167] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2016-12-08 19:19:33,676 [ 2184] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2016-12-08 19:19:33,766 [ 2274] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2016-12-08 19:19:33,767 [ 2275] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2016-12-08 19:19:34,116 [ 2624] INFO - llij.ide.plugins.PluginManager - 61 plugins initialized in 704 ms
2016-12-08 19:19:34,118 [ 2626] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), AngularJS (163.9735.1), Apache config (.htaccess) support (999.999), Behat Support (999.999), Blade Support (999.999), CSS Support (163.9735.1), CVS Integration (11), CoffeeScript (2.0), Command Line Tool Support (999.999), Copyright (8.1), Database Tools and SQL (1.0), Docker integration (2.4.1), Drupal Support (999.999), File Watchers (163.9735.1), GNU GetText files support (*.po) (136.SNAPSHOT), Gherkin (999.999), Git Integration (8.1), GitHub (163.9735.1), Google App Engine Support for PHP (999.999), HAML (163.9735.1), HTML Tools (2.0), IDEA CORE (163.9735.1), Ini4Idea (999.999), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Joomla! Support (999.999), LESS support (163.9735.1), Markdown support (VERSION), NodeJS (163.9735.1), PHP (999.999), PHP Docker (999.999), PHP Remote Interpreter (999.999), PHPSpec BDD Framework (999.999), Perforce Integration (2.0), Performance Testing (999.999), Phing Support (999.999), QuirksMode (163.9735.1), REST Client (163.9735.1), ReStructuredText Support (136.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), SASS support (163.9735.1), SSH Remote Run (0.1), Settings Repository (163.9735.1), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (163.9735.1), Time Tracking (1.0), Twig Support (999.999), UML Support (1.0), Vagrant (0.6.VERSION), W3C Validators (2.0), WordPress Support (999.999), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (163.9735.1), hg4idea (10.0)
2016-12-08 19:19:34,118 [ 2626] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Laravel Plugin (0.11)
2016-12-08 19:19:34,418 [ 2926] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2016-12-08 19:19:34,445 [ 2953] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/PhpStorm.app/Contents/bin/fsnotifier
2016-12-08 19:19:34,454 [ 2962] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-12-08 19:19:34,482 [ 2990] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2016-12-08 19:19:34,482 [ 2990] INFO - pi.util.registry.RegistryState - dumb.aware.run.configurations = true
2016-12-08 19:19:35,003 [ 3511] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: com.jetbrains.plugins.webDeployment
2016-12-08 19:19:35,170 [ 3678] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-12-08 19:19:35,217 [ 3725] INFO - gs.impl.UpdateCheckerComponent - channel: release
2016-12-08 19:19:35,307 [ 3815] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:26
2016-12-08 19:19:35,311 [ 3819] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2016-12-08 19:19:35,368 [ 3876] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:19
2016-12-08 19:19:35,369 [ 3877] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2016-12-08 19:19:35,402 [ 3910] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2016-12-08 19:19:35,478 [ 3986] INFO - plication.impl.ApplicationImpl - 83 application components initialized in 2068ms
2016-12-08 19:19:35,508 [ 4016] INFO - .intellij.idea.IdeaApplication - App initialization took 4623 ms
2016-12-08 19:19:35,722 [ 4230] INFO - pl$FileIndexDataInitialization - Initialization done:410
2016-12-08 19:19:35,822 [ 4330] INFO - exImpl$StubIndexInitialization - Initialization done:100
2016-12-08 19:19:36,174 [ 4682] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@45aad9fc
2016-12-08 19:19:36,788 [ 5296] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@82a596
2016-12-08 19:19:37,000 [ 5508] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@ae50ee6
2016-12-08 19:19:37,038 [ 5546] INFO - ellij.project.impl.ProjectImpl - 116 project components initialized in 1081 ms
2016-12-08 19:19:37,080 [ 5588] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 41 ms
2016-12-08 19:19:37,234 [ 5742] INFO - PerformancePlugin - Performance Plugin is in silent mode
2016-12-08 19:19:39,155 [ 7663] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1606ms; general responsiveness: ok; EDT responsiveness: 2/2 sluggish
2016-12-08 19:19:39,214 [ 7722] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Project) or icon jar:file:/Applications/PhpStorm.app/Contents/lib/icons.jar!/toolwindows/toolWindowProject.png
2016-12-08 19:19:40,198 [ 8706] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1042ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish
2016-12-08 19:19:40,239 [ 8747] INFO - tartup.impl.StartupManagerImpl - /Users/hibou/Sites/mp_import/.idea case-sensitivity: expected=false actual=false
2016-12-08 19:19:41,069 [ 9577] INFO - tor.impl.FileEditorManagerImpl - Project opening took 5165 ms
2016-12-08 19:19:51,086 [ 19594] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 16 ms
2016-12-08 19:19:51,087 [ 19595] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-12-08 19:19:51,099 [ 19607] DEBUG - t.connections.RemoteConnection - Opening connection to sftp://ftp.messageparis.org:22/ in @5e01ca1c
2016-12-08 19:19:51,107 [ 19615] INFO - s.webDeployment.PublishUtils$2 - Using "/var/folders/8r/2kkvvh792md4gny7bff2zhfm0000gn/T/vfs_cache" as temporary files store.
2016-12-08 19:19:51,135 [ 19643] WARN - t.connections.RemoteConnection - Retrying connecting to sftp://ftp.messageparis.org:22/ in @5e01ca1c: 1 iterations
org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "sftp://ftp.messageparis.org/".
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:108)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:102)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:80)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:64)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:790)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:712)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.createConnection(RemoteConnectionPool.java:186)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionManager.openConnection(RemoteConnectionManager.java:115)
at com.jetbrains.plugins.webDeployment.PublishUtils.lambda$null$0(PublishUtils.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Error during processing known-hosts file "/Users/hibou/.ssh/known_hosts".
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:249)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:76)
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:97)
... 14 more
Caused by: com.jcraft.jsch.JSchException: fromBase64: invalid base64 data
at com.jcraft.jsch.Util.fromBase64(Util.java:63)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:219)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:55)
at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:243)
... 16 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 401
at com.jcraft.jsch.Util.fromBase64(Util.java:51)
... 20 more
2016-12-08 19:19:51,139 [ 19647] WARN - loyment.ui.WebServerConfigForm - Could not connect to SFTP server at "sftp://ftp.messageparis.org/".
org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "sftp://ftp.messageparis.org/".
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:108)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:102)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:80)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:64)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:790)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:712)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.createConnection(RemoteConnectionPool.java:186)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionManager.openConnection(RemoteConnectionManager.java:115)
at com.jetbrains.plugins.webDeployment.PublishUtils.lambda$null$0(PublishUtils.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Error during processing known-hosts file "/Users/hibou/.ssh/known_hosts".
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:249)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:76)
at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:97)
... 14 more
Caused by: com.jcraft.jsch.JSchException: fromBase64: invalid base64 data
at com.jcraft.jsch.Util.fromBase64(Util.java:63)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:219)
at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:55)
at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317)
at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.setKnownHosts(SftpClientFactory.java:243)
... 16 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 401
at com.jcraft.jsch.Util.fromBase64(Util.java:51)
... 20 more
2016-12-08 19:20:00,439 [ 28947] WARN - t.connections.RemoteConnection - Forced closing file system of sftp://ftp.messageparis.org:22/ in @5e01ca1c
2016-12-08 19:20:00,439 [ 28947] DEBUG - t.connections.RemoteConnection - File system of sftp://ftp.messageparis.org:22/ in @5e01ca1c is closed.
2016-12-08 19:20:18,746 [ 47254] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.

 

 

0

Maybe I should note that since phpstorm seems to rely on java, I am purposely using an outdated version 

java version "1.6.0_65"

In order to run my old copy of Illustrator.  You think I should install an updated version and try it out?

0
Avatar
Permanently deleted user

PhpStorm comes with its own bundled Java so there's no need to update the system one.

0

Ok, well I don't know what to do.  Love the IDE, so kind of a bummer to have to use another program to use ftp. I wonder if it could be the site I'm trying to connect to?  It's a dedicated server that we set up with debian 7 (I think) ourselves, and it may not be 100% set up correctly.  Maybe other programs are more forgiving of its configuration than PHPStorm?

0

Please rename the known_hosts and try to connect again.
It may be that it's just too big for us.

0

If it doesn't help, please check that you've added com.jetbrains.plugins.webDeployment to Help | Configure Debug Logs, as the attached log does not have corresponding events.
Restart PhpStorm, try to connect once again and then collect the IDE log.

It's better if you upload it here (please give it a unique name so it won't be overwritten): https://uploads.services.jetbrains.com/

0

THANKS!

It was the known_hosts file.  I renamed it and it now works, so I guess that was it.  Again thanks for swift response!

0

Thanks! Took me a while to find this simple answer. Just switched to FTP(S) in the mean time, but it's not preferable.

Anyway, whenever you run into an error "Connection to .... failed.' with a code 50, it seems the first thing you need to do is check the known_hosts file.

FYI: I used a real example before using moo.foo.bar - just before you're going to draw conclusions ;) It really doesn't matter what url you type, it just won't get past this box:

 

0

Please sign in to leave a comment.