question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Language Server download failed

See original GitHub issue

_Originally posted by @adolfox in https://github.com/MicrosoftDocs/intellicode/issues/4#issuecomment-514724869_

I’m still having this issue. I can get it to work by adding NODE_TLS_REJECT_UNAUTHORIZED=0 to my system environment variables, but the the Python extension throws the following error,

Starting Microsoft Python language server.
Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg... download failed
Error: Failed with status 403, Forbidden, Uri https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg
Starting Jedi Python language engine.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
adolfoxcommented, Jul 25, 2019

Environment data VS Code version: 1.36.1 Extension version (available under the Extensions sidebar): Name: Python Id: ms-python.python Description: Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more. Version: 2019.6.24221 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python OS and version: Windows 10, 1803 Python version (& distribution if applicable, e.g. Anaconda): conda 4.6.11 Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda

Jedi or Language Server? language server Expected behaviour In Output for Python it should just display: Starting Microsoft Python language server. Starting Jedi Python language engine.

Actual behaviour If I set NODE_TLS_REJECT_UNAUTHORIZED = 0 in my environment variables because I’m behind a corporate firewall, then the Python Ouput at startup is: Starting Microsoft Python language server. Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg… download failed Error: Failed with status 403, Forbidden, Uri https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg Starting Jedi Python language engine.

Steps to reproduce: Set NODE_TLS_REJECT_UNAUTHORIZED=0 in the system environment variables.

Logs Starting Microsoft Python language server. Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg… download failed Error: Failed with status 403, Forbidden, Uri https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.3.40.nupkg Starting Jedi Python language engine.XXX

0reactions
karrtikrcommented, Aug 21, 2019

Closing as no response from @adolfox was provided.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python-language-server - PyPI
The Python language server can be developed against a local instance of Visual Studio Code. Install VSCode # Setup a virtual env virtualenv...
Read more >
Failed to install clangd language server in VScode
Try this: first, install clangd manually: sudo apt-get install clangd . then, ctrl+shift+p to 'clangd: Check for language server update'.
Read more >
typescript-language-server - npm
Specifies the path to the NPM executable used for Automatic Type Acquisition. locale, string, The locale to use to show error messages. plugins ......
Read more >
FIX: Repair fails for Machine Learning components on server ...
FIX: Repair fails for Machine Learning components on server with no Internet access. ... /download /component SRO /version 3.3.3.24 /language 1033 /logfile ...
Read more >
Language Server - Snyk User Docs
This file allows you to download the latest language server, ... <LOGLEVEL> allows specifying the log level ( trace , debug , info...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found