-
Notifications
You must be signed in to change notification settings - Fork 608
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
Gnirehtet disconnected from relay server #42
Comments
What version of Gnirehtet do you use? On which platform? Could you see relevant problems in the logs (in the relay server window and through |
Version 1.1.1 on windows 7 ultimate 64 bit
|
Do you have a firewall or something like that (on Android or your computer)? When enabled, what is the result of:
? The relay server is running in another terminal, right?
|
It says tcip:31416 tcp:31416 when I try adb reverse --list And no there is no relay server running in another terminal. When I try ./gnirehtet relay another window opens up but closes |
OK, so the problem is that your relay server is not running.
What's your operating system? On Linux, it should not open another window. |
Windows 7. I am running it without "./" |
I have the same issue, except:
Logcat: If there's anything else I can do to help, just ask. |
It behaves as if If you have netcat on your device, you can test:
If it works, then you should be able to send text between the computer and the Android device. |
Executing When I do |
Thank you for your tests, that's very helpful. So this is not an Could you figure out the value of |
Sure, but I don't know how I would go about it. EDIT: I never said, but I'm using the latest release (2.0) not HEAD. I don't have the android SDK or gradle installed. |
I just created a tool to print its value. Download Push it to the device:
Then run:
|
this is the output: |
OK, got it 👍 Could you confirm that this APK fixes the problem, please? |
It goes much further. I see a lot of lines like this:
However, when I try to load a web page, it takes a while but then it tells me that the phone is offline. My guess is that there are no routes on my computer to route the data from the gnirehtet to the internet. |
Are you in an enterprise network requiring a proxy? |
No. We're NATed but that's transparent to the machines on the network. |
👍 Thank you very much for your help! Bug fixed by c2b0fc9 |
Happy to help. Just did a speedtest. I can saturate the 24Mbps line when downloading but I'm not even close when uploading. (not a bug, just a remark ^^) |
What is the max upload bitrate directly from your computer? EDIT: or even better than a pull, transfer a file using
|
From the computer, I can saturate the 24Mbps link.
I also tried using scp, but that didn't work. Lots of:
Overall, I think gnirehtet is capable of saturating the link, but there is a problem with tcp sequence numbers somewhere, which of course resets connection and slows things down. |
Could you open a new issue with these data, please? There is probably an issue with TCP window management. |
Done: #43 |
Port forwarding created by "adb reverse" only supports IPv4. Therefore, use 127.0.0.1 instead of the value returned by InetAddress.getLocalhost(), which is ::1 on some devices. See <#42>.
it worked for me, thanks |
hey i have a issue that whenever i open a game it automatically disconnect |
Whenever I connect my phone to pc and type the command gnirehtet rt it starts the server and installs the file on my phone I get the vpn sign as well on my phone but I instantly get the notification from Gnirehtet on my phone that "Disconnected from relay server"
I've tried using multiple cables so its not the cable or the usb port
The text was updated successfully, but these errors were encountered: