alduin
alduin copied to clipboard
Hangs when adding HN rss feed
I'm trying to add the feed at https://news.ycombinator.com/rss
but Alduin just hangs after I press "Add feed". It doesn't seem to happen with other feeds (I can successfully add the C&H feed, although I need to select RSS instead of Atom even though the C&H feed seems to be an atom feed)
Looks like a CORS issue.
Alduin is build with Electron. It's basically running a "website-inside-an-application". Everything you see inside the Alduin window is managed and rendered through Chromium.
Alduin calls the fetch
function for making a HTTP requests to HN. Chromium treats that call as if it wer coming from a normal client-side browser context, which will trip CORS validation. In this case, Chromium returns an inaccessible - opaque - HTTP response back to Alduin's application code.
See: https://developers.google.com/web/updates/2015/03/introduction-to-fetch?hl=en
Will be fixed in next release : request are now executed on native side.