dymosoftware / dymo-connect-framework

DYMO Connect Framework for Javascript.
Other
86 stars 54 forks source link

What is the latest version to be used? #78

Open christatedavies opened 8 months ago

christatedavies commented 8 months ago

I have dymo framework 3. But I understand I need a DLS printing daemon to be running in order to print to the local printer.

I often get all sorts of CORS errors, but for a while now, I just cannot get the printer working at all.

I am running on Mac, and like I say. after a couple of refreshes, the site starts working. But recently, I cannot get it to get past the errors at all now.

The errors in the console are all like this: (And it does not matter what CSP I use on my site)

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41952/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41953/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41954/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41955/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41956/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41957/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41958/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:41959/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed). Status code: (null).

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). Status code: (null).

christatedavies commented 8 months ago

Incidentally, if I click on the first 127.0.0.1 link, I get true so I know the Dymo Connect Service is working