splunk / jupyterhub-istio-proxy

JupyterHub proxy implementation for kubernetes clusters running istio service mesh
Apache License 2.0
32 stars 14 forks source link

upstream connect error or disconnect/reset before headers. reset reason: connection failure #47

Open usmcamp0811 opened 2 years ago

usmcamp0811 commented 2 years ago

I have been trying for over a week to get JupyterHub to work with an Istio Service Mesh. Your blog post is about the only real resource out there. I have implemented your proxy, and I have hacked (eerr patched) kubespawner using your open MR as a guide. Everything seems to work because the VirtualServies all spawn, and they reference the lab pod.

After I log in and my lab pod spawns I get the following error in the browser:

upstream connect error or disconnect/reset before headers. reset reason: connection failure

I've tried all sorts of things to debug. I see log entries in the hub, proxy and the lab pods that would seem to indicate that they can all talk.

My thought is that maybe I have something in my jupyterhub_config.py that is messing stuff up but I don't know what it could be.

Do you have any recommendations for things I might should try?