Sudhaker Raj
Sudhaker Raj
Hope this helps as a quick-n-dirty workaround. `return ['bash', '-c', 'CURDIR=$(pwd) && cd ${THEIA_HOME} && exec yarn theia start ${CURDIR} --hostname=0.0.0.0 --port=' + str(port)]`
No it doesn't help. The health-check loop exits the minute port is available and doesn't allow for real readiness (i.e. status 200 OK)
Any update?
> It looks like the check accepts any HTTP status: > https://github.com/jupyterhub/jupyter-server-proxy/blob/ee403c608f9b92ed712576e50be4c4539ca939a7/jupyter_server_proxy/handlers.py#L473-L476 I'm not clear about the use-case behind launching the proxied UI before the back-end service confirms the "http-200"...
> My guess is it's because the check is a "dumb" http request, whereas your application may require cookies or headers to be set to return a successful status. Makes...
> I was thinking maybe a callable, so you could specify both the URL path and acceptable status codes. Even better :-)
+1 ; making existing Youtube playlist available in Invidious would be great! May be we can support both snapshot & proxy modes. 1. Snapshot mode copies once into local playlist...