Erro ao reconstruir. Não é possível buscar de 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: The plugin 'discourse-solved' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-solved' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
af0ad4d6a7b7ec9f294c77b10703fd986bbd12e49b701b828199fc77ee643d61
root@LAMASTER:/var/discourse# 

Você tentou fazer isso e executar a reconstrução novamente?

Sim, muitas vezes. :rofl: Eu tento por 10 horas.

root@LAMASTER:~# curl -v https://rubygems.org
*   Tentando 151.101.1.227:443...
* Conectado a rubygems.org (151.101.1.227) na porta 443 (#0)
* ALPN: oferece h2,http/1.1
* TLSv1.3 (SAÍDA), aperto de TLS, Client hello (1):
* Falha no envio: Conexão reiniciada pelo par
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* OpenSSL SSL_connect: Conexão reiniciada pelo par na conexão com rubygems.org:443 
* Fechando conexão 0
* Falha no envio: Broken pipe
curl: (35) Falha no envio: Conexão reiniciada pelo par
root@LAMASTER:~# curl -v https://rubygems.org
*   Tentando 151.101.193.227:443...
* Conectado a rubygems.org (151.101.193.227) na porta 443 (#0)
* ALPN: oferece h2,http/1.1
* TLSv1.3 (SAÍDA), aperto de TLS, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (ENTRADA), aperto de TLS, Server hello (2):
* TLSv1.3 (ENTRADA), aperto de TLS, Encrypted Extensions (8):
* TLSv1.3 (ENTRADA), aperto de TLS, Certificate (11):
* TLSv1.3 (ENTRADA), aperto de TLS, CERT verify (15):
* TLSv1.3 (ENTRADA), aperto de TLS, Finished (20):
* TLSv1.3 (SAÍDA), mudança de cifra TLS, Change cipher spec (1):
* TLSv1.3 (SAÍDA), aperto de TLS, Finished (20):
* Falha no envio: Conexão reiniciada pelo par
* OpenSSL SSL_connect: Conexão reiniciada pelo par na conexão com rubygems.org:443 
* Fechando conexão 0
* Falha no envio: Broken pipe
curl: (35) Falha no envio: Conexão reiniciada pelo par
root@LAMASTER:~#

Isso ajuda?

Obrigado. Vou tentar. Na verdade, meu servidor fica em Los Angeles.

A rede está boa. Mas o SSL não.

1 curtida

Desculpe, não tenho certeza de como ajudar com isso, parece ser um problema com seu servidor ou provedor de internet. O problema de SSL está limitado ao rubygems.org, você sabe?

1 curtida

Quando habilito o IPV6 funciona. Muito obrigado.

1 curtida

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