Remote Interpreter not working

Answered

I am using the latest pyCharm 2018.2.4, and anaconda3 with python 3.6.6.

When I try to execute code into the interpreter I am getting the following error:

ssh://ubuntu@enc-aws-ai01:22/home/ubuntu/anaconda3/envs/dsproject/bin/python -u /home/ubuntu/.pycharm_helpers/pydev/pydevconsole.py 0 0
Couldn't connect to console process.
Process finished with exit code -1

If I do Tool -> Start ssh session it works fine.

Please let me know if you need extra logs, or further info so i can hlep debug this issue.

0
7 comments

Hi Daniel,

Thank you for contacting PyCharm support.

It seems it should be fixed in 2018.3 https://youtrack.jetbrains.com/issue/PY-18029. Could you please try it in EAP https://www.jetbrains.com/pycharm/nextversion/ and see if the problem persists?

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

Hi,

Thanks for the prompt reply. 

I downloaded the EAP and I still cannot use remote python interpreter.  I assume this may be related with some firewall issues? Which ports do I need to open on my local PC and on the remote Linux server? - the reason I assume it may be some connectivity/port issue is because we recently made changes to our network config and this is when all problems started.

For a full description of the problem:

PyCharm 2018.3 EAP (Professional Edition)
Build #PY-183.2940.3, built on September 25, 2018
PyCharm EAP User
Expiration date: October 25, 2018
JRE: 1.8.0_152-release-1293-b14 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

idea.log:

2018-10-01 13:41:37,360 [ 301080] INFO - rationStore.ComponentStoreImpl - Save blocked for $WORKSPACE_FILE$
2018-10-01 13:42:16,546 [ 340266] INFO - lidation.Pep8ExternalAnnotator - Found no suitable interpreter to run pycodestyle.py. Available interpreters are: [
2018-10-01 13:42:16,547 [ 340267] INFO - lidation.Pep8ExternalAnnotator - Path: sftp://ubuntu@enc-aws-ai01:22/home/ubuntu/anaconda3/envs/dsproject/bin/python; Flavor: com.jetbrains.python.sdk.flavors.UnixPythonSdkFlavor@1a5f7c84; Remote: true
2018-10-01 13:42:16,547 [ 340267] INFO - lidation.Pep8ExternalAnnotator - ]
2018-10-01 13:42:16,999 [ 340719] INFO - hon.packaging.PyPIPackageCache - Loaded 153682 packages from C:\Users\dfernandez\.PyCharm2018.3\system\python_packages\pypi-cache.json
2018-10-01 13:42:17,077 [ 340797] INFO - plots.PySciEnvironmentProvider - Plots on port: 57225
2018-10-01 13:42:17,159 [ 340879] INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/ubuntu/.pycharm_helpers
2018-10-01 13:42:17,159 [ 340879] INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @40f0b43d to ubuntu@enc-aws-ai01:22
2018-10-01 13:42:17,365 [ 341085] INFO - plugins.remotesdk.RemoteUpload - Remote helpers version is PY-183.2940.3, local helpers version is PY-183.2940.3
2018-10-01 13:42:17,408 [ 341128] INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @40f0b43d to ubuntu@enc-aws-ai01:22
2018-10-01 13:42:17,488 [ 341208] INFO - ellij.ssh.SshConnectionService - Executing SSH command: cd /home/ubuntu/DSProjectCodeDev; env "PYCHARM_MATPLOTLIB_PORT"="57225" "PYDEVD_LOAD_VALUES_ASYNC"="True" "IPYTHONENABLE"="True" "PYTHONPATH"="/home/ubuntu/.pycharm_helpers/pycharm_matplotlib_backend:/home/ubuntu/.pycharm_helpers/third_party/thriftpy:/home/ubuntu/.pycharm_helpers/pydev" "PYTHONUNBUFFERED"="1" "PYCHARM_HOSTED"="1" "PYCHARM_MATPLOTLIB_INDEX"="0" "PYCHARM_MATPLOTLIB_INTERACTIVE"="true" "JETBRAINS_REMOTE_RUN"="1" "PYTHONIOENCODING"="UTF-8" '/home/ubuntu/anaconda3/envs/dsproject/bin/python' '-u' '/home/ubuntu/.pycharm_helpers/pydev/pydevconsole.py' '--mode=server' within SSH session @40f0b43d to ubuntu@enc-aws-ai01:22
2018-10-01 13:45:47,010 [ 550730] INFO - rationStore.ComponentStoreImpl - Save blocked for $WORKSPACE_FILE$
2018-10-01 13:46:47,096 [ 610816] INFO - rationStore.ComponentStoreImpl - Save blocked for $WORKSPACE_FILE$

