Skip to content
Discussion options

You must be logged in to vote

The host target is a beta; no APK opens WatchClass yet.

Run the host target, python -m app.host. Vercel cannot serve either feature.

Why not Vercel:

  • Vercel's Python runtime speaks HTTP/1.1 and passes no response trailers, and gRPC carries its status in trailers, so Vercel refuses native gRPC with 415, while Connect and gRPC-Web work.
  • A stream needs one long-running process that hears what it writes itself, and a Vercel function lives for one request. On Vercel, WatchClass answers UNIMPLEMENTED (FEATURE_UNSUPPORTED), whatever LESSONS_STREAMING says.

Locally, from server/ with the dev install:

pip install -r requirements-host.txt
python -m scripts.seed_demo          # demo class, code DEM…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant