-
Notifications
You must be signed in to change notification settings - Fork 28
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
Timeout when initializing SSH tunnel #157
Comments
I've tried this a few more times; it sometimes works, suggesting that it really is a timing issue. |
Hi @brendanf 👋 , Thank you for spotting this! Your reasoning makes sense, there may just not be enough time to activate and environment and start R within the timeout given. Do you want to try and send a patch for this? |
OK, coming up. Is there any documentation of package options that I should add this to? I haven't been able to find a single place for them. |
A lot of documentation on the options is still lacking, but I'm holding off on that until I structure them better ( |
Thank you for #158, I just merged it. Does this solve your problem here as well? |
Yes, although I added some documentation for the change in #159, and ropensci/drake#933 is still a (separate) issue with the SSH backend. |
I'm trying to submit jobs to my cluster (SLURM) via SSH in
drake
with theclustermq
backend. I need to load a conda environment on the cluster before running R. I modified the template to activate the conda environment (and also set the R profile):This failed with error message
Error in .subset2(public_bind_env, "initialize")(...) : Remote R process did not respond after 5 seconds. Check your SSH server log.
Checking the SSH server log as suggested:
I assume this is what the output should look like. I'm guessing that the issue is that loading the conda environment and starting R is taking longer than 5 seconds, so the initialization is timing out locally. Apparently this 5 second timeout is hardcoded. Would it be possible to expose it as an option?
The text was updated successfully, but these errors were encountered: