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
Plnkrs not working on site #1129
Comments
Duplicate of #1120 We are currently working on fixing this, but meanwhile clearing the cache is the way to go. |
The problem should go away by itself as the browser cache expires. Let us know if this is not the case. |
Clearing the cache is no longer working for me. It worked the first day, but I have tried several times today. I opened the site in incognito mode and with IE 11 (which should have nothing cached because I never use it) and still get the console errors and an endless spinner.
From: Tsvetomir Tsonev [mailto:notifications@github.com]
Sent: Monday, December 4, 2017 12:25 AM
To: telerik/kendo-angular <kendo-angular@noreply.github.com>
Cc: Laura Slocum <LSlocum@symplr.com>; Author <author@noreply.github.com>
Subject: Re: [telerik/kendo-angular] Plnkrs not working on site (#1129)
The problem should go away by itself as the browser cache expires. Let us know if this is not the case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1129 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ASzaVrxAObQlEfY65CSNEDBlcRZaI8h7ks5s85BMgaJpZM4Qy0g0>.
|
@lslocum thanks for getting back. I think we finally figured it out - we needed a "Vary: Origin" header to make sure the browser caches the correct origin. You might still need to clear the cache once more or wait for it to expire (4 hours). But after that, it should be fine. |
Okay, that was a bit rushed - the issue is still reproducible in Chrome. |
Fixed at last. Thank you for the patience. |
It is working for me now. Thanks! |
I am experiencing this exact error now in Chrome. |
@aliawilkinson can you share the plunkr URL? |
I'm submitting a...Support Request
Current behavior
When opening a plnkr from your site the plnkr never loads and console errors are thrown.
Expected behavior
The plnkr loads
Minimal reproduction of the problem with instructions
xhr construction TypeError: window.XDomainRequest is not a constructor at Object.t.ajax (jstag?nc=15184186-Freestar_RON:12) at n.B.load (jstag?nc=15184186-Freestar_RON:12) at Object.<anonymous> (jstag?nc=15184186-Freestar_RON:12) at Object.n [as tryCatch] (jstag?nc=15184186-Freestar_RON:12) at jstag?nc=15184186-Freestar_RON:12 at new Promise (<anonymous>) at jstag?nc=15184186-Freestar_RON:12 at Array.map (<anonymous>) at Object.t._map (jstag?nc=15184186-Freestar_RON:12) at i (jstag?nc=15184186-Freestar_RON:12)
Failed to load https://www.telerik.com/kendo-angular-ui/npm/node_modules/@progress/kendo-angular-grid/dist/cdn/js/kendo-angular-grid.js: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://run.plnkr.co' is therefore not allowed access.
Error: Error: XHR error loading https://www.telerik.com/kendo-angular-ui/npm/node_modules/@progress/kendo-angular-grid/dist/cdn/js/kendo-angular-grid.js at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.8.12/dist/zone.js:424:31) at Zone.runTask (https://unpkg.com/zone.js@0.8.12/dist/zone.js:191:47) at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.8.12/dist/zone.js:486:38) Error loading https://www.telerik.com/kendo-angular-ui/npm/node_modules/@progress/kendo-angular-grid/dist/cdn/js/kendo-angular-grid.js as "@progress/kendo-angular-grid" from http://run.plnkr.co/IBg0heqrlTPeDYzg/app/ng.module.ts
What is the motivation or use case for changing the behavior?
Trying to play with our examples before I implement them in my code.
Environment
Package versions: n/a
Browser:
Only tested with
System: n/a
The text was updated successfully, but these errors were encountered: