Skip to content
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

The language server cannot finish of initializing #3744

Closed
musienko-maxim opened this issue Jan 16, 2017 · 4 comments
Closed

The language server cannot finish of initializing #3744

musienko-maxim opened this issue Jan 16, 2017 · 4 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@musienko-maxim
Copy link
Contributor

musienko-maxim commented Jan 16, 2017

Steps to reproduce:

  1. Create a workspace based on next configuration:
    { "environments": { "replaced_name": { "machines": { "ws-machine": { "agents": [ "org.eclipse.che.terminal", "org.eclipse.che.ws-agent", "org.eclipse.che.ssh", "org.eclipse.che.ls.csharp", "org.eclipse.che.ls.json", "org.eclipse.che.ls.php" ], "attributes": { "memoryLimitBytes": "desired_memory_value" } } }, "recipe": { "content": "FROM codenvy/debian_jre", "contentType": "text/x-dockerfile", "type": "dockerfile" } } }, "defaultEnv": "replaced_name", "projects": [], "name": "replaced_name", "attributes": {}, "temporary": false }
  2. Create aspnet-web-simple project
  3. Open Program.cs file
    Expected result: The file should be opened. The base autocomplete features should be available
    Actual result: The initializing of the language server cannot finish.
    Che version: 5.1.0 Snapshot
    Docker version: 1.12.6
    OS: Ubuntu 14.0 LTS
@musienko-maxim musienko-maxim added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 16, 2017
@ghost
Copy link

ghost commented Jan 16, 2017

@musienko-maxim have you tried it with eclipse/debian_jre

@ghost
Copy link

ghost commented Jan 16, 2017

It's the same with this image actually.

Having tried to run the script manually, it turns out that there's nothing in ~/che/ls-csharp:

 throw err;                                                                                                                                                                                                                  
    ^                                                                                                                                                                                                                           
                                                                                                                                                                                                                                
Error: Cannot find module '/home/user/che/ls-csharp/node_modules/omnisharp-client/languageserver/server.js'                                                                                                                     
    at Function.Module._resolveFilename (module.js:469:15)                                                                                                                                                                      
    at Function.Module._load (module.js:417:25)                                                                                                                                                                                 
    at Module.runMain (module.js:604:10)                                                                                                                                                                                        
    at run (bootstrap_node.js:394:7)                                                                                                                                                                                            
    at startup (bootstrap_node.js:149:9)                                                                                                                                                                                        
    at bootstrap_node.js:509:3                                                                                                                                                                                                  
user@9b5f1bd5d9c9:~/che/ls-csharp$ ls                                                                                                                                                                                           
launch.sh                                                                                                                                                                                                                       
user@9b5f1bd5d9c9:~/che/ls-csharp$ pwd                                                                                                                                                                                          
/home/user/che/ls-csharp               

It looks like the problem is with curl and codenvy.com. For some reason, binaries for this agent arent' served by a container but downloaded from https://codenvy.com/update/repository/public/download/org.eclipse.che.ls.csharp.binaries

Certificate for codenvy.com has expired. So, curl ends up with an error., We should either use the same mechanism to distribute agents as we did for terminal and ws agent or use -k option with curl.

@musienko-maxim
Copy link
Contributor Author

has been resolved

@VonTalavang
Copy link

it is not solve, and is 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants