-
Notifications
You must be signed in to change notification settings - Fork 35
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
Initializr Network Issues #101
Comments
To prevent hanging forever on version retrieving, I think maybe we can pop up an error message if timeout. So users are aware of what is happening. To answer your questions: |
Thank you for this, can you provide any tips as to why ONLY visual studio code has an issue with this?? When I run the http get per the documentation you supplied using postman, I get the values
So using postman on my network works fine, using VSCode Extension fails. Any thoughts? Any methods of logging what is going on? |
I assume you are behind a corporate proxy (correct me if not). Based on the facts that you:
VSCode has setting entries to set proxy, but that won't affect the extensions, mentioned in the official docs below:
Actually the extension proxy support is always a hot topic in VSCode. See microsoft/vscode#12588 |
It has been identified as a bug that exceptions are not well-handled. Without the error message, it's hard to guess the root cause. The bug has been fixed along with other code changes, and in the next version (will be shipped in this week), you are able to see the error message. Let's see what happened then. |
v0.4.4 has been released, and you are supposed to see the error message now. I'm interested in the root cause, can you share the error message? |
sure.. give me a bit, I will update and re-test. Just FYI, some of the other issues I was seeing had to do with SSL Inspection (not proxy). I had to add certs to the cacerts java store in order to connect to some of the repositories I needed to connect to. Unfortunately this did not help the spring initilizr. Changing the Spring Initializr from https://start.spring.io to use standard http, it works fine using http, but of course SSL would be preferred. FYI.. I'll respond tomorrow.. working via VPN doesn't have the same SSL inspection as on net at the office. |
@Eskibear here is the error message: This error is the same regardless of the vsCode proxy settings (SSL Strict true or false), (proxy support On or Override). Also the certs have been added to the cacerts keystore for my java instance. As of now there is no work around other than to use http instead of https for the start.spring.io endpoint. Thanks |
It looks an SSL cert issue now as you assumed. NodeJs Back to the NodeJs, the NODE_EXTRA_CA_CERTS environment variable might help you out, you might give it a try. Launch VS Code with the env configured, see if it work. |
As reported before here:
#84
I am having the same issue. I acknowledge this is not an extension bug, but I need to understand port / endpoints so I can request that the network paths are opened here at work.
First: VS Code is unable to fetch the avaliable Spring Versions as you can see here. It will sit and query forever without returning any versions.
Second: IF I use start.spring.io to create my project there and then try to open using visual studio code. I am unable to compile my Spring Boot project due to not being able to import the dependencies.
I was able to take my PC to a different network and download the dependencies, so things work now, but I will not be the first with this issue. Can you please provide the network credentials to the Spring.io sources that the extension uses? We can then request our company network firewall allows it.
Looking for [network path / ip] -- [port] -- [protocol] (ex: start.spring.io, 443, tcp) ??
Thanks
The text was updated successfully, but these errors were encountered: