Erreur lors de la reconstruction. Impossible de récupérer depuis https://rubygems.org

I, [2025-08-20T00:54:01.539535 #1]  INFO -- : cd /var/www/discourse & su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
Network error while fetching
https://rubygems.org/quick/Marshal.4.8/actionmailer-8.0.2.1.gemspec.rz
(Connection reset by peer - SSL_connect)
I, [2025-08-20T00:55:20.805323 #1]  INFO -- : Fetching source index from https://rubygems.org/

I, [2025-08-20T00:55:20.805729 #1]  INFO -- : Terminating async processes
I, [2025-08-20T00:55:20.805829 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main pid: 45
I, [2025-08-20T00:55:20.805864 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 112
2025-08-20 00:55:20.805 UTC [45] LOG:  received fast shutdown request
112:signal-handler (1755651320) Received SIGTERM scheduling shutdown...
2025-08-20 00:55:20.807 UTC [45] LOG:  aborting any active transactions
2025-08-20 00:55:20.809 UTC [45] LOG:  background worker "logical replication launcher" (PID 59) exited with exit code 1
2025-08-20 00:55:20.811 UTC [54] LOG:  shutting down
2025-08-20 00:55:20.812 UTC [54] LOG:  checkpoint starting: shutdown immediate
2025-08-20 00:55:20.823 UTC [54] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.001 s, total=0.012 s; sync files=4, longest=0.001 s, average=0.001 s; distance=7 kB, estimate=7 kB
2025-08-20 00:55:20.857 UTC [45] LOG:  database system is shut down
112:M 20 Aug 2025 00:55:20.858 # User requested shutdown...
112:M 20 Aug 2025 00:55:20.858 * Saving the final RDB snapshot before exiting.
112:M 20 Aug 2025 00:55:22.520 * DB saved on disk
112:M 20 Aug 2025 00:55:22.520 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3' failed with return #<Process::Status: pid 624 exit 17>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'", "su discourse -c 'bundle clean'", "su discourse -c 'find /var/www/discourse/vendor/bundle -name cache -not -path \"*/gems/*\" -type d -exec rm -rf {} +'", "su discourse -c 'find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +'"]}
bootstrap failed with exit code 17
---
HINT: Le plugin 'discourse-solved' est maintenant inclus dans Discourse et ne doit pas être inclus dans la configuration de votre conteneur.
Supprimez la ligne 'git clone https://github.com/discourse/discourse-solved' de votre fichier containers/app.yml, puis réessayez.
Pour plus d'informations, voir https://meta.discourse.org/t/373574
---
** ÉCHEC DU DÉMARRAGE ** veuillez faire défiler vers le haut et rechercher les messages d'erreur précédents, il peut y en avoir plusieurs.
./discourse-doctor peut aider à diagnostiquer le problème.
af0ad4d6a7b7ec9f294c77b10703fd986bbd12e49b701b828199fc77ee643d61
root@LAMASTER:/var/discourse# 

Avez-vous essayé de faire cela et de relancer la reconstruction ?

Oui, plusieurs fois. :rofl: J’essaie pendant 10 heures.

root@LAMASTER:~# curl -v https://rubygems.org
*   Tentative de connexion à 151.101.1.227:443...
* Connecté à rubygems.org (151.101.1.227) port 443 (#0)
* ALPN : propose h2,http/1.1
* TLSv1.3 (SORTANT), handshake TLS, Client hello (1) :
* Échec d'envoi : connexion réinitialisée par l'homologue
*  CAfile : /etc/ssl/certs/ca-certificates.crt
*  CApath : /etc/ssl/certs
* OpenSSL SSL_connect : connexion réinitialisée par l'homologue dans la connexion à rubygems.org:443 
* Fermeture de la connexion 0
* Échec d'envoi : rupture de canal
curl: (35) Échec d'envoi : connexion réinitialisée par l'homologue
root@LAMBDASTER:~# curl -v https://rubygems.org
*   Tentative de connexion à 151.101.193.227:443...
* Connecté à rubygems.org (151.101.193.227) port 443 (#0)
* ALPN : propose h2,http/1.1
* TLSv1.3 (SORTANT), handshake TLS, Client hello (1) :
*  CAfile : /etc/ssl/certs/ca-certificates.crt
*  CApath : /etc/ssl/certs
* TLSv1.3 (ENTRANT), handshake TLS, Server hello (2) :
* TLSv1.3 (ENTRANT), handshake TLS, Extensions chiffrées (8) :
* TLSv1.3 (ENTRANT), handshake TLS, Certificat (11) :
* TLSv1.3 (ENTRANT), handshake TLS, CERT verify (15) :
* TLSv1.3 (ENTRANT), handshake TLS, Finished (20) :
* TLSv1.3 (SORTANT), changement de chiffrement TLS, Change cipher spec (1) :
* TLSv1.3 (SORTANT), handshake TLS, Finished (20) :
* Échec d'envoi : connexion réinitialisée par l'homologue
* OpenSSL SSL_connect : connexion réinitialisée par l'homologue dans la connexion à rubygems.org:443 
* Fermeture de la connexion 0
* Échec d'envoi : rupture de canal
curl: (35) Échec d'envoi : connexion réinitialisée par l'homologue
root@LAMASTER:~#

Est-ce que cela aide ?

Merci. Je vais essayer. En fait, mon serveur est à Los Angeles.

Le réseau est correct. Mais le SSL ne l’est pas.

1 « J'aime »

Désolé, je ne suis pas sûr de pouvoir vous aider avec cela, cela semble être un problème avec votre serveur ou votre fournisseur d’accès à Internet. Le problème SSL est-il limité à rubygems.org, le savez-vous ?

1 « J'aime »

Quand j’active l’IPV6, ça fonctionne. Merci beaucoup.

1 « J'aime »

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