Colab keeps disconnecting very frequently - google-colaboratory

I keep trying to connect to the hosted runtime on Google Colab, but it disconnects me after a few seconds (up to 10 secs).
The JavaScript Console of Firefox (the latest version) shows this:
Error: "SocketIO error: xhr poll error: 0 - TransportError"
I experience similar disconnect with Kaggle. How can I fix that? Thanks.
Edit: This may not be the final answer, but turning off VPN seems to fix the issue with Colab. Turning VPN back on does not cause the issue, but Kaggle still does not work, it might now just be a Kaggle issue.
Edit 2: With VPN back on the issue comes up again.

Related

npmjs.com is showing cloudflare error 1034, and npm CLI is showing E403

I know this is a kinda weird question, but I couldn't find any relevant info about this issue elsewhere so I took the easier way and wrote here.
My problem seems to be related only to my PC, that I cant access npmjs.com, I have no clue why. When I try accessing the npmjs.com website it tells me that Cloudflare errored with error 1034 ( Edge IP Restricted )
Cloudflare error image
This does not happen when accessing docs.npmjs.com, that works just fine. The other part of the problem is that not even npm CLI is working, when I try to npx or install something it errors with E403 - Forbidden.
npm CLI E403 image
As I said previously this only happens on my PC, elsewhere on my network this does not happen.
I have a desktop PC connected with a cable to my router, but when I check with my work laptop on wifi, everything is working as it should be.
I tried connecting it straight to the modem, but that does the same so I isolated it to be an issue on my PC only.
This issue has been happening since yesterday when I found out after coming back to node.js after some time.
Just in case it could be related, I'm using a pi-hole with OpenDNS settings ( Had an unused raspberry pi, so I followed tutorial on youtube on how to get it working ).
To this day I haven't had a single problem with it, I've been using it for over a year now.
Thank you for reading and potentially answering my question.

How to prevent Disconnecting from a runtime (Google Colab)

Im using Colab Free for a long time. My runtime gets disconnected every few minutes so I decided to make a research on Stackoverflow. I find some Chrome DevConsole (How to prevent Google Colab from disconnecting?) Codes and they were working until this day. Today It started to get disconnected again.
[Q] How can I keep my runtime alive?
You should move to an ec2 in amazon.

Colab: How to disconnect from session without closing the tab?

Some background
My computer fan goes crazy when I am using Google Colab, it definitely uses local resources somehow. I am running very long processes (over 4 hours). Yesterday, it occurred to me that I was disconnected, I thought my session had crashed since I stoped receiving the status updates of my task's progress bar. But then after clicking on Connect to a hosted runtime I was able to reconnect to that session and just interact with it fine. Given that Google Colab uses some of my local resource, I looking for a way to put the client application on halt for a little bit.
Question
How to manually disconnect from my remote session without crashing/terminating it? Is that even possible?
Note:
There is an answer for Does Google Colab stay connected when I close my browser? that says
The current cell will continue executing once you close your browser, but the outputs will not end up in the notebook in Drive.
I would be fine if I am able to leave the session running remotely but not being able to access the outputs on the notebook, given that I save the result on google drive when the process is done. So, not been able to see the output on the notebook would not be an issue for me.

Unable to get a connection in Google Colab

I've been trying to connect to a hosted runtime on Google Colab as usual. Until now, it worked perfectly, but for some reason right now everytime I press 'CONNECT' it shows up 'No backends available' and doesn't connect to a run time. Tried it in incognito mode as well and also tried different browsers but still this problem persists.
Screenshot2
Screenshot1

Cannot restart Google Cloud VM

I ended my trial period with google cloud, and I have upgraded my account, still my virtual machine is stopped and I get this following error, which I couldn't manage to solve.
Starting VM instance "hasoffer-api" failed. Error: The default network interface [nic0] is frozen.
Can anyone give me a tip to solve this issue?
Many thanks in advance
Most of the times, that error is due to a deletion process of the project or a recently change in your billing account, what it seems to be your problem.
In this case, it is neccesary to file a case to Google Support.