Comments (22)
Great! Thanks for your patience
from eternalterminal.
from eternalterminal.
Say for example I need to shutdown my computer or my battery runs out. If I close the terminal window, and run et again, I get a new pty.
How can I reconnect to that same session?
from eternalterminal.
Actually I'm not sure it's working at all. I connected to my server, ran a count script, disconnected my wifi, reconnected and it never resumes.
Here are the logs:
etclientLogs.tar.gz
etserverLogs.tar.gz
FYI, there's two typo's in the new issue instructions.
this tar -cvzPhf /tmp/etclientLogs.tar.gz /tmp/et_err /tmp/etclient.INFO
should be this tar -cvzPhf /tmp/etclientLogs.tar.gz /tmp/etclient_err /tmp/etclient.INFO
and this tar -cvzPhf /tmp/etserverLogs.tar.gz /tmp/et_err /tmp/etserver.INFO
should be this tar -cvzPhf /tmp/etserverLogs.tar.gz /tmp/etserver_err /tmp/etserver.INFO
from eternalterminal.
Thanks @jasonehines , can you edit the issue template and make the changes? https://github.com/MisterTea/EternalTCP/blob/master/.github/ISSUE_TEMPLATE.md
Also, what OS is the client and server?
from eternalterminal.
The server is Ubuntu 17.04. The client is Solus 2017.04.18.0
from eternalterminal.
Hmm, it's definitely a client error. The relevant line in the log is this:
E0608 14:38:23.065757 9054 UnixSocketHandler.cpp:93] Error getting address info for ...: -3 (Temporary failure in name resolution)
This repeats and never ends meaning the client can't resolve the DNS entry after a disconnect. Strange. Maybe adding a delay will help. Please try this branch on your client and see if it fixes the problem: https://github.com/MisterTea/EternalTCP/tree/issue_36
from eternalterminal.
That worked. I was able to disconnect my wifi and my session continued with I reestablished the wifi.
from eternalterminal.
I spoke too soon. I guess I should have disconnected longer the first time. I tried again and got this message: /usr/local/bin/et: line 114: 25671 Segmentation fault $CLIENT_BINARY --idpasskeyfile="$TMPFILE" $VERBOSITY --host="$HOSTNAME" --port="$PORT" --log_dir="$LOG_DIR" 2> /tmp/etclient_err %
Here's the error log:
etclientLogs.tar.gz
from eternalterminal.
from eternalterminal.
Another thing that is easier is to run in verbose mode by passing the -v flag to et. I may be able to figure out the crash from the verbose logs.
from eternalterminal.
I've never used gdb, I'll try and figure it out. I was running et -v
that's all that showed in the log.
from eternalterminal.
I redid the build with the debug option but when I run gdb et
it says "/usr/local/bin/et": not in executable format: File format not recognized
. I'm not sure what you meant above about editing the et file.
from eternalterminal.
from eternalterminal.
I have no idea if I'm doing this correctly but here's the output:
gdb-et-output.txt
from eternalterminal.
from eternalterminal.
glad I left it open. Here it is with the backtrace:
gdb-et-output.txt
from eternalterminal.
Alright, I fixed that problem in the latest commit. Please update your branch and try again.
from eternalterminal.
It didn't crash this time. But it never reconnected. This is what the log is saying UnixSocketHandler.cpp:96] Error getting address info for drive.hinesnetwork.com:2022: -3 (Temporary failure in name resolution)
from eternalterminal.
Oh I found this that may be related: https://sourceware.org/bugzilla/show_bug.cgi?id=12224
from eternalterminal.
Alright I added a call to res_init() before calling getaddrinfo. Please update your branch and try again
from eternalterminal.
it works!
from eternalterminal.
Related Issues (20)
- Dependency/Readme clean up HOT 1
- Reverse tunnel listen interface HOT 9
- 100% CPU Usage 😢 HOT 8
- Using a different ssh port HOT 1
- Building et on AL2 HOT 11
- "Error handling new client: Failed a call to readAll" HOT 4
- Starting multiple sessions for the same host in parallel leads to crash HOT 3
- Why does 6.2.8 install header and cmake files? HOT 6
- `--ssh-option=ControlPath=...` does not create any filesystem objects
- `et -t` does not accept IP address HOT 3
- APT-KEY is deprecated, update instructions for install HOT 3
- Segfault starting etserver on raspberry pi zero HOT 3
- package for pkgx HOT 1
- GCP IAP proxy HOT 3
- Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) HOT 9
- Need a good way to kill off ET sessions HOT 5
- A way to prevent sourcing the shell's configs twice HOT 1
- et needs ssh's -t option to support running tmux with et HOT 2
- Overrided CTRL+C -> CTRL+B not working
- DynamicForward -D option doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eternalterminal.