sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

This may be a problem with a HTTPS certificate. Make sure you have the right certificate

Open ClausKramer opened this issue 7 years ago • 14 comments

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Additional article idea

Observed Behavior

We have the same issue as #3342 but unfortunately it was closed. Any updates on how to fix it ?

image

ClausKramer avatar May 01 '19 13:05 ClausKramer

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar May 01 '19 13:05 msft-github-bot

I realize now that this might be a duplicate, but it seems like non of the reported bugs was solved

ClausKramer avatar May 01 '19 17:05 ClausKramer

Are you running these from local host, or the public CDN, or your app catalog site, or ?

patmill avatar May 01 '19 22:05 patmill

the public CDN

ClausKramer avatar May 02 '19 06:05 ClausKramer

I have the same: https://github.com/SharePoint/sp-dev-docs/issues/3867

Saulius-Laurinaitis avatar May 02 '19 08:05 Saulius-Laurinaitis

Hi @ClausKramer / @Saulius-Laurinaitis - trying to help another dev diagnose this. Can you paste the full path to the asset that is failing? Feel free to change your tenant name in the path to "sharepoint.contoso.com" and your app catalog to "appCatalog"

Also - if you look in the debugging tools, what are the headers / response / etc. for the failed request?

patmill avatar May 03 '19 16:05 patmill

I was having this issue in IE only. Removing the following line from my SPFx solution and redeploying resolved the issue for me: import "core-js/es6/string";

rmunasinghe avatar May 06 '19 15:05 rmunasinghe

I'm not sure what that line would have to do with making a call to the CDN and getting a cert error. That seems strange.

patmill avatar May 06 '19 22:05 patmill

Hi @patmill, apologies for late reply, but I cannot reproduce it anymore. It was probably some outage in Office 365.

Thanks Saulius

Saulius-Laurinaitis avatar May 07 '19 14:05 Saulius-Laurinaitis

mine is fixed too - had to disable CDN to get to the real error message and realize that it was a problem with polyfills. Fixed the polyfill problem, enabled CDN again and problem solved.

ClausKramer avatar May 07 '19 21:05 ClausKramer

OK, closing. Thanks.

patmill avatar May 07 '19 22:05 patmill

Hi @ClausKramer Can you please tell me how did you fix polyfills issue.. its very urgent for me. For a long time I am searching the solution but no luck. Please help.

Rajrup-net avatar Sep 17 '19 08:09 Rajrup-net

Experiencing the same with one of my SPFx webparts, and can't figure out what's up.

Fails in IE11:

[SPLoaderError.loadComponentError]:
Failed to load component "2ef269b2-6370-4841-8b35-2185b7ccb22a" (ResourceAllocationWebPart). Original error: Failed to load URL 'https://publiccdn.sharepointonline.com/tenant.sharepoint.com/sites/app_catalog/ClientSideAssets/00483367-68e2-4977-9cc3-6cf0de623daa/resource-allocation-web-part_821bf477906cf3d1702021c1d70587a4.js' for resource 'resource-allocation-web-part' in component '2ef269b2-6370-4841-8b35-2185b7ccb22a' (ResourceAllocationWebPart). There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

INNERERROR:
Failed to load URL 'https://publiccdn.sharepointonline.com/tenant.sharepoint.com/sites/app_catalog/ClientSideAssets/00483367-68e2-4977-9cc3-6cf0de623daa/resource-allocation-web-part_821bf477906cf3d1702021c1d70587a4.js' for resource 'resource-allocation-web-part' in component '2ef269b2-6370-4841-8b35-2185b7ccb22a' (ResourceAllocationWebPart). There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
CALLSTACK:
Error
   at t._generateErrorStackForIE (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:4:53963)
   at t (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:4:53499)
   at t (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:20:118832)
   at e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:20:128525)
   at e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:20:124550)
   at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:20:115044)
   at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:1:16156)
   at F (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:1:16132)
   at C (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:1:15977)
   at B (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_nb-no_a2b78537eead54c03f6f852ce810da7f.js:1:15565)

cc @patmill

olemp avatar Dec 17 '19 11:12 olemp

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

msft-github-bot avatar Jan 24 '20 12:01 msft-github-bot