-
-
Notifications
You must be signed in to change notification settings - Fork 227
Support for Deepnote #76
Comments
I tried to run remocolab on deepnote but I cannot login to ssh. I ran following code on the notebook cell:
Then ran following command on deepnote's terminal:
sshd worked on the server and setupVNC ran without errors but when I tried to connect the server, I got following error:
Note:
It seems deepnote shutdown the instance if I didn't use it for long time like google colab. |
Hi! Any updates on Deepnote support? I noticed a new branch being created, which fortuately fixes the I found out how to install
and
(at the time of testing (now))
It gets me closer than ever before to a connection, but at the last minute the above error message appears on the server. |
Hello! It's odd, but it appears my findings are inconsistent with your notes! Notes:
Here is the code block I used for testing:
I'm not so sure about this. From my experiments, anything inside the It appears that this is the case because
This makes sense, because the remote persistent filesystem caps free accounts to 5GB of storage. However, the local usable filesystem is much larger, at 100GB. Anything inside the local filesystem will, however, be purged during a hardware restart or instance stop. Note that this means every Python module installed must be reinstalled after a hardware restart (unless a virtualenv is used inside persistent storage), because the directory It also appears Deepnote gives 750 hours of free uptime per month, meaning 100% uptime of a machine, so you can have a persistent instance! (wouldn't bet on it though, the instance might get powered off) I've tested this as my friend is now hosting a Discord bot on Deepnote, without issue (no, this is not against the ToSI don't think) The bot is still online, even after over 8 hours. 😃
|
Cloudflare takes 2 or more minutes sometimes to establish connection
…On Wed, 23 Dec, 2020, 11:54 pm ochen1, ***@***.***> wrote:
This is the error message I am getting with cloudflared:
[image: cloudflared error message screenshot]
<https://user-images.githubusercontent.com/59662605/103020560-d8d62d00-4505-11eb-920a-fe5ca09912ce.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5U4PWVIOEXAPM4B4LTSWIYUXANCNFSM4TIHX33A>
.
|
Wait for sometime....it will work.. Im also faving the delay to establish
connection
…On Wed, 23 Dec, 2020, 11:55 pm ochen1, ***@***.***> wrote:
Is this expected? I am getting a <defunct> with ps aux | grep sshd 🤔
[image: defunct screenshot]
<https://user-images.githubusercontent.com/59662605/103026555-73883900-4511-11eb-9a0c-1c4854076622.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5S5TYK2Z3JNBL6GZITSWIYYBANCNFSM4TIHX33A>
.
|
Nope, nvm, I was just being stupid lol. For some reason running Also, Apparently, the error I posted before (connection refused; bad handshake) was because Now I am getting this error:
Looks like @demotomohiro also got that error! |
Ohh i see... plz let me know how you get that one fixed... same thing
happening for me...within 10 mins of using remocolab
…On Thu, 24 Dec, 2020, 12:06 am ochen1, ***@***.***> wrote:
Nope, nvm, I was just being stupid lol.
For some reason running remocolab failed to start sshd, so I had to
invoke it manually via /usr/sbin/sshd.
Also, remocolab did not automatically add port configuration to
/etc/ssh/sshd_config for some reason. I added it manually using terminal
+ vim.
Apparently, the error I posted before (connection refused; bad handshake)
was because cloudflared could not find the open port on localhost.
Now I am getting this error:
Connection closed by UNKNOWN port 65535
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5QM33PQ2QUPOFS7SELSWI2DLANCNFSM4TIHX33A>
.
|
@rayanfer32 Are you running on Deepnote? I'm not sure if this issue is related to what you are trying to do. |
Its happening in colab too
…On Thu, 24 Dec, 2020, 12:18 am ochen1, ***@***.***> wrote:
@rayanfer32 <https://github.com/Rayanfer32> Are you running on Deepnote?
I'm not sure if this issue is related to what you are trying to do.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5XCPJP5ZXLMF2NHA5LSWI3OHANCNFSM4TIHX33A>
.
|
This issue is for adding support for Deepnote #76 It is note related to Google Colab or anything happening there. If you are experiencing an issue, feel free to open another new issue for it. Just make sure to look for duplicates 🤗 |
Its fine... i didnt notice the title... btw support for tunnels seems to be
getting blocked eventually
…On Thu, 24 Dec, 2020, 12:26 am ochen1, ***@***.***> wrote:
This issue is for adding support for Deepnote #76
<#76>
It is note related to Google Colab or anything happening there.
If you are experiencing an issue, feel free to open another new issue for
it. Just make sure to look for duplicates 🤗
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5UVN2FXT4SDJKRHNPTSWI4MLANCNFSM4TIHX33A>
.
|
Can you verify ssh inside notebook using paramiko or some tool
…On Thu, 24 Dec, 2020, 12:34 am ochen1, ***@***.***> wrote:
This is odd: sshd is started on port 8022 without error.
[image: sshd]
<https://user-images.githubusercontent.com/59662605/103029123-599d2500-4516-11eb-8f6c-fdf778687003.png>
ngrok is forwarding to localhost (which 0.0.0.0 covers) port 8022.
[image: ngrok]
<https://user-images.githubusercontent.com/59662605/103029161-6caff500-4516-11eb-9888-0b965c0a9b3a.png>
Yet I am unable to connect to ssh:
[image: ssh]
<https://user-images.githubusercontent.com/59662605/103029356-e0520200-4516-11eb-86b6-47d7b7d7c266.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5QQFTOY4GK4H4JVEATSWI5KNANCNFSM4TIHX33A>
.
|
After some more debugs, I got the following error message (found an error at last)! When running
(9558 was a random arbitrary port I chose) EDIT: You can use |
Deepnote allow users to use custom docker images... more over here: This means we can load docker with xfce4 and cloudflared preinstalled |
The last time I checked, the only docker base image supported by Deepnote the is the default image, provided by Deepnote. 😭 This means you will still have to take time to install the dependencies. RIP. 🙁 It might be, however, to create a Dockerfile to install the dependencies for us, which may or may not reduce the startup time. Either way, Deepnote offers 24/7 machines, whose instances never have to be powered off (unlike the 12h limit of Google Colab), so installation is only necessary once, as long as you keep your "hardware" running, for example with the following code. import time
while True:
time.sleep(10000) |
|
Update: Deepnote added support for custom Docker images |
Is your feature request related to a problem? Please describe.
Deepnote just launched a few days ago, and it looks like they have 24/7 instances. I feel many people would love to be able to SSH & VNC into their 24/7 Deepnote servers.
Describe the solution you'd like
I tried to run remocolab on Deepnote, but
nvida-smi
not being present caused some errors.Following the StackOverflow answer here, I was able to at least get the python-apt module working.
Would support for Deepnote be possible?
The text was updated successfully, but these errors were encountered: