# ÉCHEC DE VÉRIFICATION DE LA DEMANDE Pour votre protection, l’accès à cette ressource est protégé contre les attaques CSRF N° 2

**URL:** <https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960>\
**Category:** Support apps\
**Tags:** update, upgrade, roundcube, bug, french\
**Created:** [September 8, 2026, 10:02am UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960 "2026-09-08T10:02:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JfmbLinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jfmblinux/32/11238_2.png) [@JfmbLinux](https://forum.yunohost.org/u/JfmbLinux)\
**Post date:** [September 8, 2026, 10:02am UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/1 "2026-09-08T10:02:37Z")

</div>

### I have searched the forum for similar issues

on

### This category is for issues regarding specific apps, _NOT_ general issues with YunoHost.

on

### This form is written in English but feel free to write in French if you’re more comfortable!

on

### What app is this about, and its version

Roundcube 1.7.4~ynh1

### What YunoHost version are you running

YunoHost 12.1.41.2 (stable)

### What type of hardware are you using

VPS bought online

### Describe your issue

Bonjour  
Je viens de faire la mise à jour de Roundcube 1.7.3~ynh1 vers la version 1.7.4~ynh1.  
La mise à jour s’est faite sans problème, mis à part cet avertissement (en titre) qui revient.  
Ok ! Pas de soucis, j’ai donc repris cette solution pour résoudre le problème :

> [@ÉCHEC DE VÉRIFICATION DE LA DEMANDE Pour votre protection, l’accès à cette ressource est protégé contre les attaques CSRF](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf/42591/2):
>
> Hello, Ton problème est probablement le même que ce bugreport: Le workaround proposé n’est que très partiel, l’upgrade n’est probalement pas complète…

Mais, ça coince :

> root@xxxxxxxxxxxxxxxxxxxx:cd /var/www/roundcube  
> root@xxxxxxxxxxxxxxxxxxxx:/var/www/roundcube# php8.5 ./bin/install-jsdeps.sh -v  
> Fetching [https://code.jquery.com/jquery-3.7.1.min.js](https://code.jquery.com/jquery-3.7.1.min.js)  
> Installing jQuery…  
> Wrote file /var/www/roundcube/program/js/jquery.min.js  
> Done.  
> Fetching [https://raw.githubusercontent.com/diafygi/publickeyjs/0e011cb1/publickey.js](https://raw.githubusercontent.com/diafygi/publickeyjs/0e011cb1/publickey.js)  
> Installing PublicKey.js…  
> Wrote file /var/www/roundcube/program/js/publickey.js  
> Done.  
> Fetching [https://download.tiny.cloud/tinymce/community/tinymce\_5.10.9.zip](https://download.tiny.cloud/tinymce/community/tinymce_5.10.9.zip)  
> Installing tinymce…  
> Extracting /var/www/roundcube/temp/js\_cache/tinymce-5.10.9.zip into /var/www/roundcube/temp/js\_cache/tinymce-extract  
> Installing /var/www/roundcube/temp/js\_cache/tinymce-extract/tinymce/js/tinymce into /var/www/roundcube/program/js/tinymce  
> Done.  
> Fetching [https://download.tiny.cloud/tinymce/community/languagepacks/5/langs.zip?v=5.10.9](https://download.tiny.cloud/tinymce/community/languagepacks/5/langs.zip?v=5.10.9)  
> Installing tinymce-langs…  
> Extracting /var/www/roundcube/temp/js\_cache/tinymce-langs-5.10.9.zip into /var/www/roundcube/program/js/tinymce  
> Done.  
> Fetching [https://cdn.jsdelivr.net/npm/openpgp@6.3.0/dist/openpgp.min.js](https://cdn.jsdelivr.net/npm/openpgp@6.3.0/dist/openpgp.min.js)  
> Installing OpenPGP.js…  
> Wrote file /var/www/roundcube/plugins/enigma/openpgp.min.js  
> Done.  
> ➡ Fetching [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip)  
> ❌ ERROR: Failed to download source file from [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip) 🤨

Ma question est, existe t-il un autre moyen de régler ce problème.  
Si oui, comment procéder ?

Merci

### Share relevant logs or error messages

Le messages d’erreur :

> ➡ Fetching [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip)  
> ❌ ERROR: Failed to download source file from [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip) 🤨  
> root@xxxxxxxxxxxxxxxxxxxx:/var/www/roundcube#

---

<div class="post-metadata">

**Author:** ![JfmbLinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jfmblinux/32/11238_2.png) [@JfmbLinux](https://forum.yunohost.org/u/JfmbLinux)\
**Post date:** [September 8, 2026, 11:34am UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/2 "2026-09-08T11:34:07Z")

</div>

Du coup, j’ai voulu faire une réinstallation au propre, mais la même erreur se présente :

> 2026-09-08 12:44:14,861: DEBUG - Fetching [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip)  
> 2026-09-08 12:46:24,499: WARNING - ERROR: Failed to download source file from [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip)

[https://paste.yunohost.org/raw/idugexonek](https://paste.yunohost.org/raw/idugexonek)

Je vais donc faire une restauration de la version précédente.  
Et en attendant, je vais chercher pour trouver une solution.

---

<div class="post-metadata">

**Author:** ![artlog](https://forum.yunohost.org/user_avatar/forum.yunohost.org/artlog/32/12399_2.png) [@artlog](https://forum.yunohost.org/u/artlog)\
**Post date:** [September 8, 2026, 12:20pm UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/3 "2026-09-08T12:20:04Z")

</div>

> [@JfmbLinux](#):
>
> 2026-09-08 12:46:24,499: WARNING - ERROR: Failed to download source file from [https://codemirror.net/codemirror-5.58.3.zip](https://codemirror.net/codemirror-5.58.3.zip)

faisant

```auto
wget https://codemirror.net/codemirror-5.58.3.zip

```

cela fonctionne, donc je suppose que c’est un problème temporaire réseau ou serveur côté codemirror …

---

<div class="post-metadata">

**Author:** ![JfmbLinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jfmblinux/32/11238_2.png) [@JfmbLinux](https://forum.yunohost.org/u/JfmbLinux)\
**Post date:** [September 8, 2026, 12:54pm UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/4 "2026-09-08T12:54:01Z")

</div>

Non, ça ne fonctionne pas, j’ai déjà essayé, mais merci 😉.  
De plus `codemirror-5.58.3.zip` n’est pas la dernière version, j’ai voulu voir avec les versions suivantes :

> codemirror-5.59.0.zip  
> codemirror-5.59.1.zip  
> codemirror-5.59.2.zip  
> Je pensais que la version `codemirror-5.58.3.zip` n’était plus présente, avait été enlevée du serveur `codemirror.net`.  
> Pareil, aucune réaction.

---

<div class="post-metadata">

**Author:** ![JfmbLinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jfmblinux/32/11238_2.png) [@JfmbLinux](https://forum.yunohost.org/u/JfmbLinux)\
**Post date:** [September 8, 2026, 1:18pm UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/5 "2026-09-08T13:18:44Z")

</div>

Finalement, j’ai fini par trouver une solution (enfin, chez-moi), ce n’est peut-être pas la meilleure solution 😅

J’ai supprimé Roundcube version 1.7.4~ynh1.  
Effectué une restauration de la version précédente.  
Fait une sauvegarde du fichier “jquery.min.js” vers un dossier (backup\_rcube) que j’ai créé.

```auto
cd /var/www/roundcube/program/js && cp jquery.min.js /backup_rcube

```

Lancé à nouveau la mise à jour.  
Copié le fichier sauvegardé “jquery.min.js”.

```auto
cd /backup_rcube/ && cp jquery.min.js /var/www/roundcube/program/js

```

Réattribué les mêmes droits, on ne sait jamais 😜

```auto
chmod 640 jquery.min.js
chown roundcube:roundcube jquery.min.js

```

Redémarré ces services.

```auto
systemctl restart nginx
systemctl restart php8.5-fpm.service

```

Voilà, je ne sais pas si c’est la bonne solution, mais ça fonctionne 😅

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [September 23, 2026, 1:19pm UTC](https://forum.yunohost.org/t/echec-de-verification-de-la-demande-pour-votre-protection-l-acces-a-cette-ressource-est-protege-contre-les-attaques-csrf-n-2/42960/6 "2026-09-23T13:19:12Z")

</div>

Closed on September 23, 2026, 1:19pm UTC

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