Skip to content

Emacs hang after disconection on specific action #2

Open
@Thiel

Description

@Thiel

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions