harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.65k stars 105 forks source link

Unlighthouse stuck at "Waiting for routes..." screen #194

Closed nekromoff closed 3 months ago

nekromoff commented 4 months ago

Describe the bug

Describe the bug

unlighthouse dashboard does not load any data, and no error message at all is ever displayed, when using on a Linux distribution with Chromium installed. The default browser on this machine is Firefox.

The problem happens regardless of the website scanned.

npx unlighthouse --site https://ambience.sk
ℹ Using system chrome located at: /usr/bin/chromium-browser.                                             Unlighthouse 6:22:16 AM
✔ Successfully connected to https://ambience.sk. (Status: 200).                                          Unlighthouse 6:22:17 AM
ℹ Found /robots.txt, using entries. Sitemaps: 1, Groups: 1.                                              Unlighthouse 6:22:19 AM
ℹ Discovered 118 routes from 1 sitemap.                                                                  Unlighthouse 6:22:22 AM
ℹ Disabling crawler mode as sitemap has been provided.                                                   Unlighthouse 6:22:22 AM

Nothing happens. This screenshot was taken after 3 minutes: image

Reproduction

No response

System / Nuxt Info

System:
OS: Linux 6.5 KDE neon 5.27
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.5.1 - /usr/bin/node
npm: 9.8.1 - /usr/local/bin/npm
Browsers:
Brave Browser: XXXXXXX

(clearly this fails as well as there are other 3 browsers installed, however no Chrome, only Chromium)
harlan-zw commented 3 months ago

Hi, please try the latest version (v0.11)

nekromoff commented 3 months ago

Downloaded the latest version.

Browser correctly located:

ℹ Using system chrome located at: /usr/bin/chromium-browser.

However, it is still hanging (screenshotted after 2:30 mins): image

This goes on indefinitely:

⚙ GET /favicon.ico 200 undefined - 0ms                                                              unlighthouse-api 12:50:39 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:50:39 PM
⚙ GET /api/reports 200 object - 0ms                                                                 unlighthouse-api 12:50:39 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:50:44 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:50:49 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:50:54 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:50:59 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:04 PM
⚙ GET /api/scan-meta 200 object - 1ms                                                               unlighthouse-api 12:51:09 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:14 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:19 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:24 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:29 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:34 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:39 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:44 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:50 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:51:55 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:00 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:05 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:10 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:15 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:20 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:25 PM
⚙ GET /api/scan-meta 200 object - 0ms                                                               unlighthouse-api 12:52:30 PM

Routes have been correctly identified:

Urlset found during "crawl('https://ambience.sk/post-sitemap.xml')"
Urlset found during "crawl('https://ambience.sk/page-sitemap.xml')"
⚙ Fetched https://ambience.sk/sitemap_index.xml with 118 URLs.                                          Unlighthouse 12:50:38 PM
ℹ Discovered 118 routes from 1 sitemap.                                                                 Unlighthouse 12:50:38 PM
ℹ Disabling crawler mode as sitemap has been provided.                                                  Unlighthouse 12:50:38 PM
⚙ Resolved reportable routes 118                                                                        Unlighthouse 12:50:38 PM
...
[snip]
...
[Unlighthouse 12:50:38 PM] ⚙ Route has been queued. Path: /realistic-games-with-3d-satellite-photos/ Name: realistic-games-with-3d-satellite-photos.
[Unlighthouse 12:50:38 PM] ⚙ Route has been queued. Path: /recommended-ethio-jazz-tracks-music-from-ethiopia/ Name: recommended-ethio-jazz-tracks-music-from-ethiopia.
[Unlighthouse 12:50:38 PM] ⚙ Route has been queued. Path: /retro-games-from-1980s-czechoslovakia/ Name: retro-games-from-1980s-czechoslovakia.