umbraco-community / Umbraco.Community.Sustainability

A package from the Umbraco Community Sustainability Team which helps developers and editors see and improve the carbon impact of their websites.
MIT License
9 stars 9 forks source link

ERR_CERT_AUTHORITY_INVALID Playwright #51

Open wpplumber opened 2 days ago

wpplumber commented 2 days ago

Which Umbraco.Community.Sustainability version are you using?

2.0.5

Which Umbraco version are you using? For example: 10.8.0 - don't just write v10

14.2.0

Bug summary

Running report on home page shows error below:

[12:43:53 INF] Loading content from database [Timing 3b9f0e1]
[12:43:55 INF] Completed. (1533ms) [Timing 3b9f0e1]
[12:43:55 INF] Loading media from database [Timing 9b73017]
[12:43:55 INF] Completed. (119ms) [Timing 9b73017]
[12:43:55 INF] Adding examine event handlers for 3 index providers.
[12:44:13 WRN] No physical template file was found for document type with alias home
[12:44:44 INF] Document Home (id=1078) has been published.
[12:45:12 ERR] An unhandled exception has occurred while executing the request.
Microsoft.Playwright.PlaywrightException: net::ERR_CERT_AUTHORITY_INVALID at https://localhost:5001/
Call log:
  - navigating to "https://localhost:5001/", waiting until "domcontentloaded"
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](ChannelOwner object, String method, Dictionary`2 dictionary, Boolean keepNulls) in /_/src/Playwright/Transport/Connection.cs:line 206

Steps to reproduce

  1. Install Umbraco 14 on Mac OS.
  2. Create simple home page.
  3. Install package.
  4. Run report on the home page.
  5. Error raised on terminal!

Expected result / actual result

No response