question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My Android cannot connect to its relay server

See original GitHub issue

Logcat shows

W/ADB_SERVICES(  303): create_local_service_socket() name=shell:am startservice -a com.genymobile.gnirehtet.START
W/ADB_SERVICES(  303): service_to_fd() name=shell:am startservice -a com.genymobile.gnirehtet.START
W/ADB_SERVICES(  303): LS(9): bound to 'shell:am startservice -a com.genymobile.gnirehtet.START' via 20
D/ActivityThread( 5805): SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@15bc1463 className=com.genymobile.gnirehtet.GnirehtetControlService packageName=com.genymobile.gnirehtet intent=null}
D/ActivityThread( 5805): SVC-CREATE_SERVICE handled : 0 / CreateServiceData{token=android.os.BinderProxy@15bc1463 className=com.genymobile.gnirehtet.GnirehtetControlService packageName=com.genymobile.gnirehtet intent=null}
D/ActivityThread( 5805): SVC-Calling onStartCommand: com.genymobile.gnirehtet.GnirehtetControlService@36dd0860, flags=0, startId=1
D/GnirehtetControlService( 5805): Received request com.genymobile.gnirehtet.START
I/Vpn     (  895): prepare old:com.genymobile.gnirehtet,new:null
D/ActivityThread( 5805): SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@15bc1463 startId=1 args=Intent { act=com.genymobile.gnirehtet.START }}
D/ActivityThread( 5805): SVC-Calling onStartCommand: com.genymobile.gnirehtet.GnirehtetService@2c9e32eb, flags=0, startId=3
D/GnirehtetService( 5805): Received request com.genymobile.gnirehtet.START_VPN
I/Vpn     (  895): Established by com.genymobile.gnirehtet on tun0
D/ActivityThread( 5805): SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@1572763a startId=3 args=Intent { act=com.genymobile.gnirehtet.START_VPN cmp=com.genymobile.gnirehtet/.GnirehtetService (has extras) }}
D/ActivityThread( 5805): SVC-Destroying service: com.genymobile.gnirehtet.GnirehtetControlService@36dd0860
D/Posix   ( 5805): [Posix_connect Debug]Process com.genymobile.gnirehtet :31416
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.RelayTunnel.connect(RelayTunnel.java:49)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.RelayTunnelProvider.connectTunnel(RelayTunnelProvider.java:77)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.RelayTunnelProvider.getCurrentTunnel(RelayTunnelProvider.java:70)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.PersistentRelayTunnel.receive(PersistentRelayTunnel.java:63)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder.forwardTunnelToDevice(Forwarder.java:119)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder.access$300(Forwarder.java:34)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder$2.run(Forwarder.java:73)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.RelayTunnel.receive(RelayTunnel.java:101)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.PersistentRelayTunnel.receive(PersistentRelayTunnel.java:64)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder.forwardTunnelToDevice(Forwarder.java:119)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder.access$300(Forwarder.java:34)
E/PersistentRelayTunnel( 5805):         at com.genymobile.gnirehtet.Forwarder$2.run(Forwarder.java:73)
V/NotificationService(  895): enqueueNotificationInternal: pkg=com.genymobile.gnirehtet id=0 notification=Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 actions=1 vis=PRIVATE)
V/NotificationService(  895): pkg=com.genymobile.gnirehtet canInterrupt=true intercept=false
D/PhoneStatusBar( 1351): addNotification key=0|com.genymobile.gnirehtet|0|null|10139
V/NotificationService(  895): enqueueNotificationInternal: pkg=com.genymobile.gnirehtet id=0 notification=Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 actions=1 vis=PRIVATE)
V/NotificationService(  895): pkg=com.genymobile.gnirehtet canInterrupt=true intercept=false

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ManoLingam96commented, Jun 13, 2017

Actually, its working for me now. I wasn’t able to run adb reverse. So I decided to update/reinstall adb. I suggest @godofrayer to try the same. Thanks to @rom1v anyways!

0reactions
rom1vcommented, Jun 19, 2017

@godofrayer Does it solve the issue for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The connection is down or something is blocking it - AudioRelay
Click on the check firewall button in the server ; Click on restart; Click on the apply button; Try to connect the Android...
Read more >
Fix internet connection problems on Android devices
Open your Settings app and tap Network & internet or Connections. Depending on your device, these options may be different. Turn Wi-Fi off...
Read more >
EchoLink Android
Because there are only a small number of relay severs, you often cannot connect to the same conference or conference server that another...
Read more >
Smart Thermostat - What do I do if I cannot connect to my Relay?
Plug the Relay in the power supply. The LED should blink quickly five times (click here if the Relay LED does not blink...
Read more >
Syncthing Android uses relay server to connect to LAN
This is exactly the main reason why I don't use BitTorrent Sync anymore, the android client doesn't have much advanced settings so even...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found