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

GetAuthCredentials causes -7 Timed out navigation errror #3815

Open
omerbalash opened this issue Oct 24, 2024 · 2 comments
Open

GetAuthCredentials causes -7 Timed out navigation errror #3815

omerbalash opened this issue Oct 24, 2024 · 2 comments
Labels
bug Bug report

Comments

@omerbalash
Copy link

Today GetAuthCredentials in CefRequestHandler is no longer called at all unless running with disable-chrome-login-prompt flag. But even with it set there is an issue where if the credentials are not provided quickly enough the browser will return -7 error and navigate to the error page for a timed out request.

This happens both if

  1. you keep hold of GetAuthCredentials and call the callback from inside its context
  2. you return from GetAuthCredentials and call the callback once you have the credentials in a different thread.

CEF version: 129.0.6668.71
Using C++
Windows 11 OS

@omerbalash omerbalash added the bug Bug report label Oct 24, 2024
@magreenblatt
Copy link
Collaborator

you keep hold of GetAuthCredentials and call the callback from inside its context

That sounds like you're blocking the CEF thread. Don't do that.

@omerbalash
Copy link
Author

HI Marshall,

Thanks, Even if i dont block the CEF thread the same behavior we see the same behavior. in fact before i even call the callback the page navigates to TIMEOUT page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants