-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
write UDP [ECONNREFUSED]: Operation not permitted (code=1) #472
Comments
To be honest, that looks like a ROM with broken VPNService routing. |
Hi, so it is an issue with the official ROM from OnePlus One ? (I'm not using a custom rom, it is the official Cyanogen from OPO) and is it normal then that the official OpenVPN app works? Thanks, |
Without access to that phone I cannot really debug what is going on. I never seen that behaviour before. But both OnePlus phones and CyanogenMod have been quirky before, so my first guess is that this is something with the ROM. |
I'm having this exact problem using the official OpenVPN app, and an .ovpn file from mullvad. It's happening on a stock Samsung G S7 (non-rooted, one month old, no weird stuff). The same setup works on all my other devices (phones, tablets, etc.) - only this one device gives me this exact same behaviour and error message. Still trying to troubleshoot the problem, but any suggestions would be very welcome! |
For Samsung devices see the Samsung FAQ. |
Well, given that I have a GitHub account, we can safely assume that I have already done that, na? ;-) The point is, knowing that the same phenomenon happens on other devices gives you additional information to troubleshoot this problem (i.e. that it isn't necessarily a problem with the ROM) Just trying to be helpful |
@markwilkinson Sorry, did not want to be rude but in my experience that is not the the case. Also some users might have read the FAQ the first time they installed the app and never seen the new FAQs. Apart from the one report of the OnePlus, all other that indicate this problem are Samsung 6.0 devices. My other 6.0 devices (Shield TV, Nexus 7 and Sony Z5c) are not having this problem and so far all of them could have been resolved with the solution highlighted in the FAQ (Exempt the app from Energy saving options). So far it looks like a Samsung firmware bug to me. In my experience Samsung ROMs are the most buggy, followed by Cyanogenmod and OnePlus. |
Gotcha :-) Cheers! |
Same here on OP2(OOS3.6.1) Only received write UDP [ECONNREFUSED]: Operation not permitted (code=1) repeatedly. Problem only occurred when Battery Saver was turned on. Turning Battery Saver off and reconnecting fixed it for me. |
Hello, I have Sony Xperia Z5 Premium with Android 6.0.1 and same issue appeared. After I have excluded OpenVPN client from battery optimization on mobile phone and it started to work. Thanks schwabe! |
Hi,
I installed ics-openvpn today, because U would like to use it in stead of the offical OpenVPN app on android
I imported an openvpn profile the same way as in official OpenVPN app.
I can connected without problems using the official app, but ics-openvpn gives a "write UDP [ECONNREFUSED]: Operation not permitted (code=1)" error.
I've checked the password multiple times
My setup:
-Oneplus One
-with CyanogenMod 12 (official from Oneplus One)
-rooted
I'm not sure what else I have to check or do?
Logging below:
The text was updated successfully, but these errors were encountered: