Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Error loading some assets #545

Closed
2 tasks done
DH-555 opened this issue Sep 13, 2023 · 1 comment
Closed
2 tasks done

🐛 Bug Report: Error loading some assets #545

DH-555 opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DH-555
Copy link
Member

DH-555 commented Sep 13, 2023

👟 Reproduction steps

After some time, randomly, The console starts showing all texts underlined, and some elements like buttons are misformed. This seemed to be a Cloudflare caching issue, since after purging cache and deleting all browser data it started working again, but after setting a rule to override caching, the same error persists some times.

This happens in Firefox mainly and some times in chrome.

👍 Expected behavior

Obviously that should not happen

👎 Actual Behavior

Captura de pantalla 2023-09-13 120232

Errors and warnings being displayed in the browser console:

Realtime got disconnected. Reconnect will be attempted in 1 seconds. <empty string> [_layout.svelte.3d312bd3.js:5:164](https://dh-sw.net/_app/immutable/entry/_layout.svelte.3d312bd3.js)
    Immutable 3
        co
        createSocket
        i

Ignoring unsupported entryTypes: layout-shift.

The resource at “https://sdh-sw.net/fonts/inter/inter-v8-latin-600.woff2” preloaded with link preload was not used within a few seconds. Make sure all preload tag attributes are set correctly. platforms

The resource at “https://dh-sw.net/fonts/inter/inter-v8-latin-regular.woff2” preloaded with link preload was not used within a few seconds. Make sure all preload tag attributes are set correctly. platforms

The resource at “https://dh-sw.net/fonts/poppins/poppins-v19-latin-500.woff2” preloaded with link preload was not used within a few seconds. Make sure all preload tag attributes are set correctly. platforms

The resource at “https://dh-sw.net/fonts/poppins/poppins-v19-latin-600.woff2” preloaded with link preload was not used within a few seconds. Make sure all preload tag attributes are set correctly. platforms

The resource at “https://dh-sw.net/fonts/poppins/poppins-v19-latin-700.woff2” preloaded with link preload was not used within a few seconds. Make sure all preload tag attributes are set correctly. platforms

The resource at “https://dh-sw.net/fonts/source-code-pro/source-code-pro-v20-latin-regular.woff2” preloaded with link preload was not used within a few seconds . Make sure all preload tag attributes are set correctly.

🎲 Appwrite version

Version 1.3.x

💻 Operating system

Windows

🧱 Your Environment

Cloudflare, Ubuntu server (latest version), Firefox

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@DH-555 DH-555 added the bug Something isn't working label Sep 13, 2023
@stnguyen90 stnguyen90 changed the title 🐛 Bug Report: 🐛 Bug Report: Error loading some assets Sep 19, 2023
@DH-555
Copy link
Member Author

DH-555 commented Apr 2, 2024

The problem is Cloudflare's minification feature.

Disabling minification for CSS and JS for the Appwrite console in Cloudflare solves the issue

@DH-555 DH-555 closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant