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

Issues downloading the additional extension files #42

Closed
joewood opened this issue Sep 26, 2016 · 8 comments
Closed

Issues downloading the additional extension files #42

joewood opened this issue Sep 26, 2016 · 8 comments

Comments

@joewood
Copy link

joewood commented Sep 26, 2016

I'm using 0.0.4. After I install the plugin I see the files appear in ~./vscode/extensions/redhat.java-0.0.4. However I don't see any files (other than .gitignore) in the .../server dir. VSCode shows "Java" but there's no thumbs up. Is there a log file that I can look at? (and there's a pom.xml file in the root which compiles with mvn).

@gorkem
Copy link
Contributor

gorkem commented Sep 26, 2016

On 0.0.4 release we have added a server download indicator that should say "Completing Java Installation" and a percentage. Do you see it?

@fbricon
Copy link
Collaborator

fbricon commented Sep 26, 2016

Also, are you behind a proxy?

@joewood
Copy link
Author

joewood commented Sep 26, 2016

No, I don't see that. I just ran it in verbose mode and it appears that the post install script failed. I see the following error:

Detected VS Code engine version: ^1.5.0
Error installing vscode.d.ts: Error: self signed certificate in certificate chain

I assume this is an SSL root CA (man-in-the-middle) issue. Yes, I'm behind a proxy - but I have the strict SSL option switched off - but maybe the install script doesn't use that setting.

@gorkem
Copy link
Contributor

gorkem commented Sep 26, 2016

http.proxyStrictSSL configuration is passed on to the connection. How is your proxy configured? Do you use http.proxy setting?

@joewood
Copy link
Author

joewood commented Sep 26, 2016

Yes, I use http.proxy. It's also configured in the environment vars - HTTP_PROXY.
How is the http.proxyStrictSSL passed onto the install process?

@gorkem
Copy link
Contributor

gorkem commented Sep 26, 2016

@mattshields
Copy link

I am seeing the same issue with version 0.0.4,
Windows 7,
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

http.proxy and https.proxy both explicitly set
// Whether the proxy server certificate should be verified against the list of supplied CAs.
"http.proxyStrictSSL": false,

@gorkem
Copy link
Contributor

gorkem commented Sep 27, 2016

It appears passing http.proxyStrictSSL preferences to the connection was not the only issue.

@gorkem gorkem added the bug label Sep 27, 2016
@gorkem gorkem modified the milestone: Mid October 2016 Sep 27, 2016
@gorkem gorkem closed this as completed in 6599e69 Oct 11, 2016
@gorkem gorkem added this to the Mid October 2016 milestone Oct 11, 2016
ansyral pushed a commit to ansyral/vscode-java that referenced this issue Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants