CORS issue

// Expert user has replied.
V Vasco Maria Livio 10 months 2 weeks ago
258 2 0

Good morning, I've been having a problem with the BrowserPrint SDK for a few days now. Until recently, my production web app was using the driver without any issues, but now I am receiving a CORS error from the browser. I haven't made any changes to the site. What could have happened? The error is: Access to XMLHttpRequest at 'http://127.0.0.1:9100/available' from origin 'https://mysite.it' has been blocked by CORS policy: Cannot parse Access-Control-Allow-Headers response header field in preflight response.

I don't have any problem in development when the origin is the same. 

The prompt to add permission in zebra browser print shows up and i have my site listed in the driver accepted sources.

any suggestion?

Please Register or Login to post a reply

2 Replies

S Steven Si

Has the browser been updated? What's the version of the browser? Can you try this site to see if it works with your browser - https://cagdemo.com?

H Harvey Bernard

Good morning, I've been having a problem with the BrowserPrint SDK for a few days now. Until recently, my production web app was using the driver without any issues, but now I am receiving a CORS error from the browser. I haven't made any changes to the site. What could have happened? The error is: Access to XMLHttpRequest at 'http://127.0.0.1:9100/available' from origin 'https://mysite.it' has been blocked by CORS policy: Cannot parse Access-Control-Allow-Headers response header field in preflight response.

I don't have any problem in development when the origin is the same. 

The prompt to add permission in zebra browser print shows up and i have my site listed in the driver accepted sources.

any suggestion?

This CORS issue might stem from updates to browser security policies or the Zebra BrowserPrint driver. Try clearing your site permissions in Zebra settings, ensuring the latest driver version, or implementing a CORS proxy server workaround.

CONTACT
Can’t find what you’re looking for?