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?
2 Replies
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?
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.