Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Can't connect to any devices. IOE: Operation not permitted #143

Open
ilya-epifanov opened this issue Apr 14, 2019 · 4 comments
Open

Can't connect to any devices. IOE: Operation not permitted #143

ilya-epifanov opened this issue Apr 14, 2019 · 4 comments

Comments

@ilya-epifanov
Copy link

ilya-epifanov commented Apr 14, 2019

Samsung Galaxy S8 (Android 9, Syncthing Lite v?):

LocalDiscoveryHandler.sendAnnounceMessage
LocalDiscoveryUtil.sendAnnounceMessage
interface: name:wlan0 (wlan0)
address: /192.168.178.18/24 [/192.168.178.255]
broadcast address: /192.168.178.255

net.syncthing.a.c.c.a: java.io.IOException: Operation not permitted
	at net.syncthing.a.d.a.h.a(LocalDiscoveryUtil.kt:134)
	at net.syncthing.a.d.a.e$a.c_(LocalDiscoveryHandler.kt:39)
	at a.c.b.a.a.b(ContinuationImpl.kt:32)
	at kotlinx.coroutines.az$a.a(Dispatched.kt:235)
	at kotlinx.coroutines.aw.run(Dispatched.kt:81)
	at kotlinx.coroutines.c.i.run(Tasks.kt:94)
	at kotlinx.coroutines.c.a.a(CoroutineScheduler.kt:586)
	at kotlinx.coroutines.c.a.a(CoroutineScheduler.kt:60)
	at kotlinx.coroutines.c.a$b.run(CoroutineScheduler.kt:732)
Caused by: java.io.IOException: Operation not permitted
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:696)
	at net.syncthing.a.d.a.h.a(LocalDiscoveryUtil.kt:127)
	... 8 more

Google Pixel 4 (Android 10, Syncthing Lite 0.3.12):

LocalDiscoveryHandler.sendAnnounceMessage
LocalDiscoveryUtil.sendAnnounceMessage
interface: name:wlan0 (wlan0)
address: /192.168.1.41/24 [/192.168.1.255]
broadcast address: /192.168.1.255

net.syncthing.a.c.c.a: java.io.IOException: sendto failed: EPERM (Operation not permitted)
	at net.syncthing.a.d.a.h.a(LocalDiscoveryUtil.kt:134)
	at net.syncthing.a.d.a.e$a.c_(LocalDiscoveryHandler.kt:39)
	at a.c.b.a.a.b(ContinuationImpl.kt:32)
	at kotlinx.coroutines.az$a.a(Dispatched.kt:235)
	at kotlinx.coroutines.aw.run(Dispatched.kt:81)
	at kotlinx.coroutines.c.i.run(Tasks.kt:94)
	at kotlinx.coroutines.c.a.a(CoroutineScheduler.kt:586)
	at kotlinx.coroutines.c.a.a(CoroutineScheduler.kt:60)
	at kotlinx.coroutines.c.a$b.run(CoroutineScheduler.kt:732)
Caused by: java.io.IOException: sendto failed: EPERM (Operation not permitted)
	at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:590)
	at libcore.io.IoBridge.sendto(IoBridge.java:558)
	at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:125)
	at java.net.DatagramSocket.send(DatagramSocket.java:721)
	at net.syncthing.a.d.a.h.a(LocalDiscoveryUtil.kt:127)
	... 8 more
Caused by: android.system.ErrnoException: sendto failed: EPERM (Operation not permitted)
	at libcore.io.Linux.sendtoBytes(Native Method)
	at libcore.io.Linux.sendto(Linux.java:233)
	at libcore.io.ForwardingOs.sendto(ForwardingOs.java:194)
	at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:366)
	at libcore.io.ForwardingOs.sendto(ForwardingOs.java:194)
	at libcore.io.IoBridge.sendto(IoBridge.java:556)
	... 11 more
@zoj613
Copy link

zoj613 commented Apr 18, 2019

Same here. It doesnt work at all.

@l-jonas
Copy link

l-jonas commented Apr 19, 2019

Anything specific? Device model? Android version?

@ilya-epifanov
Copy link
Author

Happens on:
Pixel 4, Android 10
Samsung Galaxy S8, Android 9 (?)

@ilya-epifanov
Copy link
Author

It also seems to be interfering with global discovery, as it happens very very slowly.

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

No branches or pull requests

3 participants