No mail displayed in roundcube (The resource at "https://.../webmail/static.php/program/js/jquery.min.js" was blocked because of an incorrect MIME type ("text/html") (X-Content-Type-Options: nosniff).)

What app is this about, and its version: 1.7.2~ynh1
What YunoHost version are you running: 12.1.40.1 (stable)
What type of hardware are you using: Old laptop or computer

Describe your issue

Français

Bonjour,

Depuis récemment, j’ai un problème avec Roundcube sur mon instance YunoHost.

La page de connexion s’affiche correctement et je peux me connecter, mais aucun e-mail ne se charge ensuite (boîte de réception vide, interface incomplète).

Dans la console du navigateur, j’ai notamment cette erreur :

La ressource à l’adresse « https://.../webmail/static.php/program/js/jquery.min.js » a été bloquée en raison d’un type MIME (« text/html ») incorrect (X-Content-Type-Options: nosniff).

Il semble que static.php renvoie une page HTML au lieu du fichier JavaScript attendu.

Est-ce que quelqu’un a déjà rencontré ce problème récemment sur YunoHost ou aurait une piste pour le diagnostiquer ?

Merci d’avance !


English

Hello,

I’m experiencing an issue with Roundcube on my YunoHost server.

The login page loads correctly and I can log in, but no emails are displayed afterwards (empty mailbox / incomplete interface).

The browser console shows the following error:

The resource at "https://.../webmail/static.php/program/js/jquery.min.js" was blocked because of an incorrect MIME type ("text/html") (X-Content-Type-Options: nosniff).

It looks like static.php is returning an HTML page instead of the expected JavaScript file.

Has anyone experienced this issue recently on YunoHost, or has any idea what could cause it?

Thanks!

1 Like

Solved by uninstalling & reinstalling the app…

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.