-
Notifications
You must be signed in to change notification settings - Fork 25
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
Not receiving OO
causes session to get stuck
#33
Comments
OO
causes session to get stuck
Yeah a timeout seems reasonable; all the same, the terminating OO should come since this is all TCP. |
It very much should! I have spent hours and hours trying to pinpoint how
they get lost, but to no avail.
…On Tue, Oct 18, 2022 at 4:58 PM Felipe Gasper ***@***.***> wrote:
Yeah a timeout seems reasonable; all the same, the terminating OO *should*
come since this is all TCP.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABHCWXMFXBW6WRQ6LGFCBLWD42RPANCNFSM6AAAAAARIRSPRM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I wonder if it’s a bug in Maybe |
I suspected `sz`, too. I've stared at it a LOT today and it doesn't seem to
be doing anything out of the ordinary.
https://github.com/UweOhse/lrzsz/blob/master/src/lsz.c#L1855-L1857 is
pretty standard.
I haven't been able to trigger it if I run either `sz`, `bash`, or `gotty`
under `strace` :(
Either way, if `sz` is broken, we still need to support current versions of
it.
|
i have same problem. when i use it stucks the tty, not my frontend terminal. maybe it is a problem of lrzsz? what can i do for it? In my computer, it works fine. but when i use it in k8s exec api to access a pod, that error comes |
It seems like a relatively common problem that the terminating
OO
fromsz
gets lost or misparsed or something. See all these issues:sorenisanerd/gotty#46
tsl0922/ttyd#239
tsl0922/ttyd#279
Eugeny/tabby#6259
cferdinandi/tabby#132
Eugeny/tabby#5196
trzsz/tabby-trzsz#2
Eugeny/tabby#5132
This lets me call
.allow_missing_OO(true)
on the session object which SEEMS to make the problem go away:...but I can't reliably trigger the problem, so my confidence in this approach is not great.
Do you have thoughts on how to address this? The spec suggests that if the
OO
does not arrive, you should just move on with your life after a brief timeout, so maybe we just need to implement that timeout? Just getting stuck in this state doesn't benefit anyone.The text was updated successfully, but these errors were encountered: