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

[ISSUE] Afwall fails to apply rules on some network changes #1262

Closed
Fry-kun opened this issue Jan 20, 2022 · 10 comments
Closed

[ISSUE] Afwall fails to apply rules on some network changes #1262

Fry-kun opened this issue Jan 20, 2022 · 10 comments

Comments

@Fry-kun
Copy link
Contributor

Fry-kun commented Jan 20, 2022

Describe the bug
Afwall fails to apply rules on some network changes. This happens very often when leaving wifi area & switching to cell data only.
It's extremely disruptive, it's hard to even disable the rules to get the phone into a working state. The only thing that seems to work consistently is rebooting the phone altogether, which is not a good workaround.

It's worth noting that the failure and/or success notices sometimes pop up twice, indicating that there might be 2+ processes trying to do the same thing.
The progress indicator also behaves strangely when there's an error: instead of a steady climb of numbers (100..150..300..500..), it jumps up and down between single/double digits & triple digits (20..100..45..200..70..300..) (note: pulled these numbers out of thin air, just trying to describe the general behavior. Let me know if you need me to capture this madness on video or anything)

Firewall Logs
Several unrelated attempts logs.tar.gz

Smartphone (please complete the following information):

  • Device: Pixel 6 Pro (raven)
  • Android OS: 12

Additional context
This has been happening a lot lately (with this new phone, possibly because it's using 5G and/or whatever else?)

@Fry-kun Fry-kun added the Review label Jan 20, 2022
@ukanth
Copy link
Owner

ukanth commented Jan 21, 2022

Have you tried latest BETA ?

@Fry-kun
Copy link
Contributor Author

Fry-kun commented Jan 21, 2022 via email

@ssivtsov
Copy link

Have the same behavior on OnePlus 9R, Android 11

@Fry-kun
Copy link
Contributor Author

Fry-kun commented Jan 23, 2022

Hello?
Where/how do I access the beta? If I need to sideload it, where from?

@ukanth
Copy link
Owner

ukanth commented Jan 24, 2022

@Fry-kun
Copy link
Contributor Author

Fry-kun commented Jan 24, 2022 via email

@Fry-kun
Copy link
Contributor Author

Fry-kun commented Jan 25, 2022

With the beta, applying doesn't fail but I'm seeing this strange behavior

apply.mp4

Seems like the beta simply applies a lock which prevents 2 instances from updating at the same time. It's much better than not being able to apply the settings, but not a complete fix, IMHO

@ukanth
Copy link
Owner

ukanth commented Jan 25, 2022

Duplicate of #1206

#1206.

Read my last comment on that thread.

@ukanth ukanth closed this as completed Jan 25, 2022
@ukanth ukanth added Duplicate and removed Review labels Jan 25, 2022
@DanielRieken
Copy link

DanielRieken commented Jan 27, 2022

With the beta, applying doesn't fail but I'm seeing this strange behavior
apply.mp4

Seems like the beta simply applies a lock which prevents 2 instances from updating at the same time. It's much better than not being able to apply the settings, but not a complete fix, IMHO

you're more than welcome to post a pull request, IMHO

@Fry-kun
Copy link
Contributor Author

Fry-kun commented Jan 27, 2022 via email

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

No branches or pull requests

4 participants