celian-rib / vscode-webvalidation-extension

VSCode extension that let you check if an HTML or CSS file respect the W3C standards.
https://marketplace.visualstudio.com/items?itemName=CelianRiboulet.webvalidator
MIT License
24 stars 3 forks source link

An error has occurred #19

Closed Duxedraft closed 3 years ago

Duxedraft commented 3 years ago

The extension fails to validate code and instead displays "An error has occurred". I've tried to disable, uninstall, re-install but nothing seems to work.

celian-rib commented 3 years ago

Hi @Duxedraft thanks for reporting this issue ! Could you provide more information on it ?

For example :

On my side, I will note that the error messages are not great and have to be improved. Thanks :)

Duxedraft commented 3 years ago

Hey @celian-rib. Thanks for your quick response. To answer your questions, I'm using Visual Studios Version: 1.61.0, not working offline and the issue is still happening.

Thanks for looking into it!

celian-rib commented 3 years ago

Hey @Duxedraft i'm currently working on improving the error handling of the extension. Meanwhile, if you have time, is it possible for you to :

That would be awesome if you could do that! I think your issue is also related to #13 , so that would be even greater if I find the cause.

Thank you, have a nice day!

Duxedraft commented 3 years ago

Hey @celian-rib

Below is a screenshot of the log. Something about a certificate (not sure whether it's from the extension or my end) I reckon? Let me know if theres anything else I can help you with. Cheers!

image
celian-rib commented 3 years ago

Thank you for responding so quickly ! Can you extend the messages from the console ? image image

(By clicking on the grey arrow) Thanks 👍🏻

Duxedraft commented 3 years ago

No worries @celian-rib... here you go!

image
celian-rib commented 3 years ago

Hey @Duxedraft , I have released a new update with a possible fix of the issue. It is available and the extension should update just after you open vscode.

I hope it will fix the issue, keep me updated, thanks !

Duxedraft commented 3 years ago

Hey @celian-rib, I made the update but the error is still there. Maybe the problem is on my end. I'll look into it. Thanks for troubleshooting as well

celian-rib commented 3 years ago

Hi @Duxedraft, im sorry to hear that. I think your issue impacted by the recent certificates expiration (September 2021) https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

So I guess the issue is coming from your side, this may happen because you have an out of date certificate on your machine. Thanks and have a nice day!