CORS issue with fonts in Visualize.js

0

Hello everyone,

We are using visualize.js to imbedded reports in one of our systems, Every thing works fine except for a error for Fonts

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://example.test.com/jasperserver-pro/reportresource/reportresource/.... (Reason: CORS header 'Access-Control-Allow-Origin' missing).

Does anyone know how can I enable CORS for fonts? 

Thanks,

Akshay

akshaymmittal's picture
Joined: Aug 11 2015 - 1:27pm
Last seen: 3 years 4 months ago

Hello Akshay,

 

   Were you able to resolve this issue? We are facing similar issue and are looking for a solution.

 

Thanks,

Santosh

santosh_2 - 3 years 9 months ago

1 Answer:

1

I recomend you to change CORS in Tomcat server configuration or web.xml of JasperServer.

Instructions are here:

http://enable-cors.org/server_tomcat.html

http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter

 

 

acorralortiz's picture
Joined: Oct 9 2012 - 3:08am
Last seen: 3 years 7 months ago
Feedback
randomness