-
Notifications
You must be signed in to change notification settings - Fork 797
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
fix: autohttps cert acquisition stability fixed #1719
fix: autohttps cert acquisition stability fixed #1719
Conversation
Sometimes autohttps cert acquisition failed, and it was because the challenge was initiated from a not-k8s-ready pod due to a readinessProbe that would require to get a successfull response before it marked the pod as ready. See: traefik/traefik#7033 (comment)
I think maybe some bug in here ( letsencrypt )
|
You must use a public domain, not a local one. When you get a cert from letsencrypt, they need to verify you are in control of that public domain, which means they try to reach it from the public internet. Reaching hub.jupyterhub-system.svc.cluster.local is not possible. You need something lile my-domain.com instead. Now this isnt a bug, and cert manager would do the same. Please refer to z2jh.jupyter.org for details, and discourse.jupyter.org for help on non-bugs. |
I don't think so , I change my config like this:
First , The JH in my native clustor , So I needn't a public domain . Then, I got a new error.
It seem like traefik got some unknow error, I don't know , I just try to config something. |
@zhuzeyu22, write a proper post on discourse.jupyter.org, that isnt just an error message - then it wont be marked as spam as the last one was. Please stop writing in github issues/prs for now. |
Sometimes autohttps cert acquisition failed, and it was because the
challenge was initiated from a not-k8s-ready pod due to a
readinessProbe that would require to get a successfull response before
it marked the pod as ready.
See: traefik/traefik#7033 (comment)
Closes #1716 - @AndrewSav provided very useful guidance making me realize this, and I'm truly thankful this help - it made my day! Thank you!!! 🎉 ❤️