Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

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 trả lời
  • 1 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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 ?