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

Emacs hang after disconection on specific action #2

Open
Thiel opened this issue Oct 31, 2017 · 0 comments
Open

Emacs hang after disconection on specific action #2

Thiel opened this issue Oct 31, 2017 · 0 comments

Comments

@Thiel
Copy link

Thiel commented Oct 31, 2017

Hi,

First of all thank you for starting this project ^^. I used docker-tramp in the past and was slightly frustrated that there was no kubernetes-tramp and didn't bother creating one myself.

I wondered if you've witnessed the following issue:
After being disconnected from the network tramp connection to the pod seems to cause problem.
When I try to either save or find-file (C-x C-f or M-x find-file) emacs would hang and reject all input beside C-g C-g that would unstuck it.

I get the following message once in the Message buffer

Tramp: Opening connection for my-pod-798dc457cf-ljrgp using kubectl...
Tramp: Sending command ‘exec kubectl  exec -it  my-pod-798dc457cf-ljrgp sh’
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for my-pod-798dc457cf-ljrgp using kubectl...failed
tramp-file-name-handler: Args out of range: #<buffer *tramp/kubectl my-pod-798dc457cf-ljrgp*>, 1, 97

I'm using

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"clean", BuildDate:"2017-09-29T05:56:06Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2017-09-28T22:46:41Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Seems to hang when I'm using tab completion (or when it's being trigger by ido-mode)

I could dig a little more later in the week (weekend probably) but wondered if it was a know issue ?

Best regards,

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

1 participant