Skip to content
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

what can i do if a CLI session times out? #1763

Closed
whitewum opened this issue Feb 12, 2020 · 5 comments
Closed

what can i do if a CLI session times out? #1763

whitewum opened this issue Feb 12, 2020 · 5 comments
Assignees

Comments

@whitewum
Copy link
Contributor

image

the console's session times out, and a scary warning is raised.

I know the reason and restart the CLI. But the message is a bit confusing and hard to guess the solution for other users.

I suggest to write a more friendly suggestion or no reconnect again by the CLI itself.

@Shylock-Hg
Copy link
Contributor

I don't think it's session expire.
If so, will print like:

(user@127.0.0.1:3699) [(none)]> show spaces
[ERROR (-5)]: Session `1' has expired
Mon Mar  2 15:27:23 2020

@whitewum
Copy link
Contributor Author

whitewum commented Mar 2, 2020

That's wired. The connect was idle for someday and I came back to reuse the CLI. And then that warning was raised.

The server is OK. Quit CLI and reconnect will be connected successfully.

What else the problem can be. Any guess.

@Amber1990Zhang
Copy link
Contributor

That's wired. The connect was idle for someday and I came back to reuse the CLI. And then that warning was raised.

The server is OK. Quit CLI and reconnect will be connected successfully.

What else the problem can be. Any guess.

Good quetstion. I encountered the same problem as you.

@Shylock-Hg
Copy link
Contributor

Shylock-Hg commented Mar 2, 2020

I think maybe it caused by the thrift idle timeout (although we set infinity default, maybe it just drop connection when timeout but not keep alive the connection according the source code, so the infinity idle timeout is overlap by the tcp protocol connection timeout :).

@Shylock-Hg Shylock-Hg self-assigned this Mar 2, 2020
@CPWstatic
Copy link
Contributor

The clients will do retry in latest version.

yixinglu added a commit to yixinglu/nebula that referenced this issue Jan 31, 2023
* Fix the dependency of argument plan node

* Add test features

* make ps

* Rename feature and scenario

* Fix tck tests

Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants