jpillora / jpillora/chisel

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

Open
#302 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Google Colab setup with google.colab.output.eval_js and the chisel server and client commands described in the issue. Investigate whether the generated colab.googleusercontent.com endpoint can communicate with chisel over port 443 and support the requested reverse-proxy behavior. Done would require a documented, working Colab-compatible approach or a clear explanation of the blocking limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.