Category Archives: angular-resource

Firefox Cross-Origin Request Blocked

I am trying to do REST call from angular.js $resouce api. It is working on all the browsers except Firefox. I am getting below error

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at url (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

My url is secured with go-daddy ssl certificate, so i don't think there is any issue with security or SSL handshake which i found here.

I am using tomcat with apache helping redirect traffic to tomcat.

One strange difference i found between firefox and chrome response headers. I am sending CORS related headers from my server side (tomcat over apache), it is being read by other browsers but not Firefox.

Guys please help me to find if it is a browser issue or server issue or security issue and solution if you know any. Thanks in advance enter image description here enter image description here