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

[When very low memory] Service detection runs forever when certificate is rejected #560

Open
rfc2822 opened this issue Feb 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rfc2822
Copy link
Member

rfc2822 commented Feb 5, 2024

Steps to reproduce:

  • Enable Developer options / Don't keep activities to simulate a low memory environment
  • Setup with an URL with a bad certificate, for instance https://expired.badssl.com/
  • Reject the certificate when the popup appears
  • Service detection takes ages / runs forever

Expected result:

Service detection should do all the requests. Every request should immediately be rejected and so service detection should be finished (without success) very quickly.

Suspected reason:

When the certificate trust activity appears, the LoginActivity + model data is cleared. When the detection process is finished, loginModel.baseURI is null and

immediately returns without processing the result.

Should probably be done when rewriting the ui.setup classes to Compose.

@rfc2822 rfc2822 added the bug Something isn't working label Feb 5, 2024
@rfc2822 rfc2822 changed the title Service detection runs a long time when certificate is rejected Service detection runs forever when certificate is rejected Feb 5, 2024
@rfc2822 rfc2822 self-assigned this Feb 5, 2024
@rfc2822 rfc2822 changed the title Service detection runs forever when certificate is rejected [When very low memory] Service detection runs forever when certificate is rejected Feb 5, 2024
@rfc2822 rfc2822 removed their assignment Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant