-
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
Error downloading external schemas #134
Comments
are you behind a proxy server? |
If behind a corporate proxy, you could try to add proxy settings to the "xml.server.vmargs": "-noverify -Xmx64M -XX:+UseG1GC -XX:+UseStringDeduplication -Dhttp.proxyHost=webproxy.corp.net -Dhttp.proxyPort=proxyport -Dhttp.proxyUser=user -Dhttp.proxyPassword=password -Dhttps.proxyHost=webproxy.corp.net -Dhttps.proxyPort=proxyport -Dhttps.proxyUser=user -Dhttps.proxyPassword=password" |
Thanks. I don't know if I am behind a proxy. I assume so, but I never configure anything else to connect to the internet. |
Maybe if your work system was previously configured try the flag from : where you would add in the flag |
I close this issue since we have no answer. @stodge please reopen it if you need it. |
I'm behind McAfee Web Gateway proxy with NTLMv2 auth. The flag But combination of It works in versions: 0.9, 0.9.1, 0.11.0 (see most recent build on https://download.jboss.org/jbosstools/vscode-xml/staging/?C=M;O=D). |
For people who don't know where You can find the official maven page to encrypt your master password and proxy password. |
Hello , |
I experience the same issue, and I'm NOT behind a proxy. <?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
</doctrine-mapping> the log says:
This doesn't appear to be true. Performing $ curl --head https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd
HTTP/2 200
date: Tue, 29 Dec 2020 08:58:05 GMT
content-type: application/xml The suggested workaround posted by @IssaBa works (changing |
@Talv where do you see these logs? I tried extension host logs but it doesn't have anything |
OK I found them in the logging folder. |
The only workaround I could find is to download it manually and place in the xsd cache directory :( |
@mwisnicki could you give us the xml which références the xsd which czn be downloaded please |
It's a standard Maven POM: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html#the-pom |
I will investigate the htpps redirect problem. Please note that we would like to provide default catalog with this maven xsd. |
I keep getting an occasional error when vscode xml is trying to download external schemas:
Error while downloading 'http://www.w3.org/2001/xml.xsd' to /home/mike/.lsp4xml/cache/http/www.w3.org/2001/xml.xsd.
I've no doubt that our company networking could be at fault, but is there an easy way to force vscode to retry downloading an individual schema? If I delete the local cache under
~/.lsp4xml
and restart vscode, it will re-download them. However, I'll often hit the same problem again.Thanks
The text was updated successfully, but these errors were encountered: