-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cann't open file with LS support #4051
Comments
@hwx405562 csharp language server requires debian based workspaces while a blank stack is based on Ubuntu. Json worked for me though. I suspect there's smth wrong with https://apt-mo.trafficmanager.net Can you give it a try at codenvy.io? |
@eivantsov I followed the way as Ability to use language server agents in offline mode #3809 https://github.com/eclipse/che/issues/3809 to add the lsp binaries files to ..che/ls_folder ,re-run workspace ,and it works ok for php,Json,but not ok for csharp on both ubuntu(from #blank stack) and debian(from DEBIAN LSP stack) ,which cann't open the cs file. And for csharp,I have already installed dotnet application in ubuntu and debian in offline.
Seems the vscode-languageserver process have not been trigerred. I don't know how to check for the next . |
Thanks @eivantsov - I followed your same steps and also got the same output as well. |
@TylerJewell @hwx405562 I suspect that apt-get cannot install smths that c# language server needs. And this has to with @hwx405562 geographical location. @hwx405562 can you share machine logs for this workspace? You can find logs in your |
@eivantsov This is the machine logs for this workspace,seems the errors on the gzip issue.
This che-server launch is based on command eclipse/che-cli:nightly started from docker run. |
@hwx405562 can you download this file from your network? https://codenvy.com/update/repository/public/download/org.eclipse.che.ls.csharp.binaries |
@eivantsov Yeah,it can be download in my network with the google browser.However,it can not be curl in the che workspace container when exec the org.eclipse.che.ls.csharp.script.sh,here I re-create one another workspace from DEBIAN LSP stack,and attached the related info for your reference,
(Actually,I need down it from google browser and add them in offline)
(Also,I need upgrade the nodejs version to > v6.x in offline) Above all ,the script file(org.eclipse.che.ls.csharp.script.sh) can not be exec completely as maybe there is something issue with the curl to related apt-get install,and then I build the script application to the workspace container manually ,but it cann't work as well.maybe something can not be fully launched I suspected. |
Here I attached the machine logs for this workspace
|
@hwx405562 are you behind the proxy? What is the error when you wget this file manually? |
@eivantsov Yes it is behind the proxy .Here I found the issue is related the dotnet restore dependencies problem,
|
Can you run |
@eivantsov Yes,I have set the proxy,maybe it is related to the nuget proxy issue,but even I add the proxy config to nuget.config,
It still can not work ,which is with the same error, |
@eivantsov Do you know how to set the nuget config with egnored the CA certificates?Seems It is mainly related to the CA certificates issue. |
@hwx405562 no, I don't. And I haven't found much dockerish either. Only this - http://stackoverflow.com/questions/40863029/nuget-ca-certificates-error-on-a-docker-container-of-asp-net-core |
@hwx405562 have you found any resolution of your issue? |
@eivantsov Not yet,but now I close this issue since it is the issue with trusted CAs from the Windows certificate store ,and for CAs specifics on linux platform ,NuGet team need designing a new feature which I will file the new issue on NuGet as NuGet/Home#4387 mentioned later,thanks for your advice. |
@TylerJewell @svenefftinge I try to launch the che LSP application in eclipse che 5.0.1 and 5.3.0-SNAPSHOT separately as Release Notes:Eclipse Che 5.0 mentioned,but both can not open file with LS support(like json,c#,php),which is always holding on the page showing "Initialzing Language Server for Json" for example
So could you pls help to have a look at that if I missing some other operation based on below running steps?How can I use che LSP application successfully?
Reproduction Steps:
OS and version:
Docker version 1.13.0
Linux platform as Centos7
Diagnostics:
When running workspace ,the dev-machine console some errors as below,
The text was updated successfully, but these errors were encountered: