Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: electron: Failed to load URL: <https url> with error: ERR_TIMED_OUT #37631

Closed
3 tasks done
SShnoodles opened this issue Mar 21, 2023 · 4 comments
Closed
3 tasks done
Labels

Comments

@SShnoodles
Copy link

SShnoodles commented Mar 21, 2023

Preflight Checklist

Electron Version

23.1.4

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 22.04.2 LTS

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

I built it on Manjaro and it works fine.
But when running on ubuntu, white screen. an error is thrown.

I just packaged a website. And set some commandLines

app.commandLine.appendSwitch("--disable-http-cache")
app.commandLine.appendSwitch('--ignore-certificate-errors', 'true')

Actual Behavior

White screen after opening
I'm sure the network is working properly.

Error logs

[1078020:0321/133618.260312:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
(node:1077987) electron: Failed to load URL: https://xxx.xxx.com/ with error: ERR_TIMED_OUT
[1078020:0321/133645.583660:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[1078020:0321/133649.572918:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[1077987:0321/133743.951127:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for xxx.xxx.com failed:
----- Other errors (not certificate specific) -----
ERROR: Deadline exceeded


[1077987:0321/133743.951193:ERROR:cert_verify_proc_builtin.cc(677)] CertVerifyProcBuiltin for redirector.gvt1.com failed:
----- Other errors (not certificate specific) -----
ERROR: Deadline exceeded

Testcase Gist URL

No response

Additional Information

No response

@jkleinsc jkleinsc added the blocked/need-repro Needs a test case to reproduce the bug label Mar 21, 2023
@github-actions
Copy link
Contributor

Hello @SShnoodles. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@SShnoodles
Copy link
Author

I found that as soon as I started pcscd(PC/SC Smart Card Daemon), it failed to load.

@github-actions github-actions bot removed the blocked/need-repro Needs a test case to reproduce the bug label Mar 24, 2023
@jaovitubr
Copy link

jaovitubr commented Mar 31, 2023

On a few computers when I try to load my site, I get the error ERR_CERT_DATE_INVALID, and when I configure it to ignore certificate errors, I get the error ERR_TIMED_OUT
I'm thinking that the problem is with the Let's Encrypt certificates, when I try to access for example https://letsencrypt.org or https://www.nginx.com/ it doesn't load, but when I try to access https://www.mozilla.org/ or https://www.google.com/ loads fine!

Elétron 22.3.4

@codebytere
Copy link
Member

Thanks for reaching out!

Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this Discord that should be willing to point you in the right direction.

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants