Open shenhai-ran opened 1 month ago
Hi, thanks for the detailed report and sorry that the update wasn't smooth in your instance!
Yes, it's related to the new routines functionality that has lazy/dynamic dependency install from JSR during the cold start.
From the looks of it - you do have access to JSR from behind your proxy (granted docker traffic is routed in the same way as the traffic from your host where curl
request was made).
Another observation - there's only error for @std/yaml
, but not other packages. There's a possibility that it was this temporary problem: https://github.com/denoland/deno/issues/24073 in which instance it should've been resolved within a few minutes. Could you please re-try starting the services?
As another way to debug, you can try this installation standalone to see if it'll work:
docker run denoland/deno:distroless install jsr:@std/yaml
If this command is passing, then the issue is not the registry per se, but me doing something wrong with launching the routine 😅
Finally, If none of the above helps - it's possible to return to the legacy CLI as a workaround:
harbor config set legacy.cli true
P.S. I tried to find any instructions on using JSR behind a proxy/firewall, but there's nothing indicating that they'd prevent such use.
Hi,
Thanks for your quick feedback!
harbor.ollama
container, and has trouble with curl connection:
# curl https://jsr.io/@std/yaml/meta.json
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
For other harbor services require network connection, I have already setup my certificate and `curl` works fine.
3. Standalone installation doesn't work either, not surprisingly.
``` bash
Created deno.json configuration file.
error: jsr:@std/yaml was not found.
exit status 1
I guess there should be some docker services for the new routines, where can I configure them, so I can setup certificate as well?
Thanks!
there should be some docker services for the new routines
Yes, but it's fully inline in the CLI here, so any modifications of the volumes needs to happen there, I think another issue would be that it's a distroless
image, so it might not have means for a typical SSL cert mount/override
Hello,
I just updated to the latest main branch and I have trouble to get Harbor started, and the error message is like this:
It looks like the new
routines
functions require some connect withjsr.io
and I have triedcurl https://jsr.io/@std/yaml/meta.json
it produce some result:I am behind the proxy and has self-signed certificate and I don't know if it matters. Thanks for your help!
Regards,