mozilla / high-fidelity

HTML5 podcast app (for the Web, including FirefoxOS)
https://marketplace.firefox.com/app/podcasts
108 stars 40 forks source link

Adding URL https://feeds.feedburner.com/HlavnZprvy makes Podcasts loading something endlessly #42

Closed mcepl closed 9 years ago

mcepl commented 10 years ago

Just adding https://feeds.feedburner.com/HlavnZprvy to the 'Add RSS feed' box and pressing Add button leads to Podcasts endlessly showing the wait icon and these errors in the JavaScript console (tested with desktop Firefox):

15:45:38.563 "DEBUG: -------------------------------" ember.js:3285
15:45:38.563 "DEBUG: Ember      : 1.3.2" ember.js:3285
15:45:38.563 "DEBUG: Ember Data : 1.0.0-beta.8.2a68c63a" ember.js:3285
15:45:38.563 "DEBUG: Handlebars : 1.2.1" ember.js:3285
15:45:38.563 "DEBUG: jQuery     : 1.9.1" ember.js:3285
15:45:38.563 "DEBUG: -------------------------------" ember.js:3285
15:45:40.048 "Transitioned into 'podcasts'" ember.js:3285
15:45:44.869 "Transitioned into 'podcast.new'" ember.js:3285
15:46:00.715 "Find podcast with rssURL:" "https://feeds.feedburner.com/HlavnZprvy" combined-scripts.js:969
15:46:00.763 "Creating new podcast." combined-scripts.js:979
15:46:00.772 "Updating podcast:q4d8q" combined-scripts.js:869
15:46:01.387 "Bad response" Object { responseData: null, responseDetails: "Feed could not be loaded.", responseStatus: 400 } combined-scripts.js:101
getFromGoogle/</<.success() combined-scripts.js:101
jQuery.Callbacks/fire() jquery.js:1037
jQuery.Callbacks/self.fireWith() jquery.js:1148
done() jquery.js:8074
.send/script.onreadystatechange() jquery.js:8329

15:46:01.388 "Could not download podcast" "success" combined-scripts.js:954
HighFidelity.Podcast<.update/</<() combined-scripts.js:954

If the problem is that cross-origin limitations make this working impossible, I would expect some nice error message instead.

mcepl commented 10 years ago

When trying to start build (after doing grunt build successfully) application from app/ I get a blank page with these errors in the console (in WebIDE and 1.4 simulator):

Content Security Policy: The page's settings blocked the loading of a resource: An attempt to execute inline scripts has been blocked index.html
ReferenceError: DS is not defined ember_indexeddb_adapter.js:5
mcepl commented 10 years ago

Actually the problem is most likely in https:// instead of http:// but still I would expect some decent error message.

tofumatt commented 10 years ago

Good point, the lack of error messages is a problem. I'll target the next release for their addition, thanks.

tofumatt (Sent from mobile)

On August 13, 2014 10:09:45 AM EDT, "Matěj Cepl" notifications@github.com wrote:

Actually the problem is most likely in https:// instead of http:// but still I would expect some decent error message.


Reply to this email directly or view it on GitHub: https://github.com/mozilla/high-fidelity/issues/42#issuecomment-52052722