[Question] #5905
Unanswered
HuaxiaGoodBoy
asked this question in
Q&A
[Question]
#5905
Replies: 2 comments
-
|
flet version: 0.24.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Can you please try the latest pre-release and let know if the issue still happens? (0.24.0 is quite old/outdated at the moment 😅) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm developing a web app with Flet, but when I open it in the browser, the page fails to load. Here's the error log from the browser's console:
▶ Exception while loading service worker: Error: prepareServiceWorker took more than 4000ms to resolve. Moving on.
at flutter_bootstrap.js:1:2968
🔴 GET https://www.gstatic.com/flutter-canvaskit/db49896/../chromium/canvaskit.wasm net::ERR_CONNECTION_TIMED_OUT
🔴 Uncaught (in promise) TypeError: Failed to fetch
at g (flutter_bootstrap.js:1:601)
at flutter_bootstrap.js:1:2158
at I (flutter_bootstrap.js:1:22924)
at k.load (flutter_bootstrap.js:1:3234:4008)
🔴 GET https://www.gstatic.com/flutter-canvaskit/db49896/../chromium/canvaskit.js net::ERR_CONNECTION_TIMED_OUT
🔴 GET https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf net::ERR_CONNECTION_TIMED_OUT
🔴 Uncaught (in promise) null
It seems like the app is failing to fetch resources (Canvaskit, Roboto font) from gstatic.com. Is there a way to configure Flet to use alternative CDNs for these dependencies?
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions