Client-side CORB Warning
See original GitHub issueWe use this keen-tracking package to stream events directly from client-side browsers. Since recently this warning has been showing up:
Cross-Origin Read Blocking (CORB) blocked cross-origin response <KEEN API URL> with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Anything we can do from our side to fix and/or circumvent it?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
CORS - Is it a client-side thing, a server-side ... - Stack Overflow
CORS is applied to requests when an Origin header is included in the request. This includes requests made from JavaScript and POST requests....
Read more >Handling CORS in Web Applications - How-To Geek
Although CORS is a browser technology, you can't directly influence it with client-side code. This prevents malicious scripts from side-stepping ...
Read more >CORS errors - HTTP - MDN Web Docs - Mozilla
If the CORS configuration isn't setup correctly, the browser console will present an error like "Cross-Origin Request Blocked: The Same Origin ...
Read more >Understanding and Resolving CORS Error - Contentstack
CORS is implemented on the server-side; it cannot be reconfigured on the client-side. The CORS behavior, commonly termed as CORS error, is a...
Read more >Fixing Common Problems with CORS and JavaScript
It suggests two solutions. The second suggestion is to change the mode from cors to no-cors in the JavaScript fetch request. This is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @vliegenthart
Actually the fixing for this issue is currently not on our roadmap due to other initiatives - especially having in mind that the discussion about
beaconAPI
is still open for different browsers (Mozilla) and it could change in near future.The error about CORB should not affect the page that using Keen-Tracking and all events should be sent to correctly.
We’ll try to address that issue as soon as it will be possible - by adding support to
keepAlive
flag - however the issue mentioned earlier (Bug) must be resolved to deliver a full working solution.Hi @DroidUnknown, Could You please specify if the
request
orresponses
are blocked ? Based on specificationCORB
prevents the browser from delivering cross-origin network responses. So all of events should be delivered correctly to Keen platform.