Coder Social home page Coder Social logo

error x509 about warp-plus HOT 18 OPEN

pars1500 avatar pars1500 commented on August 15, 2024
error x509

from warp-plus.

Comments (18)

NiREvil avatar NiREvil commented on August 15, 2024 1

سلام وقتتون بخیر، من هم این مشکل رو داشتم امروز یکی دوتا کار صرفا جهت تست انجام دادم و مشکل حل شد فقط نفهمیدم کدومش باعث شد که درست بشه!!

error: x509: certificate has expired or .....

اول از این آدرس این گواهینامه رو کپی کردم تو یه فایل با نام cert.pem داخل فولدر دانلود گوشی، و اون رو منتقل کردم به اینجا با دستور cp

/data/data/com.termux/files/usr/etc/tls/

(نکته اینه که از قبل تو این مسیر یه فایل با همین اسم و محتوا وجود داشت ولی برای سال 2021 بود محض احتیاط از قبل کپی کردمش جای دیگه بعد فایل جدید رو جایگزینش کردم).

و حرکت دوم این بود که چون فولدر

.cache/warp-plus

ساخته نمیشد یا اگر شده بود موقع استارت وارپ پلاس تو متن خطا مینوشت که این مسیر وجود نداره خودمم نمیتونستم پیداش کنم پس دستی ساختمش با
mkdir /data/data/com.termux/files/home/.cache/warp-plus

و یه فولدر داخلش به اسم primary ساختم و داخل این فولدر هم دوتا فایلی از فولدر stuff اپلیکیشن oblivion دسکتاپ قرض گرفتم و کپی کردم داخلش منظورم دوتا فایل با اسم های

wgcf-identity.json & wgcf-profile.ini

و بعد یه ریستارت کردن دستگاه و بعد اجرای warp-plus و اقعا هم اجرا شد.وارپ و گول رو تست کردم الان هم با gool هستم فعلا سایفون تست نکردم.

S1

s2

s3

با تشکر از دو بزرگ مرد مارک و یوسف

from warp-plus.

markpash avatar markpash commented on August 15, 2024

Hi, can you provide some logs please? I've not seen this error before and it would be helpful to see the logs.

from warp-plus.

nescafetor avatar nescafetor commented on August 15, 2024

با سلام مارک عزیز، قبل از هرچیزی تشکر میکنم از بابت همه زحمتایی ک می‌کشی

بعد میخواستم بگم ک من و دو نفر از دوستانم این مشکل رو داریم، دقیقا همین خطا که الان برات میفرستم اسکرین شات ازش، به نظر من خطای certificate دستگاه میومد یکی از گوشی ها اندروید 12 بود روی اون هم همین مشکل پیش اومد فقط روی اندروید 14 مشکلی نداشتم، حتی چندتا certificate مثل کلودفلر و موزیلا هم نصب کردم ولی تاثیری نداشت، من حدس میزنم بخاطر اختلاف یکساعته در تنظیمات ساعت و تاریخ دستگاه باشه، امسال عید ساعت ها به جلو کشیده نشد در ایران ولی دوتا گوشی من خودشون یکساعت جلوتر رفتن و الان ایران 3:30+ باید میبود ولی تو گوشی4:30+ هست، دستی تنطیم میکنم هم مشکل رفع نمیشه. امیدوارم بشه این مشکل رو حل کرد و دوباره از وارپ پلاس فوق العاده استفاده کرد، در این نسخه و نسخه قبل یعنی v1.2.2 این مشکل به وجود اومده،
ممنونم ازتون ❤️

Screenshot_20240601-051601_cropped

$warp
WARNING:: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:40.037Z level=INFO msg="using warp endpoints" endpoints="[[2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506 [2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506]"
time=2024-06-01T00:45:40.038Z level=INFO msg="running in normal warp mode"
time=2024-06-01T00:45:40.052Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:40.068Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:44.077Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:44.078Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:43Z is after 2021-09-30T14:01:15Z"

$ warp --gool
WARNING: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:53.403Z level=INFO msg="using warp endpoints" endpoints="[162.159.195.80:8854 162.159.195.80:8854]"
time=2024-06-01T00:45:53.404Z level=INFO msg="running in warp-in-warp (gool) mode"
time=2024-06-01T00:45:53.404Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:53.406Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:55.277Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:55.278Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:55Z is after 2021-09-30T14:01:15Z

from warp-plus.

markpash avatar markpash commented on August 15, 2024

با سلام مارک عزیز، قبل از هرچیزی تشکر میکنم از بابت همه زحمتایی ک می‌کشی

