question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while downloading ... to ... with HTTPS

See original GitHub issue

Hey there,

I’ve tried the VSCode extension today on a testng project in order to check out the DTD support. When I open the file testng.xml, which does point inside the DOCTYPE to a valid DTD endpoint, I do get the error:

Error while downloading 'http://testng.org/testng-1.0.dtd' to /Users/MYUSERNAME/.lsp4xml/cache/http/testng.org/testng-1.0.dtd.

Now in this related issue there is a mention that an upgrade for HTTP -> HTTPS has been setup so I wonder whether this is the root cause.

Alternatively I’d like to know if there are any means to get more logs or info about the specific issue.

Here’s the testng.xml file content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Tests" verbose="5">
  <test name="Test1">
    <packages>
      <package name="uitest.*"/>
    </packages>
  </test>
</suite>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
snjezacommented, Jan 28, 2020

Now, https://testng.com is set properly. I can’t reproduce the issue anymore.

1reaction
angelozerrcommented, Jun 11, 2019

You must enable logs with vscode settings.json

"xml.logs.client": true

and after you should see:

[Error - 19:30:05] Jun 11, 2019 07:30:05 org.eclipse.lsp4xml.uriresolver.CacheResourcesManager lambda$downloadResource$0()
Message: Error while downloading http://testng.org/testng-1.0.dtd to C:\Users\azerr\.lsp4xml\cache\http\testng.org\testng-1.0.dtd : [sun.security.provider.certpath.SunCertPathBuilderException] unable to find valid certification path to requested target
Read more comments on GitHub >

github_iconTop Results From Across the Web

12 - Stack Overflow
Error while downloading 'http://maven.apache.org/xsd/maven-4.0.0.xsd' to C:\Users\Fabian.Meier\.lsp4xml\cache\http\maven.apache.org\xsd\maven- ...
Read more >
6 Ways to Fix the “Download Failed Network Error” on Chrome
6 Ways to Fix the “Download Failed Network Error” on Chrome · 1. Check Your Internet Speed and Connection · 2. Modify Your...
Read more >
Error while downloading HTTPS files using wget - Ask Ubuntu
My problem is, I can't download http files in my college wifi. So when I try to download the file, wget will send...
Read more >
"An Error Occurred While Downloading File from https://dl.csi7 ...
This error is a CRL-related (certificate revocation list) issue that occurs due to the inability of the local machine (the one you host...
Read more >
Wget error while downloading from https website
Hi, I would like to download a file from a https website. I don't have the file name as it changes every day....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found