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

Samsung S6 6.0 Energy options break VPN #471

Closed
schwabe opened this issue Apr 1, 2016 · 5 comments
Closed

Samsung S6 6.0 Energy options break VPN #471

schwabe opened this issue Apr 1, 2016 · 5 comments

Comments

@schwabe
Copy link
Owner

@schwabe schwabe commented Apr 1, 2016

sigh

@MMD70

This comment has been minimized.

Copy link

@MMD70 MMD70 commented Apr 1, 2016

Yes, i just trying to help someone on Dutch Synology forum.
Android 6.0.1 Samsung S6
Error: "UDP Send error: send : Operation not permitted."
Tried to play with txqueuelen but no succes.

So it`s the energy options?

@schwabe

This comment has been minimized.

Copy link
Owner Author

@schwabe schwabe commented Apr 10, 2016

@MMD70 yes.

documented by commit 2138a6a

@schwabe schwabe closed this Apr 10, 2016
@MMD70

This comment has been minimized.

Copy link

@MMD70 MMD70 commented Apr 10, 2016

Ok thank you,
he found out yesterday, excempting from Powersave features solves it.

@vinodkutty

This comment has been minimized.

Copy link

@vinodkutty vinodkutty commented Jun 13, 2016

I don't know what exactly "exempting from Powersave features" means, but I experienced this issue on a Galaxy S7 Edge device running Android 6.0.1 with Power Saving Mode enabled and believe it's more generally applicable to similar devices with this option. The other mode is "Ultra Power Saving", which is designed to make the phone just a phone and thus not expected to allow OpenVPN to work at all [skipped nostalgic remark about flip phones]

These are the settings I found:

  • Settings -> Battery -> App power saving -> DETAIL -> OpenVPN Connect -> select "Turned Off"
    This seems to be mainly for deciding what to do with apps that haven't been used in more than 3 days.
  • Settings -> Battery -> Power Saving Mode -> "Restrict all background data": Off
    This seems to be the most relevant for this issue, and affects other background data services (such as mail sync). Setting this "Off" fixed the error.

I expect the more coarse-grained method is to simply turning off "Power Saving Mode" as a whole, but I haven't verified this.

@Scalextrix

This comment has been minimized.

Copy link

@Scalextrix Scalextrix commented Dec 5, 2016

Turning off Restrict all background data works on my Galaxy s6

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.