chisel icon indicating copy to clipboard operation
chisel copied to clipboard

Any chance to support google colab VM to creat a Reverse proxy?

Open quaggalinux opened this issue 4 years ago • 1 comments

We can run below python code in google colab web console for expose web service:

from google.colab.output import eval_js print(eval_js("google.colab.kernel.proxyPort(8000)"))

That means we will listen port 8000.

colab will output URL like: https://aw6wrk463qm-496ff2e9c6d22116-8000-colab.googleusercontent.com/

But google colab explain it cannot support websocket, so we cannot support web Reverse proxy too. I downloaded chisel and run it in colab web console to listen port 8000 because colab support ! prefix to run all linux command. And then I run chisel in local linux as client, but seems like it cannot communicate with chisel server through "aw6wrk463qm-496ff2e9c6d22116-8000-colab.googleusercontent.com:443".

Is there any chance to support google colab VM to creat a Reverse proxy?

quaggalinux avatar Sep 02 '21 21:09 quaggalinux

Chisel requires web sockets

On Fri, 3 Sep 2021 at 7:22 am quaggalinux @.***> wrote:

We can run below python code in google colab web console for expose web service:

from google.colab.output import eval_js print(eval_js("google.colab.kernel.proxyPort(8000)"))

That means we will listen port 8000.

colab will output URL like: https://aw6wrk463qm-496ff2e9c6d22116-8000-colab.googleusercontent.com/

But google colab explain it cannot support websocket, so we cannot support web Reverse proxy too. I downloaded chisel and run it in colab web console to listen port 8000 because colab support ! prefix to run all linux command. And then I run chisel in local linux as client, but seems like it cannot communicate with chisel server through "aw6wrk463qm-496ff2e9c6d22116-8000-colab.googleusercontent.com:443".

Is there any chance to support google colab VM to creat a Reverse proxy?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpillora/chisel/issues/302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X44F3GDUWWTZY3LMNDLT77TKFANCNFSM5DKASGFQ .

jpillora avatar Sep 02 '21 22:09 jpillora