Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

angular app localhost:9000, all broswers except FF works. get error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource a

  • 2 replies
  • 1 has this problem
  • 3 views
  • Last reply by x-hovo-x

more options

Hello dear mozilla team,

recently I faced with problem developing angular app with firefox. I have an angular app and locally run with grunt which starts on port 9000. The application send oauth authorization request on a server which is not on my local, in other words CROSS request For all browsers (Safari, Maxthon, Chrome) it opens pages without any error on firefox it is blank page with few error in console. I re-installed firefox, delete all add-ons, re-create profile nothing help me. here the errors from console.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at my-server.com The connection to ws://localhost:35729/livereload was interrupted while the page was loading.

I would be very happy if you can help me, as FF is my beloved browser for all inspect and test staff

Attached please find console screen shot

Hello dear mozilla team, recently I faced with problem developing angular app with firefox. I have an angular app and locally run with grunt which starts on port 9000. The application send oauth authorization request on a server which is not on my local, in other words CROSS request For all browsers (Safari, Maxthon, Chrome) it opens pages without any error on firefox it is blank page with few error in console. I re-installed firefox, delete all add-ons, re-create profile nothing help me. here the errors from console. Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at my-server.com The connection to ws://localhost:35729/livereload was interrupted while the page was loading. I would be very happy if you can help me, as FF is my beloved browser for all inspect and test staff Attached please find console screen shot

All Replies (2)

more options

Websockets don't use CORS since you're always talking to a different origin by definition (even on the same host it's a different port).

What version of the browser are you really using? That error message doesn't look like the CORS errors I see in Firefox 36. We changed CORS reporting in Firefox 38 (splitting errors into a dozen different cases) but what you quoted above doesn't match those, either. See bug 1121824

more options

I am using 36.0.1 version. as I can see it is latest one. does it make sense downgrade to any version ?