Bug #13951
open[error] "WApplication: JavaScript error: {""error-description"":""Fatal error: failed loading /resources/themes/bootstrap/5/bootstrap.bundle.min.js""}"
0%
Description
Why does this happen when staring the example widgetgallery.wt
Popup window: Fatal error: failed loading /resources/themes/bootstrap/5/bootstrap.bundle.min.js
Firefox developer Tools Console
The resource from “http://127.0.0.1:9000/resources/moz-transitions.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The resource from “http://127.0.0.1:9000/resources/font-awesome/css/font-awesome.min.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The resource from “http://127.0.0.1:9000/resources/themes/bootstrap/5/bootstrap.bundle.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Output of exe
Option no-compression is implied because wthttp was built without zlib support.
[2025-Aug-30 11:33:16.869] 2924 - [info] "config: reading Wt config file: wt-4.12.0\examples\widgetgallery\approot/wt_config.xml (location = 'wt-4.12.0\build\examples\widgetgallery\Debug\widgetgallery.wt.exe')"
Option no-compression is implied because wthttp was built without zlib support.
[2025-Aug-30 11:33:16.875] 2924 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2025-Aug-30 11:33:27.454] 2924 - [info] "Wt: session created (#sessions = 1)"
[2025-Aug-30 11:33:27.457] 2924 [/ mRFy9Os9FYnX4vXX] [info] "WEnvironment: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
[2025-Aug-30 11:33:27.466] 2924 [/ mRFy9Os9FYnX4vXX] [warning] "WApplication: Deploy-path ends with '/', using /?= for internal paths"
[2025-Aug-30 11:33:27.601] 2924 - [info] "WebController: Removing session mRFy9Os9FYnX4vXX"
[2025-Aug-30 11:33:27.601] 2924 - [access] "wthttp: 127.0.0.1 GET / HTTP/1.1 302 0"
[2025-Aug-30 11:33:27.602] 2924 - [info] "WebRequest: took 149.329 ms"
[2025-Aug-30 11:33:27.602] 2924 - [info] "Wt: session created (#sessions = 1)"
[2025-Aug-30 11:33:27.604] 2924 [/ mG2nskeT8dPppNOp] [info] "WEnvironment: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
[2025-Aug-30 11:33:27.605] 2924 [/ mRFy9Os9FYnX4vXX] [info] "Wt: session destroyed (#sessions = 1)"
[2025-Aug-30 11:33:27.606] 2924 [/ mG2nskeT8dPppNOp] [warning] "WApplication: Deploy-path ends with '/', using /?= for internal paths"
[2025-Aug-30 11:33:27.704] 2924 [/ mG2nskeT8dPppNOp] [warning] "WMenu: unknown path: 'layout/'"
[2025-Aug-30 11:33:27.741] 2924 - [access] "wthttp: 127.0.0.1 GET /?_=/layout/ HTTP/1.1 200 33019"
[2025-Aug-30 11:33:27.741] 2924 - [info] "WebRequest: took 138.837 ms"
[2025-Aug-30 11:33:27.753] 2924 - [access] "wthttp: 127.0.0.1 GET /resources/moz-transitions.css HTTP/1.1 404 85"
[2025-Aug-30 11:33:27.753] 2924 - [access] "wthttp: 127.0.0.1 GET /resources/font-awesome/css/font-awesome.min.css HTTP/1.1 404 85"
[2025-Aug-30 11:33:27.754] 2924 - [access] "wthttp: 127.0.0.1 GET /resources/themes/bootstrap/5/bootstrap.bundle.min.js HTTP/1.1 404 85"
[2025-Aug-30 11:33:27.756] 2924 - [access] "wthttp: 127.0.0.1 GET /style/layout.css HTTP/1.1 200 341"
[2025-Aug-30 11:33:27.756] 2924 - [access] "wthttp: 127.0.0.1 GET /style/pygments.css HTTP/1.1 200 4024"
[2025-Aug-30 11:33:27.756] 2924 - [access] "wthttp: 127.0.0.1 GET /style/everywidget.css HTTP/1.1 200 3276"
[2025-Aug-30 11:33:27.756] 2924 - [access] "wthttp: 127.0.0.1 GET /style/filedrop.css HTTP/1.1 200 822"
[2025-Aug-30 11:33:27.756] 2924 - [access] "wthttp: 127.0.0.1 GET /style/widgetgallery.css HTTP/1.1 200 1727"
[2025-Aug-30 11:33:27.758] 2924 - [access] "wthttp: 127.0.0.1 GET /style/wt.css HTTP/1.1 200 231671"
[2025-Aug-30 11:33:27.763] 2924 - [access] "wthttp: 127.0.0.1 GET /icons/wt.png HTTP/1.1 200 2100"
[2025-Aug-30 11:33:27.831] 2924 - [access] "wthttp: 127.0.0.1 GET /?wtd=mG2nskeT8dPppNOp&sid=1767910478&webGL=true&scrW=3840&scrH=1600&tz=120&tzS=Europe%2FBerlin&htmlHistory=true&deployPath=%2F&request=script&rand=2827113461 HTTP/1.1 200 110293"
[2025-Aug-30 11:33:27.832] 2924 - [info] "WebRequest: took 12.38 ms"
[2025-Aug-30 11:33:27.841] 2924 - [info] "WebRequest: took 0.09 ms"
[2025-Aug-30 11:33:27.843] 2924 [/ mG2nskeT8dPppNOp] [info] "WebRequest: took 0.121 ms"
[2025-Aug-30 11:33:27.901] 2924 [/ mG2nskeT8dPppNOp] [info] "WebRequest: took 0.584 ms"
[2025-Aug-30 11:33:31.542] 2924 - [access] "wthttp: 127.0.0.1 GET /css/theme.css.map HTTP/1.1 404 85"
[2025-Aug-30 11:33:44.525] 2924 - [access] "wthttp: 127.0.0.1 GET /style/wt.css.map HTTP/1.1 200 683266"
[2025-Aug-30 11:34:17.846] 2924 [/ mG2nskeT8dPppNOp] [info] "WebRequest: took 0.287 ms"
[2025-Aug-30 11:35:07.847] 2924 [/ mG2nskeT8dPppNOp] [info] "WebRequest: took 0.219 ms"
[2025-Aug-30 11:35:57.862] 2924 [/ mG2nskeT8dPppNOp] [info] "WebRequest: took 0.248 ms"