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

client calling shutdown causes repeating error "channel 3: open failed: connect failed: Connection refused" #64

Open
howff opened this issue Sep 25, 2021 · 0 comments

Comments

@howff
Copy link

howff commented Sep 25, 2021

Symptom:
server window is filled with repeating messages (several times per second):

channel 3: open failed: connect failed: Connection refused

How to reproduce:

ssh -L PORT:localhost:PORT serverhost
% Rscript -e "remoter::server(port=PORT)"

RStudio:

> require('remoter')
> remoter::client(port=PORT)
remoter> quit()
> remoter::client(port=PORT)
remoter> shutdown()
>

After the shutdown() the server exits (client killed server) and then the messages start. You can logout from the serverhost (messages stop) and login again (to recreate the ssh tunnel) but the messages continue! The only way to stop them is to exit RStudio.

Using exit(client.only=FALSE) has the same effect.

(Separate issue, and worse, if you attempt to use client() now then the whole RStudio session totally hangs and cannot be killed!)

Environment:
client RStudio 1.4.1717, server R 4.1.1, freshly installed 'remoter' package (0.4-1) from github on both ends

See also:
#25 (comment)

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