And then all I see in the python console is - has been iddle/waiting for > 1 hour

0

Thanks for the information.

I think I need a closer look at your full log.

Please try to connect again and upload your idea.log zipped to https://uploads.services.jetbrains.com/ (in order to keep it private) and let us know the name of the zip file. Please also include a screenshot of your remote interpreter configuration in the same zip file.

Looking forward to your reply.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

Hi Sergey, 

 

I am still confused as to what the issue is, but I ended up finding a very simple solution.  When I connected by DNS name, let's say <dns-name-for-instance> I could ssh into it but i could not use the python console - I believe this is related to the fact that I am running remote code in an AWS instance that does not know it's dns name.

So what I did is put the static IP address of the instance instead of it's DNS name and now it actually works and get no error.

For now I'll use the IP as it is way simpler and it works.

Thanks a lot for such prompt responses and great help!

 

0

Thank you for letting me know!

Glad that it works now.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

I have a similar issue. I am also using remote Python interpreter but somehow I am not allowed to start the PyCharm anymore. It got stuck in the indexing step. Is that related to the firewall or security issue? Thanks in advanced

 

Here's the full idea.log file:



2018-11-30 16:58:57,776 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-11-30 16:58:57,929 [ 153] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PY-181.5087.37, 24 May 2018 02:57)
2018-11-30 16:58:57,929 [ 153] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.12.6, x86_64)
2018-11-30 16:58:57,929 [ 153] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1136-b39 (JetBrains s.r.o)
2018-11-30 16:58:57,929 [ 153] INFO - #com.intellij.idea.Main - JVM: 25.152-b39 (OpenJDK 64-Bit Server VM)
2018-11-30 16:58:57,937 [ 161] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -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/AF45008/java_error_in_pycharm_%p.log -XX:HeapDumpPath=/Users/AF45008/java_error_in_pycharm.hprof -Xbootclasspath/a:../lib/boot.jar -Djb.vmOptionsFile=/Users/AF45008/Library/Preferences/PyCharm2018.1/pycharm.vmoptions -Didea.java.redist=jdk-bundled -Didea.home.path=/Applications/PyCharm.app/Contents -Didea.executable=pycharm -Didea.platform.prefix=Python -Didea.paths.selector=PyCharm2018.1
2018-11-30 16:58:57,937 [ 161] INFO - #com.intellij.idea.Main - ext: /Applications/PyCharm.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]
2018-11-30 16:58:57,938 [ 162] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [MRJToolkit.jar]
2018-11-30 16:58:57,938 [ 162] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2018-11-30 16:58:57,949 [ 173] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 11 ms
2018-11-30 16:58:57,961 [ 185] INFO - #com.intellij.idea.Main - initializing environment
2018-11-30 16:58:57,962 [ 186] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/PyCharm.app/Contents/bin/printenv.py' '/private/var/folders/9t/kmrx8z5j0jq9m6qs4kyqvf4w0000gp/T/intellij-shell-env.tmp'
2018-11-30 16:58:58,072 [ 296] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (15 vars)
2018-11-30 16:58:58,086 [ 310] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=en_US.UTF-8
2018-11-30 16:58:59,168 [ 1392] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-11-30 16:58:59,168 [ 1392] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (JRE-managed HiDPI)
2018-11-30 16:58:59,512 [ 1736] INFO - .intellij.idea.IdeaApplication - CPU cores: 8; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@6df0fe81[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@71e647de
2018-11-30 16:59:00,121 [ 2345] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2018-11-30 16:59:00,232 [ 2456] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2018-11-30 16:59:00,234 [ 2458] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2018-11-30 16:59:00,512 [ 2736] INFO - llij.ide.plugins.PluginManager - 60 plugins initialized in 732 ms
2018-11-30 16:59:00,514 [ 2738] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: AngularJS (181.5087.37), CSS Support (181.5087.37), CVS Integration (11), CoffeeScript (181.5087.37), Concurrency Visualiser (0.1), Database Tools and SQL (181.5087.37), Django Database Support Integration (1.0), Docker integration (181.5087.37), EditorConfig (181.5087.37), File Watchers (181.5087.37), GNU GetText files support (*.po) (181.5087.37), Gherkin (999.999), Git Integration (8.1), GitHub (181.5087.37), HTML Tools (2.0), HTTP Client (181.5087.37), Haml (181.5087.37), IDE Settings Sync (181.5087.37), IDEA CORE (181.5087.37), IPython Notebook (0.1), Ini4Idea (181.5087.37), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Less support (181.5087.37), Mercurial Integration (10.0), Perforce Integration (2.0), Properties Support (181.5087.37), Puppet Support (181.5087.37), Python BDD support for engines, based on Gherkin (cucumber, lettuce, behave) (0.1), Python Docker (VERSION), Python IntelliLang (VERSION), Python JavaScript Debugger Integration (VERSION), Python Localization Integration (VERSION), Python Profiler (0.1), Python ReStructureText Integration (1.0), Python Remote Interpreter (VERSION), Python Terminal (VERSION), Python UML Diagrams (VERSION), ReStructuredText Support (181.5087.37), Remote Hosts Access (0.1), SSH Remote Run (0.1), Sass support (181.5087.37), Settings Repository (181.5087.37), Stylus support (999.999), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (181.5087.37), UML Support (1.0), Vagrant (181.5087.37), tslint (181.5087.37)
2018-11-30 16:59:00,514 [ 2738] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: ANSI Highlighter (1.2.4), BashSupport (1.6.13.181), CSV Plugin (1.8.0), Ideolog (181.0.7.0), Markdown support (181.4668.12), R Language Support (1.0.10), YAML (181.5087.37)
2018-11-30 16:59:00,735 [ 2959] INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED ===
2018-11-30 16:59:00,771 [ 2995] INFO - ellij.vfs.persistent.FSRecords - Marking VFS as corrupted: '/Users/AF45008/Library/Caches/PyCharm2018.1/caches/names.dat' does not exist
2018-11-30 16:59:00,772 [ 2996] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2018-11-30 16:59:00,795 [ 3019] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/PyCharm.app/Contents/bin/fsnotifier
2018-11-30 16:59:00,804 [ 3028] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-11-30 16:59:00,910 [ 3134] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2018-11-30 16:59:00,910 [ 3134] INFO - pi.util.registry.RegistryState - ide.windowSystem.autoShowProcessPopup = true
2018-11-30 16:59:01,168 [ 3392] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-11-30 16:59:01,266 [ 3490] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: Git4Idea]
2018-11-30 16:59:01,289 [ 3513] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: hg4idea]
2018-11-30 16:59:01,335 [ 3559] INFO - .history.utils.LocalHistoryLog - local history version mismatch (was: 0, expected: 6), rebuilding...
2018-11-30 16:59:01,335 [ 3559] INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history...
2018-11-30 16:59:01,482 [ 3706] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity@2ddb0cad
2018-11-30 16:59:01,505 [ 3729] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-11-30 16:59:01,525 [ 3749] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2018-11-30 16:59:01,584 [ 3808] INFO - gs.impl.UpdateCheckerComponent - channel: release
2018-11-30 16:59:01,716 [ 3940] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:71, number of extensions:35
2018-11-30 16:59:01,720 [ 3944] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2018-11-30 16:59:01,818 [ 4042] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:91, number of extensions:86
2018-11-30 16:59:01,818 [ 4042] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2018-11-30 16:59:01,897 [ 4121] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.unittestLegacy.PythonUnitTestConfigurationProducer@280c3924
2018-11-30 16:59:01,897 [ 4121] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.pytestLegacy.PyTestConfigurationProducer@719d5444
2018-11-30 16:59:01,897 [ 4121] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.nosetestLegacy.PythonNoseTestConfigurationProducer@23654340
2018-11-30 16:59:01,901 [ 4125] INFO - pi.util.registry.RegistryValue - Registry value 'ide.ssh.one.time.password' has changed to 'true"
2018-11-30 16:59:01,934 [ 4158] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt id-index from /Users/AF45008/Library/Caches/PyCharm2018.1/index/.persistent/prebuilt/Python/id-index.input
2018-11-30 16:59:01,986 [ 4210] INFO - plication.impl.ApplicationImpl - 84 application components initialized in 2209ms
2018-11-30 16:59:02,012 [ 4236] INFO - .intellij.idea.IdeaApplication - App initialization took 4753 ms
2018-11-30 16:59:02,177 [ 4401] INFO - ij.psi.stubs.StubUpdatingIndex - Following new file types will be indexed:Markdown,CoffeeScript,Cython,Flow,Mako,Properties,ActionScript,ECMAScript 6,Sass,Python,SCSS,TypeScript JSX,R,Puppet,Jinja2,JSX Harmony,Literate CoffeeScript,SQL,XML,CSS,Less,HTML,Ini,Stylus,JavaScript,PythonStub,TypeScript,Bash
2018-11-30 16:59:02,318 [ 4542] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-11-30 16:59:02,566 [ 4790] INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus ===
2018-11-30 16:59:02,567 [ 4791] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus ===
2018-11-30 16:59:02,573 [ 4797] INFO - pl$FileIndexDataInitialization - Initialization done:853
2018-11-30 16:59:02,862 [ 5086] INFO - exImpl$StubIndexInitialization - Initialization done:288
2018-11-30 16:59:03,069 [ 5293] INFO - j.ide.ui.OptionsTopHitProvider - 465 ms spent to cache options in application
2018-11-30 16:59:03,090 [ 5314] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@555972d6
2018-11-30 16:59:03,296 [ 5520] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2018-11-30 16:59:03,355 [ 5579] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@28d7c963
2018-11-30 16:59:03,529 [ 5753] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@61c170
2018-11-30 16:59:03,533 [ 5757] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.actions.GotoClassPresentationUpdater@6f46bec3
2018-11-30 16:59:03,956 [ 6180] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED ===
2018-11-30 16:59:03,956 [ 6180] INFO - cloudConfig.CloudConfigManager - java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:94)
at com.jetbrains.cloudconfig.CloudConfigFileClient.list(CloudConfigFileClient.java:192)
at com.intellij.idea.cloudConfig.ETagCloudConfigFileClient.list(ETagCloudConfigFileClient.java:38)
at com.intellij.cloudConfig.CloudConfigManager.listFiles(CloudConfigManager.java:2122)
at com.intellij.cloudConfig.CloudConfigManager.calculateInitStatus(CloudConfigManager.java:355)
at com.intellij.cloudConfig.CloudConfigManager.lambda$updateInitStatus$4(CloudConfigManager.java:390)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
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: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:92)
... 11 more
Caused by: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
at com.jetbrains.ls.b.p$d.a(p$d.java:422)
at com.jetbrains.ls.b.p$d.checkServerTrusted(p$d.java:409)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:985)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
... 24 more
Caused by: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:189)
at java.security.Signature$Delegate.engineVerify(Signature.java:1219)
at java.security.Signature.verify(Signature.java:652)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:444)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:392)
at com.jetbrains.ls.b.p$d.a(p$d.java:415)
... 27 more
2018-11-30 16:59:03,959 [ 6183] INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus ===
2018-11-30 16:59:04,242 [ 6466] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2018-11-30 16:59:04,243 [ 6467] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/Users/AF45008/Projects/mtbox/mtbox]
2018-11-30 16:59:04,542 [ 6766] INFO - ellij.project.impl.ProjectImpl - 110 project components initialized in 489 ms
2018-11-30 16:59:05,634 [ 7858] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 1091 ms
2018-11-30 16:59:05,676 [ 7900] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2018-11-30 16:59:05,886 [ 8110] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2018-11-30 16:59:06,045 [ 8269] INFO - ellij.project.impl.ProjectImpl - 15 project components initialized in 36 ms
2018-11-30 16:59:06,585 [ 8809] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 1 roots in 1 SDKs took 42ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-30 16:59:06,667 [ 8891] INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2018-11-30 16:59:07,154 [ 9378] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 722ms under project opening modal progress
2018-11-30 16:59:07,197 [ 9421] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 790ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-30 16:59:07,424 [ 9648] INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles []
2018-11-30 16:59:07,730 [ 9954] INFO - tartup.impl.StartupManagerImpl - /Users/AF45008/Projects/mtbox/mtbox/.idea case-sensitivity: expected=false actual=false
2018-11-30 16:59:07,755 [ 9979] INFO - #git4idea.commands.GitHandler - [.] git version
2018-11-30 16:59:07,803 [ 10027] INFO - #git4idea.commands.GitHandler - git version 2.14.3 (Apple Git-98)
2018-11-30 16:59:07,807 [ 10031] INFO - ea.config.GitExecutableManager - Git version for /usr/bin/git : 2.14.3
2018-11-30 16:59:07,911 [ 10135] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 786ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish
2018-11-30 16:59:07,914 [ 10138] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/Users/AF45008/Projects/mtbox/mtbox]
2018-11-30 16:59:08,066 [ 10290] INFO - tor.impl.FileEditorManagerImpl - Project opening took 4032 ms
2018-11-30 16:59:08,487 [ 10711] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 575ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-30 16:59:08,488 [ 10712] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1505 files to update
2018-11-30 16:59:08,624 [ 10848] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt sdk-stubs from /Users/AF45008/Library/Caches/PyCharm2018.1/index/.persistent/prebuilt/Python/sdk-stubs.input
2018-11-30 16:59:09,004 [ 11228] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt sdk-stubs from /Users/AF45008/Library/Caches/PyCharm2018.1/index/.persistent/prebuilt/JavaScript/sdk-stubs.input
2018-11-30 16:59:17,555 [ 19779] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 9067ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-30 16:59:17,669 [ 19893] INFO - cloudConfig.CloudConfigManager - === StatusBar.start create ===
2018-11-30 16:59:18,312 [ 20536] INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 11/30/18, 4:06 PM)
2018-11-30 16:59:19,235 [ 21459] WARN - ackaging.PyCondaPackageService - Failed to get list of conda packages
2018-11-30 16:59:19,235 [ 21459] WARN - ackaging.PyCondaPackageService - /Users/AF45008/anaconda2/bin/python /Applications/PyCharm.app/Contents/helpers/conda_packaging_tool.py listall
2018-11-30 16:59:19,235 [ 21459] WARN - ackaging.PyCondaPackageService - Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/helpers/conda_packaging_tool.py", line 65, in main
do_list_available_packages()
File "/Applications/PyCharm.app/Contents/helpers/conda_packaging_tool.py", line 30, in do_list_available_packages
index = get_index()
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/index.py", line 101, in get_index
index = fetch_index(channel_priority_map, use_cache=use_cache)
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/index.py", line 120, in fetch_index
repodatas = collect_all_repodata(use_cache, tasks)
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/repodata.py", line 75, in collect_all_repodata
repodatas = _collect_repodatas_serial(use_cache, tasks)
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/repodata.py", line 485, in _collect_repodatas_serial
for url, schan, pri in tasks]
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/repodata.py", line 115, in func
res = f(*args, **kwargs)
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/repodata.py", line 464, in fetch_repodata
mod_etag_headers.get('_mod'))
File "/Users/AF45008/anaconda2/lib/python2.7/site-packages/conda/core/repodata.py", line 320, in fetch_repodata_remote_request
e.response)
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/osx-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\', port=443): Max retries exceeded with url: /pkgs/main/osx-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)

 

 

 

0

Are you behind some proxy? If yes, try setting it in PyCharm.

0

Please sign in to leave a comment.