-
Notifications
You must be signed in to change notification settings - Fork 17
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
Certificate expiration error thrown when adding rss source #42
Comments
It looks good in my environment. Do you have any proxy that alters the certificate? |
I don't think so, but I did try to turn off all the proxies, no change. |
That's sounds weird. Is your system time correct? Or, if you run the extension in other device via remote-ssh, is the system time of that device correct? |
I am using this extension locally, and I have checked the local time, and everything looks fine, but something is just wrong with the extension. I also feel very strange. Is there any way I can provide you with more information? |
You can try running curl -v https://www.solidot.org/index.rss It'll print some things like this:
If you have a Node.js environment, you can also try these and see what happens. mkdir test-got && cd test-got
npm install got@10.6.0
cat > t.js <<EOF
const got = require('got');
got('https://www.solidot.org/index.rss', {
timeout: 10 * 1000, retry: 1, encoding: 'binary',
headers: {
'Accept-Encoding': 'gzip, br',
}
}).then(res => {
console.log('ok', res.statusCode);
}).catch(err => {
console.log('err', err);
});
EOF
node t.js |
I also have a similar issue. I was using this module for a while but today it failed to retrieve the news. If I click on the RSS feed and click refresh button, it says "updating RSS...", but then a "X" appears in the front of the feed. I right click -> refresh, I get the "RequestError: certificate has expired" error. VS Code version:
Extension version: RSS v0.10.2
|
Is the RSS URL also https://www.solidot.org/index.rss ? |
No, I try to get news from stackoverflow. How can I obtain the RSS URL? It would be a great feature to get it somehow easier than exporting the account and reading the code. |
I tried to fix the problem and packed a package: rss.zip. You can try it in your own environment. Download and unzip it and you'll get a vsix file. Then open vscode and switch to the extensions tab, click "Install from VSIX..." and select that vsix file to install it. If it works, I'll release a new version to fix that bug. |
Also, it seems that this is a vscode bug: microsoft/vscode#136787 . You can try to use the setting |
Thank you! I encountered the same problem, this method is useful. |
I tried to add https://www.solidot.org/index.rss as a feed, but an expired certificate error was thrown. I'm currently only having this problem when I add this feed.
But it doesn't actually expire. It will expire on Fri, 15 Oct 2021 23:59:59 GMT.
Other information that may be useful
The text was updated successfully, but these errors were encountered: