-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Notebook - ProxyError "426 Upgrade Required" in proxy environment #5554
Jupyter Notebook - ProxyError "426 Upgrade Required" in proxy environment #5554
Comments
@kim-sardine I think this is related to the notebook image you are using and not the Jupyter Web App or the notebook controller. Do you encounter this issue when using a different notebook image? You can try |
/area jupyter |
@davidspek Thanks for your reply, same problem occurred with the image you said. however, I've just found that it's an since every jupyter notebook pod has so I've created istio apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
name: internal-proxy
spec:
addresses:
- <PROXY_SERVER_IP>/32
hosts:
- internal.proxy # ignored anyway
location: MESH_EXTERNAL
ports:
- name: http
number: <PROXY_SERVER_PORT>
protocol: TCP
resolution: NONE and it works like a charm. |
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
I've setup kubernetes and kubeflow on internal proxy environment.
and I created Jupyter notebook using kubeflow Notebook server with default image (gcr.io/kubeflow-images-public/tensorflow-1.15.2-notebook-cpu:1.0.0).
when I ran
pip install flask --trusted-host=pypi.python.org --cert=CERT_PATH --proxy=PROXY_URL
(flask - for example) on this notebook, I got error below.when I run same command on same image without kubeflow notebook server, I can install python packages.
I've never seen
426 Upgrade Required
error while working on proxy environment. I think this probably have something to do withjupyter-web-app
ornotebook-controller
.Environment:
kfctl version
): 1.2.0minikube
): kubeadmkubectl version
): v1.16.15/etc/os-release
): Ubuntu 18.04.3 LTSThe text was updated successfully, but these errors were encountered: