yireo / Yireo_GoogleTagManager2

Open Software License 3.0
148 stars 76 forks source link

Connection error - checkout is blank #166

Closed richardreen closed 1 year ago

richardreen commented 1 year ago

When I use the Yireo_GoogleTagManageer2 is have a almost blank checkout page and in the logging the following error:

js?key=AIzaSyAnoKkmzEZQibgJbaxsAvQ_nn0NRbRiXfI&language=nl-NL&libraries=places&callback=swissupMapsLoaded:460 [Report Only] Refused to connect to 'https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true' because it violates the following Content Security Policy directive: "connect-src dpm.demdex.net amcglobal.sc.omtrdc.net www.google-analytics.com www.googleadservices.com analytics.google.com www.googletagmanager.com .newrelic.com .nr-data.net vimeo.com geostag.cardinalcommerce.com geo.cardinalcommerce.com 1eafstag.cardinalcommerce.com 1eaf.cardinalcommerce.com centinelapistag.cardinalcommerce.com centinelapi.cardinalcommerce.com www.sandbox.paypal.com www.paypalobjects.com www.paypal.com pilot-payflowlink.paypal.com https://get.geojs.io .avada.io api.braintreegateway.com api.sandbox.braintreegateway.com client-analytics.braintreegateway.com client-analytics.sandbox.braintreegateway.com .braintree-api.com .paypal.com .cardinalcommerce.com bankauswahl.giropay.de bankauswahl.girocheckout.de cdn.ampproject.org www.googleapis.com .trustedshops.com .etrusted.com .google-analytics.com .analytics.google.com *.googletagmanager.com 'self' 'unsafe-inline'".

Screenprint:

Scherm­afbeelding 2023-06-21 om 11 19 29

When I disable this extension all is working normal again. I am using the latest version of this extension.

jissereitsma commented 1 year ago

The error reports Refused to connect to 'https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true'. This GoogleTagManager module does not ship with Google Maps. If you can find the module in your Magento shop, disable that module, and try again. I don't think this error message is related to our module.

richardreen commented 1 year ago

I suspect it is, because when I disable this module the error is gone and all is working normal again. And....when I used version 3.4.1. (the previous one) then it is also working normal!!

jissereitsma commented 1 year ago

As of yet, I have tested this in various sites and I found no issue in those with the latest version 3.4.2. Unless you are able to dive deeper, or somebody else, this ticket will just remain inactive.

richardreen commented 1 year ago

Actually this was not the error that caused the not showing of the checkout page.I disabeled the yireo googletagmanager2 and then checkout is working normal again. But this  error message is still there. So it was not relatering the end. But that extension is part of the problem and only in the latest version (3.4.2). Other versions are not giving this problem.Verstuurd vanaf mijn iPadOp 22 jun. 2023 om 10:16 heeft Jisse Reitsma @.***> het volgende geschreven: The error reports Refused to connect to 'https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true'. This GoogleTagManager module does not ship with Google Maps. If you can find the module in your Magento shop, disable that module, and try again. I don't think this error message is related to our module.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jissereitsma commented 1 year ago

Understood. Unfortunately, I'm not able to reproduce this. So this either related to something custom on your site, or to an unknown parameter. I'm not sure what to do as a volunteer here.

richardreen commented 1 year ago

After installing of version 3.4.3 the issue is also gone, checkout is working normal with this version.

jissereitsma commented 1 year ago

Good to hear. I'll close this issue then for now.