Open Arif420000 opened 3 years ago
Google colab disconnects after running a cell for about 3 minutes now. https://github.com/demotomohiro/remocolab/wiki/Frequently-Asked-Questions#google-colab-disconnected-before-or-right-after-remocolabsetupvnc-done
Google colab disconnects after running a cell for about 3 minutes now. https://github.com/demotomohiro/remocolab/wiki/Frequently-Asked-Questions#google-colab-disconnected-before-or-right-after-remocolabsetupvnc-done
I don't understand what you mean. This error appears when I play cell. Name Error. If you run my .ipynb file in google colab you will understand the problem.
How can I solve this? I will be grateful if you help me.
Thanks Arif
I recorded the screen. You will understand when you watch the video.
Video Link: https://drive.google.com/file/d/1xFGAl3ToBtip-wkKCLDOaYFD1GXQv01w/view?usp=sharing Please help me to solve this.
Your .ipynb file looks dangerous because it exposes xrdp server with weak password.
root_password = "12345678"
user_password = "12345678"
user_name = "colab"
msg += "✂️"*24 + "\n"
msg += f"root password: {root_password}\n"
msg += f"{user_name} password: {user_password}\n"
msg += "✂️"*24 + "\n"
subprocess.run(["useradd", "-s", "/bin/bash", "-m", user_name])
subprocess.run(["adduser", user_name, "sudo"], check = True)
subprocess.run(["chpasswd"], input = f"root:{root_password}", universal_newlines = True)
subprocess.run(["chpasswd"], input = f"{user_name}:{user_password}", universal_newlines = True)
Then, your code runs ngrok to expose the port used by xrdp.
In your screen shot, error cames from cloudflared related code, but your code in your .ipynb file doesn't have any cloudflared code. It looks like just expose colab instance with ngrok.
Actually, I don’t have much idea about coding. So I can't solve the problem. I used TurboVNC through this .ipynb file.
It was a sudden Properly run last night. It looks like the screenshot below if it runs properly.
I don't understand how to solve it.
Hi, Error appears when I run my .ipynb file in Google colab.
I have been using it for the last 4/5 months. Has been doing this error show since yesterday. I can't use it right now. I gave my .ipynb file link and screenshot link below. Please, I would be grateful if someone could solve my problem.
.ipynb file link: https://drive.google.com/file/d/1VLJX88JasLE54ghTynflBfQbAunVdO9a/view?usp=sharing (Edit: Do Not run this code as it expose xrdp server on colab with password "12345678")
Error Screen Short: https://prnt.sc/13hz4fy
Thanks Arif