-
Notifications
You must be signed in to change notification settings - Fork 82
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
XSD download fails in recent versions #226
Comments
@fbricon have you an idea about that? |
I have the same problem with the actual |
@ilyakanevsky downgrading to 0.9.1 fixes the problem for you, too? |
did you set your proxy settings in the user's settings.json or the current directory? |
Hey @fbricon, I modified the user´s |
Ok so it's not dc03e74#diff-d106f0e1914f2f6cbf79404a7f0c42b4 then. Maybe @snjeza can help troubleshooting proxy issues |
My settings: Now I use https://github.com/genotrance/px for proxy between applications and the real proxy. So I can see connections (initiated by each application) in the log.
I've just tried and answer is "Yes". (But it downloads file %USERPROFILE%.lsp4xml\cache\http\www.w3.org\2001\XMLSchema incorrectly, and after that cannot download some resources for rddl folder: If I use |
I guess it is. Maybe the root of a problem is here: @snjeza, we need your help. |
I tested the most recent CI build (https://download.jboss.org/jbosstools/vscode-xml/staging/vscode-xml-0.11.0-4173.vsix) I can confirm that it is working again. Thanks! |
Great! Thanks @SebastianPfliegel for your feedback. Thanks @snjeza for your fix! |
I confirm too. Thanks for quick fix.
This problem is still here. Fix: download manually http://www.w3.org/2001/XMLSchema.xsd and save it as %USERPROFILE%.lsp4xml\cache\http\www.w3.org\2001\XMLSchema (without extension). P.S. I add manually this string: |
@ilyakanevsky the extension uses a new directory: |
We try and guess the best path where XML Schema/DTD must be downloaded to improve drasticly the performance in https://github.com/eclipse/lemminx/blob/9a4ef41513283d057581b743107e03115dae8434/org.eclipse.lemminx/src/main/java/org/eclipse/lemminx/utils/FilesUtils.java#L98 If anybody have some idea how to fix that, any idea are welcome! But you can customize this folder (if you have this kind problem) with the
Indeed my lsp4xml project has been moved to Eclipse.org and the new name is .... Let's go for Hope you will like it. |
Yes, I've seen it.
Yes, I've done it: |
The problem I told above isn't about the path on the disk. It's about the URL. Correct URL for namespace
|
I noticed that this extension no longer downloads external schemas for me. I'm behind a corporate proxy.
This is part of my settings.json:
"xml.server.vmargs": "-Dhttp.proxyHost=PROXYHOST -Dhttp.proxyPort=3128 -Dhttps.proxyHost=PROXYHOST -Dhttps.proxyPort=3128"
The last working extension version is
0.9.1
(downgrading does the trick for me).0.10.0
and0.10.1
are broken for me.This is the error I get:
This issue is similar to #134, but I assume only the proxy settings were missing (as only more recent versions are affected by this bug).
The text was updated successfully, but these errors were encountered: