control-plane-flow icon indicating copy to clipboard operation
control-plane-flow copied to clipboard

Broken exit from bash

Open dzirtusss opened this issue 1 year ago • 2 comments

This seems to be a regression in 2.2.0 and happens sometimes, looks like mostly after some usage of bash, not when quit immediately.

When running exit from bash, CLI seems start crashing.

cpl run bash ...
....
root@command-e5cc9a1d-5173-46b9-a11d-d1e23abeb0d6-89ck5:/app# exit
exit
Failed to create terminal session: command terminated with exit code 1
ERROR: Command exited with non-zero status.
?64

hichee % cpl --version
2.2.0

But container is stuck as Active:

image

dzirtusss avatar Jun 14 '24 12:06 dzirtusss

@rafaelgomesxyz @dzirtusss is this still an issue?

justin808 avatar Oct 07 '24 01:10 justin808

I believe this an issue with cpln cli, an easy way to replicate this is to stay connected to a replica and just wait, when the replica gets recycled, the cli loses connection to it and shows that Failed to create terminal session, this happens even with the web UI.

borela avatar Oct 07 '24 20:10 borela