Does the Remote SSH Console hang when opening any workspace? #8194
-
I'm assuming this latest question continues to be simple ignorance on my part, but I'm wondering why the Remote SSH Console functionality doesn't play well with uv or cloned repositories? Here's my attempt at making this reproducible:
So far so good? Here's where the path diverges:
Specifically, Positron says "Setting up SSH Host" and struggles to have a Console session start before the Remote SSH connection fails and tries to reconnect but can't. As a bonus, I can go to the terminal and connect to this same EC2 instance and still run everything successfully. It looks like Positron is set up on the server-side with a version of Python using pyenv (but not pip?), so maybe it's uv that isn't playing well with the Console? But then I haven't been able to get any code to run in the Console once I open the cloned repository on the remote, so maybe that's what's failing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Or maybe it's even more fundamental? Opening any folder in Positron on the server-side appears to lead to the Console hanging up and the SSH tunnel disconnecting and not being able to reconnect -- no uv or clone repository needed. |
Beta Was this translation helpful? Give feedback.
-
Hey @marcdotson , thanks for the issue. Could you paste the output of the About Positron menu item? I can't reproduce the problem, but I probably have a fairly different setup from you. Here's what I tried:
Hopefully something in there helps you? If not, I'd be interested to see some logs. Particularly, in the Output tab, the |
Beta Was this translation helpful? Give feedback.
Thanks @marcdotson for the feedback!
The general guideline I follow is RAM 5-10x the data size, so even for just 500 MB of data, I’d need something like 2.5 to 5 GB of RAM on top of the compute needed to run Positron components.
While our implementation is different, per the VS Code remote SSH docs: https://code.visualstudio.com/docs/remote/ssh#_system-requirements
Especially for data-science work that can be RAM intensive, I wouldn’t suggest less than a 4 GB instance, although it’s likely that somewhere between 2-4 GB of RAM is sufficient to operate Positron REH itself. We're in progress on so…