knyar / theoldreader-chrome

Chrome extension for The Old Reader
http://theoldreader.com/
MIT License
15 stars 9 forks source link

"Error fetching feed counts" #35

Closed goodevilgenius closed 10 years ago

goodevilgenius commented 10 years ago

For the past few days, my Old Reader Notifier has been greyed out, and if I hover over it, it says "Error fetching feed counts."

I haven't, as far as I recall, made any changes to my browser, the extension, or my Old Reader account.

knyar commented 10 years ago

What OS and version of Chrome are you using? What happens when you click the extension button?

kav2k commented 10 years ago

To help us debug: go to your Extensions list, check the "Developer mode" checkbox, and then click on the "Inspect views: background page" link for the Notifier. Are there any errors there?

goodevilgenius commented 10 years ago

Of course, as soon as I submit a bug report, it magically starts working again. Happens every time. Stupid Heisenbugs.

I've noticed it on Windows 7 with Chrome 38.0.2096.0 dev-m

The console for the view had the following error a few times:

XMLHttpRequest cannot load http://theoldreader.com/feeds/counts.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://flnadglecinohkbmdpeooblldjpaimpo' is therefore not allowed access. The response had HTTP status code 403.

kav2k commented 10 years ago

This is very strange. Cross-origin XHR is only invoked from the background page, host permissions match ("*://theoldreader.com/*"), and therefore CORS should not be a problem.

krasnoukhov commented 10 years ago

Hey @goodevilgenius, thanks for reporting. You are using beta version, is that correct?

kav2k commented 10 years ago

Closing as "cannot reproduce". Yes, @goodevilgenius is using the Dev (aka "unstable") channel. If you can pinpoint the error again, feel free to reopen this.