بعد میخواستم بگم ک من و دو نفر از دوستانم این مشکل رو داریم، دقیقا همین خطا که الان برات میفرستم اسکرین شات ازش، به نظر من خطای certificate دستگاه میومد یکی از گوشی ها اندروید 12 بود روی اون هم همین مشکل پیش اومد فقط روی اندروید 14 مشکلی نداشتم، حتی چندتا certificate مثل کلودفلر و موزیلا هم نصب کردم ولی تاثیری نداشت، من حدس میزنم بخاطر اختلاف یکساعته در تنظیمات ساعت و تاریخ دستگاه باشه، امسال عید ساعت ها به جلو کشیده نشد در ایران ولی دوتا گوشی من خودشون یکساعت جلوتر رفتن و الان ایران 3:30+ باید میبود ولی تو گوشی4:30+ هست، دستی تنطیم میکنم هم مشکل رفع نمیشه. امیدوارم بشه این مشکل رو حل کرد و دوباره از وارپ پلاس فوق العاده استفاده کرد، در این نسخه و نسخه قبل یعنی v1.2.2 این مشکل به وجود اومده،
ممنونم ازتون ❤️

Screenshot_20240601-051601_cropped

$warp
WARNING:: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:40.037Z level=INFO msg="using warp endpoints" endpoints="[[2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506 [2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506]"
time=2024-06-01T00:45:40.038Z level=INFO msg="running in normal warp mode"
time=2024-06-01T00:45:40.052Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:40.068Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:44.077Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:44.078Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:43Z is after 2021-09-30T14:01:15Z"

$ warp --gool
WARNING: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:53.403Z level=INFO msg="using warp endpoints" endpoints="[162.159.195.80:8854 162.159.195.80:8854]"
time=2024-06-01T00:45:53.404Z level=INFO msg="running in warp-in-warp (gool) mode"
time=2024-06-01T00:45:53.404Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:53.406Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:55.277Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:55.278Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:55Z is after 2021-09-30T14:01:15Z

درود، مرسی بابت لاگ. میشه بپرسم که با کدوم اپراتور این رو تست کردی؟

from warp-plus.

nescafetor avatar nescafetor commented on August 15, 2024

بله البته، من با نت ثابت مخابرات این تست رو کردم و لاگ مربوط به همون هست.

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

Hi, can you provide some logs please? I've not seen this error before and it would be helpful to see the logs.

335768940-9f0960b8-c2f2-42a2-8ebd-e28336b708df

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

با سلام مارک عزیز، قبل از هرچیزی تشکر میکنم از بابت همه زحمتایی ک می‌کشی

بعد میخواستم بگم ک من و دو نفر از دوستانم این مشکل رو داریم، دقیقا همین خطا که الان برات میفرستم اسکرین شات ازش، به نظر من خطای certificate دستگاه میومد یکی از گوشی ها اندروید 12 بود روی اون هم همین مشکل پیش اومد فقط روی اندروید 14 مشکلی نداشتم، حتی چندتا certificate مثل کلودفلر و موزیلا هم نصب کردم ولی تاثیری نداشت، من حدس میزنم بخاطر اختلاف یکساعته در تنظیمات ساعت و تاریخ دستگاه باشه، امسال عید ساعت ها به جلو کشیده نشد در ایران ولی دوتا گوشی من خودشون یکساعت جلوتر رفتن و الان ایران 3:30+ باید میبود ولی تو گوشی4:30+ هست، دستی تنطیم میکنم هم مشکل رفع نمیشه. امیدوارم بشه این مشکل رو حل کرد و دوباره از وارپ پلاس فوق العاده استفاده کرد، در این نسخه و نسخه قبل یعنی v1.2.2 این مشکل به وجود اومده، ممنونم ازتون ❤️

Screenshot_20240601-051601_cropped

$warp
WARNING:: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:40.037Z level=INFO msg="using warp endpoints" endpoints="[[2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506 [2606:4700:d1:0:5c57:6938:61f6:e3e9]:2506]"
time=2024-06-01T00:45:40.038Z level=INFO msg="running in normal warp mode"
time=2024-06-01T00:45:40.052Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:40.068Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:44.077Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:44.078Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:43Z is after 2021-09-30T14:01:15Z"

$ warp --gool
WARNING: linker: warp: unsupported flags DT_FLAGS_1=0x8000000
time=2024-06-01T00:45:53.403Z level=INFO msg="using warp endpoints" endpoints="[162.159.195.80:8854 162.159.195.80:8854]"
time=2024-06-01T00:45:53.404Z level=INFO msg="running in warp-in-warp (gool) mode"
time=2024-06-01T00:45:53.404Z level=INFO msg="failed to load identity" subsystem=warp/account path=/data/data/com.termux/files/home/.cache/warp-plus/primary error="stat /data/data/com.termux/files/home/.cache/warp-plus/primary/wgcf-identity.json: no such file or directory"
time=2024-06-01T00:45:53.406Z level=INFO msg="creating new identity" subsystem=warp/account
time=2024-06-01T00:45:55.277Z level=ERROR msg="couldn't load primary warp identity"
time=2024-06-01T00:45:55.278Z level=ERROR msg="Post \"https://api.cloudflareclient.com/v0a4005/reg\": uTlsConn.Handshake() error: x509: certificate has expired or is not yet valid: current time 2024-06-01T00:45:55Z is after 2021-09-30T14:01:15Z

درود بر شما دوست گرامی ب ای من هم همین ارور میاد

راه حل چیه

انندروید من هم ۱۲ هستش
معماری پردازنده ام ARM

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

