Failure to retrieve cache files with language server

I’m using Julia 1.7.0 on an M1 Mac with VS Code 1.62.3 and Julia for VS Code 1.5.6. When I load the extension the language server fails to start, giving the following error message:

[ Info: Starting the Julia Language Server
[ Info: Symbol server store is at '/Users/*/Library/Application Support/Code/User/globalStorage/julialang.language-julia/symbolstorev5'.
[ Info: Starting LS at 1638475283
[ Info: Downloading caches...
┌ Info: Couldn't retrieve cache file for Tokenize.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/T/Tokenize_0796e94c-ce3b-5d07-9a54-7f471281c624/v0.5.21_0952c9cee34988092d73a5708780b3917166a0dd.tar.gz
[ Info: Downloading caches... (5%)
┌ Info: Couldn't retrieve cache file for BenchmarkTools.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/B/BenchmarkTools_6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf/v1.2.0_61adeb0823084487000600ef8b1c00cc2474cd47.tar.gz
[ Info: Downloading caches... (11%)
┌ Info: Couldn't retrieve cache file for MutableArithmetics.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/M/MutableArithmetics_d8a4904e-b15c-11e9-3269-09a3773c0cb0/v0.3.1_7bb6853d9afec54019c1397c6eb610b9b9a19525.tar.gz
[ Info: Downloading caches... (16%)
┌ Info: Couldn't retrieve cache file for CategoricalArrays.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/C/CategoricalArrays_324d7699-5711-5eae-9e2f-1d82baa6b597/v0.10.2_c308f209870fdbd84cb20332b6dfaf14bf3387f8.tar.gz
[ Info: Downloading caches... (21%)
┌ Info: Couldn't retrieve cache file for CSV.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/C/CSV_336ed68f-0bac-5ca0-87d4-7b16caf5d00b/v0.9.11_49f14b6c56a2da47608fe30aed711b5882264d7a.tar.gz
[ Info: Downloading caches... (26%)
┌ Info: Couldn't retrieve cache file for OffsetArrays.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/O/OffsetArrays_6fe1bfb0-de20-5000-8ca7-80f57d26f881/v1.10.8_043017e0bdeff61cfbb7afeb558ab29536bbb5ed.tar.gz
[ Info: Downloading caches... (32%)
┌ Info: Couldn't retrieve cache file for CSTParser.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/C/CSTParser_00ebfdb7-1f24-5e51-bd34-a7502290713f/v3.3.0_f9a6389348207faf5e5c62cbc7e89d19688d338a.tar.gz
[ Info: Downloading caches... (37%)
┌ Info: Couldn't retrieve cache file for PrettyTables.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/P/PrettyTables_08abe8d2-0d0c-5749-adfa-8a2ac140af0d/v1.2.3_d940010be611ee9d67064fe559edbb305f8cc0eb.tar.gz
[ Info: Downloading caches... (42%)
┌ Info: Couldn't retrieve cache file for SymbolServer.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/S/SymbolServer_cf896787-08d5-524d-9de7-132aaa0cb996/v7.1.0_98fba1388841bdea0e412143894df31bab27b969.tar.gz
[ Info: Downloading caches... (47%)
┌ Info: Couldn't retrieve cache file for InvertedIndices.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/I/InvertedIndices_41ab1584-1d38-5bbf-9106-f11c6c58b48f/v1.1.0_bee5f1ef5bf65df56bdd2e40447590b272a5471f.tar.gz
[ Info: Downloading caches... (53%)
┌ Info: Couldn't retrieve cache file for FilePathsBase.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/F/FilePathsBase_48062228-2e41-5def-b9a4-89aafe57970f/v0.9.17_04d13bfa8ef11720c24e4d840c0033d145537df7.tar.gz
[ Info: Downloading caches... (58%)
┌ Info: Couldn't retrieve cache file for Loess.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/L/Loess_4345ca2d-374a-55d4-8d30-97f9976e7612/v0.5.4_46efcea75c890e5d820e670516dc156689851722.tar.gz
[ Info: Downloading caches... (63%)
┌ Info: Couldn't retrieve cache file for Distances.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/D/Distances_b4f34e82-e78d-54a5-968a-f98e89d6e8f7/v0.10.6_837c83e5574582e07662bbbba733964ff7c26b9d.tar.gz
[ Info: Downloading caches... (68%)
┌ Info: Couldn't retrieve cache file for MathOptInterface.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/M/MathOptInterface_b8f27783-ece8-5eb3-8dc8-9495eed66fee/v0.10.6_92b7de61ecb616562fd2501334f729cc9db2a9a6.tar.gz
[ Info: Downloading caches... (74%)
┌ Info: Couldn't retrieve cache file for WoodburyMatrices.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/W/WoodburyMatrices_efce3f68-66dc-5838-9240-27a6d6f5f9b6/v0.5.5_de67fa59e33ad156a590055375a30b23c40299d3.tar.gz
[ Info: Downloading caches... (79%)
┌ Info: Couldn't retrieve cache file for FFTW.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/F/FFTW_7a1cc6ca-52ef-59f5-83cd-3a7055c09341/v1.4.5_463cb335fa22c4ebacfd1faba5fde14edb80d96c.tar.gz
[ Info: Downloading caches... (84%)
┌ Info: Couldn't retrieve cache file for WeakRefStrings.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/W/WeakRefStrings_ea10d353-3f73-51f8-a26c-33c1cb351aa5/v1.4.1_c69f9da3ff2f4f02e811c3323c22e5dfcb584cfa.tar.gz
[ Info: Downloading caches... (89%)
┌ Info: Couldn't retrieve cache file for Ratios.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/R/Ratios_c84ed2f1-dad5-54f0-aa8e-dbefe2724439/v0.4.2_01d341f502250e81f6fec0afe662aa861392a3aa.tar.gz
[ Info: Downloading caches... (95%)
┌ Info: Couldn't retrieve cache file for AxisAlgorithms.
└   exception = HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/A/AxisAlgorithms_13072b0f-2c55-5437-9ae7-d433b7a33950/v1.0.1_66771c8d21c8ff5e3a93379480a2307ac36863f7.tar.gz
[ Info: All cache files downloaded. (100%)
[ Info: Loading StatsBase from cache... (0%)
[ Info: Loading Statistics from cache... (0%)
[ Info: Loading LinearAlgebra from cache... (0%)
[Info  - 3:01:40 PM] Connection to server got closed. Server will restart.

This will continue five times until it gives up. It looks like the cache files it’s pointing to don’t exist. Has anyone experienced this? Any help much appreciated.

1 Like

I also had this problem, did you solve it?

I’m not sure if this would solve it since I’m not using VS Code at the moment, but ultimately I did realize that the release version of LanguageServer actually wasn’t working at all in any environment. I resolved that by installing the master (add LanguageServer#master) where it functioned properly on my M1 Mac. It’s possible that the VS Code extension will also work with the master branch installed.

I see, thank you