خطأ عند إعادة البناء. لا يمكن جلب البيانات من 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'
خطأ في الشبكة أثناء جلب
https://rubygems.org/quick/Marshal.4.8/actionmailer-8.0.2.1.gemspec.rz
(تمت إعادة تعيين الاتصال بواسطة النظير - SSL_connect)
I, [2025-08-20T00:55:20.805323 #1]  INFO -- : جلب فهرس المصدر من https://rubygems.org/

I, [2025-08-20T00:55:20.805729 #1]  INFO -- : إنهاء العمليات غير المتزامنة
I, [2025-08-20T00:55:20.805829 #1]  INFO -- : إرسال INT إلى 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 -- : إرسال TERM إلى 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:  تم استلام طلب إيقاف سريع
112:signal-handler (1755651320) تم استلام SIGTERM جدولة الإيقاف...
2025-08-20 00:55:20.807 UTC [45] LOG:  إلغاء أي معاملات نشطة
2025-08-20 00:55:20.809 UTC [45] LOG:  عامل الخلفية "مشغل النسخ المتماثل المنطقي" (PID 59) خرج برمز خروج 1
2025-08-20 00:55:20.811 UTC [54] LOG:  جاري الإيقاف
2025-08-20 00:55:20.812 UTC [54] LOG:  بدء نقطة الفحص: إيقاف فوري
2025-08-20 00:55:20.823 UTC [54] LOG:  اكتملت نقطة الفحص: تم كتابة 3 مخازن مؤقتة (0.0٪)؛ تمت إضافة 0 ملف WAL، تمت إزالة 0، تمت إعادة تدوير 0؛ الكتابة = 0.008 ثانية، المزامنة = 0.001 ثانية، الإجمالي = 0.012 ثانية؛ ملفات المزامنة = 4، الأطول = 0.001 ثانية، المتوسط = 0.001 ثانية؛ المسافة = 7 كيلوبايت، التقدير = 7 كيلوبايت
2025-08-20 00:55:20.857 UTC [45] LOG:  تم إيقاف نظام قاعدة البيانات
112:M 20 Aug 2025 00:55:20.858 # طلب المستخدم الإيقاف...
112:M 20 Aug 2025 00:55:20.858 * حفظ لقطة RDB النهائية قبل الخروج.
112:M 20 Aug 2025 00:55:22.520 * تم حفظ قاعدة البيانات على القرص
112:M 20 Aug 2025 00:55:22.520 # Redis جاهز الآن للخروج، وداعًا...


فشل
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3' فشل مع العودة #<Process::Status: pid 624 exit 17>
موقع الفشل: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
فشل التنفيذ مع المعلمات {"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 {} +'"]}
فشل التمهيد برمز خروج 17
---
تلميح: المكون الإضافي 'discourse-solved' مدمج الآن مع Discourse ولا ينبغي تضمينه في تكوين الحاوية الخاص بك.
قم بإزالة السطر 'git clone https://github.com/discourse/discourse-solved' من ملف containers/app.yml الخاص بك، ثم حاول مرة أخرى.
لمزيد من المعلومات، راجع https://meta.discourse.org/t/373574
---
** فشل التمهيد ** يرجى التمرير لأعلى والبحث عن رسائل خطأ سابقة، قد يكون هناك أكثر من واحد.
قد يساعد ./discourse-doctor في تشخيص المشكلة.
af0ad4d6a7b7ec9f294c77b10703fd986bbd12e49b701b828199fc77ee643d61
root@LAMASTER:/var/discourse# 

هل حاولت القيام بذلك وتشغيل إعادة البناء مرة أخرى؟

نعم، مرات عديدة. :rofl: لقد جربتها لمدة 10 ساعات.

root@LAMASTER:~# curl -v https://rubygems.org
*   Trying 151.101.1.227:443...
* Connected to rubygems.org (151.101.1.227) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* Send failure: Connection reset by peer
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* OpenSSL SSL_connect: Connection reset by peer in connection to rubygems.org:443 
* Closing connection 0
* Send failure: Broken pipe
curl: (35) Send failure: Connection reset by peer
root@LAMASTER:~# curl -v https://rubygems.org
*   Trying 151.101.193.227:443...
* Connected to rubygems.org (151.101.193.227) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* Send failure: Connection reset by peer
* OpenSSL SSL_connect: Connection reset by peer in connection to rubygems.org:443 
* Closing connection 0
* Send failure: Broken pipe
curl: (35) Send failure: Connection reset by peer
root@LAMASTER:~#

هل يساعد هذا؟

شكرا لك. سأجرب ذلك. في الواقع، خادمي موجود في لوس أنجلوس.

الشبكة جيدة. لكن شهادة SSL ليست كذلك.

إعجاب واحد (1)

عذرًا، لست متأكدًا من كيفية المساعدة في هذا، يبدو أنه مشكلة في الخادم أو مزود خدمة الإنترنت الخاص بك. هل مشكلة SSL تقتصر على rubygems.org، هل تعرف؟

إعجاب واحد (1)

عند تمكين بروتوكول الإنترنت الإصدار السادس (IPV6) يعمل. شكراً جزيلاً.

إعجاب واحد (1)

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