dymo-connect-framework
dymo-connect-framework copied to clipboard
CORS errors in Firefox
When dymo.label.framework.init(); is called from Firefox, it is getting the CORS error below, which prevents label printing.
Firefox 89.0 (64-bit)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41960/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed).
Is it on DYMO Label Software (DLS) or DYMO Connect Software (DCD)? I have same issue with DCD on Chrome but no issues with DLS, the error is on Service Side "No 'Access-Control-Allow-Origin' header is present on the requested resource."
This error was from the dymo-connect-framework using the DYMO Connect Web Service. I know the README says it should be, but is this dymo-connect-framework actually compatible with DYMO Label Software? It didn't seem to work when I tried it before. Maybe it only works with certain versions?
how can this be fixed ?
The cause of the issue is mentioned here. We need a fix for DYMO Connect. https://github.com/dymosoftware/dymo-connect-framework/issues/30#issuecomment-1012600893