I think that the problem can be solved by installing the Cloudflare certificate on Termux.
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/install-cloudflare-cert/
termux/termux-packages#1546

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

I think that the problem can be solved by installing the Cloudflare certificate on Termux.
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/install-cloudflare-cert/
termux/termux-packages#1546

For some reason I can't install the certificate.

~ $ wget https://developers.cloudflare.com/cloudflare-one/static/Cloudflare_CA.pem
--2024-06-02 20:45:38--  https://developers.cloudflare.com/cloudflare-one/static/Cloudflare_CA.pem
Resolving developers.cloudflare.com (developers.cloudflare.com)... 104.16.6.189, 104.16.4.189, 104.16.5.189, ...
Connecting to developers.cloudflare.com (developers.cloudflare.com)|104.16.6.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1073 (1.0K) [application/x-x509-ca-cert]
Saving to: ‘Cloudflare_CA.pem’

Cloudflare_C 100%   1.05K  --.-KB/s    in 0s

2024-06-02 20:45:39 (41.4 MB/s) - ‘Cloudflare_CA.pem’ saved [1073/1073]

~ $ add-trusted-certificate Cloudflare_CA.pem
Copying Cloudflare_CA.pem to /data/data/com.termux/files/usr/etc/tls/certs/
Doing /data/data/com.termux/files/usr/etc/tls/certs/
rehash: warning: skipping Cloudflare_CA.crt,it does not contain exactly one certificate or CRL
link Cloudflare_CA.pem -> c38b367a.0

Update: I submitted an issue on the Termux packages repo.
termux/termux-packages#20405

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

اگر ممکنه به زبان ساده بگید چکار کنیم

کد های دستوری اصلاحات را قرار دهید سپاس

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

سلام وقتتون بخیر، من هم این مشکل رو داشتم امروز یکی دوتا کار صرفا جهت تست انجام دادم و مشکل حل شد فقط نفهمیدم کدومش باعث شد که درست بشه!!

error: x509: certificate has expired or .....

اول از این آدرس این گواهینامه رو کپی کردم تو یه فایل با نام cert.pem داخل فولدر دانلود گوشی، و اون رو منتقل کردم به اینجا با دستور cp

/data/data/com.termux/files/usr/etc/tls/

(نکته اینه که از قبل تو این مسیر یه فایل با همین اسم و محتوا وجود داشت ولی برای سال 2021 بود محض احتیاط از قبل کپی کردمش جای دیگه بعد فایل جدید رو جایگزینش کردم).

و حرکت دوم این بود که چون فولدر

.cache/warp-plus

ساخته نمیشد یا اگر شده بود موقع استارت وارپ پلاس تو متن خطا مینوشت که این مسیر وجود نداره خودمم نمیتونستم پیداش کنم پس دستی ساختمش با mkdir /data/data/com.termux/files/home/.cache/warp-plus

و یه فولدر داخلش به اسم primary ساختم و داخل این فولدر هم دوتا فایلی از فولدر stuff اپلیکیشن oblivion دسکتاپ قرض گرفتم و کپی کردم داخلش منظورم دوتا فایل با اسم های

wgcf-identity.json & wgcf-profile.ini

و بعد یه ریستارت کردن دستگاه و بعد اجرای warp-plus و اقعا هم اجرا شد.وارپ و گول رو تست کردم الان هم با gool هستم فعلا سایفون تست نکردم.

S1

s2

s3

با تشکر از دو بزرگ مرد مارک و یوسف

اگر ممکنه به ترتیب کد دستوری را بنویس کپی کنیم و اجرا کنیم اطلاعات من کم هست سپاس

from warp-plus.

markpash avatar markpash commented on August 15, 2024

Could it be that you need a ca-certificates package to be installed?

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

Could it be that you need a ca-certificates package to be installed?

I have that package and I still get the error

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

Could it be that you need a ca-certificates package to be installed?

How to do this

please post the instructions.

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

Could it be that you need a ca-certificates package to be installed?

How to do this

please post the instructions.

Use this command in Termux
pkg install ca-certificates

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

Can the error be due to failing to connect to the server that checks the certificate?
What if the Iranian government has blocked our access to the server so censorship circumvention tools like warp-plus will fail?
Disclaimer: I know nothing about network and randomly came up with this conspiracy theory. lol

from warp-plus.

pars1500 avatar pars1500 commented on August 15, 2024

Can the error be due to failing to connect to the server that checks the certificate? What if the Iranian government has blocked our access to the server so censorship circumvention tools like warp-plus will fail? Disclaimer: I know nothing about network and randomly came up with this conspiracy theory. lol

Yes, we turn on the vpn before starting the installation and updates.
Unfortunately, access to many termux libraries in Iran is limited.

I checked with the" pishgaman isp " and mobile operator "mci" >>>> in iran.

from warp-plus.

inattentive-nerd avatar inattentive-nerd commented on August 15, 2024

Is this related to our problem?
https://community.cloudflare.com/t/upcoming-certificate-renewal-for-1-1-1-1-public-resolver/594379

from warp-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.