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

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

@ilya-epifanov

Description

@ilya-epifanov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions