New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking requests might not be loaded because of CORB #17159
Comments
@tsteur I'm not very deep into CORS/CORB, but based on the description CORB is only applied for this type of content: JSON, HTML, XML. According to your screenshot, the bulk request returns a json, with http 200. Maybe the response type is the problem in that case. BulkTracking currently has it's own response handler, which always uses json. See https://github.com/matomo-org/matomo/blob/4.x-dev/plugins/BulkTracking/Tracker/Response.php |
I reckon to solve this issue be great if it also supported The |
We are still having this issue even when using latest matomo.js script |
@segersrobbert are you using the latest version of Matomo? In case you are, is there any chance you can post a link to where we can reproduce this? |
Hello, Tried it on Firefox : get the same answer |
I have the same issue. Usind version 4.10.1 matomo.js:35 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://... with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details. |
In the browser developer console I see a warning linking to https://www.chromestatus.com/feature/5629709824032768 anyone seen this before?
See https://www.chromium.org/Home/chromium-security/corb-for-developers for more information.
HTTP with 204 seems to work but 200 blocked.
send_image=0
is used so it should have sent an HTTP 204 header. Actually... this output happens because of bulk requests. The request with HTTP 200 was sent as a bulk request in this example.response headers:
The console warning reads
Cross-Origin Read Blocking (CORB) blocked cross-origin response XYZ with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
For a URL where this can be reproduced feel free to ping me privately. I'm not sure if the tracking request will be executed or if just the response is not loaded.
Goal of this issue is to make sure such requests are tracked and the warning is no longer shown.
The text was updated successfully, but these errors were encountered: