PankajMahato
PankajMahato5d ago

UNKNOWN_CERTIFICATE_VERIFICATION_ERROR

Getting below error when deploying a Typescript(Bun) Windmill Version: 1.572.2 bun install v1.2.23 (cf136713) Resolving dependencies Resolved, downloaded and extracted [6] error: UNKNOWN_CERTIFICATE_VERIFICATION_ERROR downloading package manifest windmill-client error: windmill-client@latest failed to resolve Non-zero exit status for bun install: 1
4 Replies
rubenf
rubenf5d ago
are you on EE? It looks like you're using private certificate or proxy which can be a bit tricky to make work and we do not provide support for that outside of EE
PankajMahato
PankajMahatoOP5d ago
@rubenf I am on Community Edition and on Corporate Network. I have even provided the NPM Registry's root CA - NODE_EXTRA_CA_CERTS=/windmill/certs/repos-refinery-dev.crt
fjørdlek
fjørdlek5d ago
can you try those:
#HTTP_PROXY=<yourproxy>
#HTTPS_PROXY=<yourproxy>
#NODE_EXTRA_CA_CERTS=<certs>
#BUN_TLS_CA_FILE=<certs>
#CURL_CA_BUNDLE=<certs>
#REQUESTS_CA_BUNDLE=<certs>
#NODE_TLS_REJECT_UNAUTHORIZED=0
#BUN_TLS_REJECT_UNAUTHORIZED=0
#WHITELIST_ENVS=REQUESTS_CA_BUNDLE,SSL_CERT_FILE,NODE_EXTRA_CA_CERTS,NODE_TLS_REJECT_UNAUTHORIZED,BUN_TLS_CA_FILE,BUN_TLS_REJECT_UNAUTHORIZED,HTTPS_PROXY,HTTP_PROXY,NO_PROXY
#HTTP_PROXY=<yourproxy>
#HTTPS_PROXY=<yourproxy>
#NODE_EXTRA_CA_CERTS=<certs>
#BUN_TLS_CA_FILE=<certs>
#CURL_CA_BUNDLE=<certs>
#REQUESTS_CA_BUNDLE=<certs>
#NODE_TLS_REJECT_UNAUTHORIZED=0
#BUN_TLS_REJECT_UNAUTHORIZED=0
#WHITELIST_ENVS=REQUESTS_CA_BUNDLE,SSL_CERT_FILE,NODE_EXTRA_CA_CERTS,NODE_TLS_REJECT_UNAUTHORIZED,BUN_TLS_CA_FILE,BUN_TLS_REJECT_UNAUTHORIZED,HTTPS_PROXY,HTTP_PROXY,NO_PROXY
PankajMahato
PankajMahatoOP4d ago
@fjørdlek Thanks Alex for the pointers. all these will be passed to Windmill-worker env? And all the certs would be same for Node,Bun and Curl? Will try these and post here. @fjørdlek The issue got resolved by SSL_CERT_FILE=<certs> NODE_EXTRA_CA_CERTS and BUN_TLS_CA_FILE are somehow not working

Did you find this page helpful?