-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Expected behavior
Have a working frontend without any error messages or broken functionality (which can be restored by reverting gsa back to 26.4.0).
Actual behavior
Experience error message / broken functionality with 26.4.1 in the form of:
TypeError: Failed to fetch dynamically imported module: https://greenbone.example.com/assets/TaskListPage-Dspqt6Wv.js
at Lazy
at RenderedRoute (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:146671)
at Routes (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:150267)
at Suspense
at ErrorBoundary (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:117373)
at https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:117120
at div
at O2 (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:35776)
at main
at O2 (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:35776)
at div
at https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:692592
at O2 (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:35776)
at Page (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:211226)
at Authorized (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:176603)
at LoggedInRoutes
at Router (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:148832)
at BrowserRouter (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:162536)
at AppRoutes (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:248573)
at LanguageProvider (https://greenbone.example.com/assets/index-CG4n-ZZl.js:15:17887)
at Provider_default (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:101474)
at QueryClientProvider (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:81595)
at ErrorBoundary (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:117373)
at https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:117120
at MantineThemeProvider (https://greenbone.example.com/assets/greenbone-ui-lib-DvtXyryr.js:40:178482)
at MantineProvider (https://greenbone.example.com/assets/greenbone-ui-lib-DvtXyryr.js:40:192264)
at ThemeProvider (https://greenbone.example.com/assets/greenbone-ui-lib-DvtXyryr.js:40:627330)
at App (https://greenbone.example.com/assets/index-CG4n-ZZl.js:21:297077)
at Ye (https://greenbone.example.com/assets/index-CG4n-ZZl.js:2:30197)
TypeError: Failed to fetch dynamically imported module: https://greenbone.example.com/assets/TaskListPage-Dspqt6Wv.js
In the nginx error log I can see various errors like:
2025/11/14 13:11:42 [error] 890909#890909: *1 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: greenbone.example.com, request: "GET /assets/EditIcon-BBWWpnpV.js HTTP/2.0", upstream: "http://127.0.0.1:9392/assets/EditIcon-BBWWpnpV.js", host: "greenbone.example.com"
2025/11/14 13:11:42 [error] 890909#890909: *1 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: greenbone.example.com, request: "GET /assets/TrashIcon-BLNAAR_b.js HTTP/2.0", upstream: "http://127.0.0.1:9392/assets/TrashIcon-BLNAAR_b.js", host: "greenbone.example.com"
when that happens, however trying to mess with nginx timeout/buffer settings (e.g. https://www.uptimia.com/questions/how-to-fix-nginx-upstream-prematurely-closed-connection-while-reading-response-header-from-upstream-error) didn't work for me.
When reloading the page, sometimes multiple times, it starts to work however when accessing it again in a private browser window the issue reappears, probably until everything has been cached by the browser.
Observation, not sure if something went wrong and are related or things have just changed and splitted into individual files probably causing the issue, there's a huge difference is the amount of files content of the -dist tarballs:
- gsa-dist-26.4.0.tar.gz contains an assets directory with 10 (big) files
- gsa-dist-26.4.1.tar.gz contains an assets directory with 664 (small) files
Steps to reproduce
- gsad 24.9.0 with gsa 26.4.1
GVM versions
gsa: 24.9.0
gvm: 26.8.0
openvas-scanner: 23.31.2
gvm-libs: 22.31.1
Environment
Operating system: Exherbo Linux
Installation method / source: Source-based packages