mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
pkg.pkl-lang.org SSL certificate expired #268
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fretb on GitHub (Jan 28, 2025).
Hi everyone,
Not sure if this is the right place to inform you, but it seems the SSL certificate at pkg.pkl-lang.org has recently expired:
Could you please renew the certificate? Our CI pipelines will be very happy.
Thank you
@broguinn commented on GitHub (Jan 28, 2025):
Same here.
@bioball commented on GitHub (Jan 28, 2025):
We're looking into this
@jaskaur18 commented on GitHub (Jan 28, 2025):
:(
@all2ham commented on GitHub (Jan 28, 2025):
FYI we're not just down in CICD, all of our prod deployments are at risk as every new container that boots up attempts to download
pkg.pkl-lang.org/pkl-go/pkl.golang@0.8.1#/go.pkl@bioball commented on GitHub (Jan 28, 2025):
This is now resolved; everything should be working again. Apologies for this; we'll provide an update on details here soon.
@all2ham commented on GitHub (Jan 28, 2025):
we've resolved this by pulling 0.8.0 out of our pkl cache dir and committing it directly into our repo
@broguinn commented on GitHub (Jan 28, 2025):
I'd love to know how we can make pkl-lang.org not be a hard dependency for package inclusion in the future.
@StefMa commented on GitHub (Jan 28, 2025):
Hmm.. Basically pkl-lang.org is just redirecting to the public packages published via github releases, right? 🤔
Should be quite easy to spin off such a thing on any hosting provider of your choice...
Still I guess a real mirror would be great. Looking at you https://github.com/apple/pkl-evolution/pull/4 and https://github.com/apple/pkl/issues/420
@bioball commented on GitHub (Jan 28, 2025):
It indeed is just a redirect to GitHub releases. However, it also affects the identity of the package. For example, the
package://pkg.pkl-lang.org/pkl-k8s/k8s@1.1.2is a different package thanpackage://github.com/apple/pkl-k8s/releases/download/k8s@1.1.2/k8s@1.1.2.But, you're right that the mirroring feature would help avoid a hard dependency on pkl-lang.org. This is something we're planning on looking into this year.
Also: if you are using projects, you can also avoid the network dependency by pre-seeding the cache directory, for example, with something like:
And if you are directly importing packages via their absolute path, this works too:
You can also set the cache dir (via
--cache-dir, or within yourPklProject) to a path within your repo as a way to vendor your dependencies.I'm closing this issue now that the problem is resolved. And we'll follow up with more details soon!
@bioball commented on GitHub (May 13, 2025):
Following up with a quite belated comment here:
We've improved the monitoring around our certificates; we don't expect this to happen again going forward.
We're also working on a new feature, which allows users to avoid depending on pkg.pkl-lang.org in http-rewrites.
After that feature has landed, there will be multiple ways to avoid connecting the pkg.pkl-lang.org:
In the future, it might also make sense to promote vendoring to a first-class citizen, to make the experience a little easier on users.
@StefMa commented on GitHub (May 13, 2025):
Thanks for the update @bioball !
Regarding 3., is it already possible to mirror pkg.pkl-lang.org? 🤔