SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Extension is not working with CDN #1903

Closed LWesterfeld closed 5 years ago

LWesterfeld commented 6 years ago

I was trying to host this extension from a Office 365 CDN. The extension itself was working properly with the local host running, but this this changes to the cdnBasePath made them not Rendering anymore. I'm getting this Errors in the console: (german) ( SCRIPT5022: No define call for as http://requirejs.org/docs/errors.html#nodefinerequire-951f856e.js (1,1661) HTTP500: SERVERFEHLER: Es ist ein unerwarteter Zustand aufgetreten, sodass der Server die Anforderung nicht erfüllen kann. GET - https://publiccdn.sharepointonline.com/xxxxxxxxxxx.sharepoint.com/sites/new/CDN/helloworld/app-extension-helloworldapplicationcustomizerstrings_en-us_7949d2dd8f4ed55ec12a8877766f5523.js 2 SEC7120: Der Ursprung https://xxxxxxxxxxx.sharepoint.com wurde im Access-Control-Allow-Origin-Header nicht gefunden. The icon "custom" was used but not registered. See http://aka.ms/fabric-icon-usage for more information. spofiles-mini-c025e308.js(1,88278) SEC7120: Der Ursprung https://xxxxxxxxx.sharepoint.com wurde im Access-Control-Allow-Origin-Header nicht gefunden. HTTP500: SERVERFEHLER: Es ist ein unerwarteter Zustand aufgetreten, sodass der Server die Anforderung nicht erfüllen kann. GET - https://publiccdn.sharepointonline.com/xxxxxxxxxxx.sharepoint.com/sites/new/CDN/helloworld/app-extension-helloworldapplicationcustomizerstrings_en-us_7949d2dd8f4ed55ec12a8877766f5523.js SEC7120: Der Ursprung https://xxxxxxxxxxx.sharepoint.com wurde im Access-Control-Allow-Origin-Header nicht gefunden. (translated to english) HTTP500: SERVERERROR: There was a unexpected condition, so the server could not solve the request. GET - https://publiccdn.sharepointonline.com/xxxxxxxxxxx.sharepoint.com/sites/new/CDN/helloworld/app-extension-helloworldapplicationcustomizerstrings_en-us_7949d2dd8f4ed55ec12a8877766f5523.js SEC7120: The source https://xxxxxxxxxxx.sharepoint.com was not found in the Access-Control-Allow-Origin-Header


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

andrewconnell commented 5 years ago

Is this issue still present? I’m unable to repro... as it’s over a year old, it’s likely been fixed if it was broken...

msft-github-bot commented 5 years ago

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.

msft-github-bot commented 5 years ago

Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.

msft-github-bot commented 4 years ago

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues