-
Notifications
You must be signed in to change notification settings - Fork 13
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
bvm install command not correctly handling proxy certificate #22
Comments
@mitchdotdeveloper The certificate value you enter is incorrect. |
@GiladShoham I followed the npm config docs and set the
Also I notice there is another issue #23 - I'm also on a Mac and running |
Can you paste here how did you set the values in the bvm config? |
|
Really weird |
Yes I was able to manually add it to the configuration file and it showed as expected with the |
@mitchdotdeveloper Any specific reason for using ZScaler proxy ? By the way, without the proxy the installation fails due to incorrect certificate of bvm.bit.com. Do check the issue teambit/bit#5213 |
@iamshrivishnu I have to use it for my company. I read your linked issue - I'm not sure what you are suggesting as a fix? |
Anyone figure out a work around for this? I am stuck, I was able to get around the certs for NPM and Yarn but not BVM. |
@mitchdotdeveloper I feel you need to get *.bit.dev whitelisted from the ZScaler proxy as BVM uses a handful of resources and with the approach the team is using you will not be able to complete the setup. Currently the system follows these steps:
Since the application will use the same certificate that you generated for both Step 1 and Step 2, the installation will fail. Getting the wildcard whitelisted will not only get the issue resolved for now but also will help in the steps involved to setup bit. |
I super appreciate the explanation @iamshrivishnu, but I don't think it will be easy to get a url whitelisted to a company's proxy certificate. By chance is there a way install |
I'll most likely be closing this issue soon as the way around it was whitelisting the URL's used by Bit in ZScaler. |
Oh bummer about not having another workaround. By chance have you already tried downloading bit.dev from their releases page? I'm in the middle of trying it out, and not sure if you've already had any experience doing so/know if it works. |
I started to get a workaround, but it ended up crashing for me. I'm posting in case it works for you @mitchdotdeveloper : I ended up pulling their linux tarball from their releases page. Did a |
@gboujaoude As per the current code we can use 2 ways to install
Hope this works. |
Hi @iamshrivishnu thank you for the examples. I'm running the I tried testing if
Any thoughts? |
Agreed with your reasoning. |
This seems like a bug. |
It's a bummer that neither the cert (we use zscaler as well) option or the manual options work here. I have failures left and right 😞 With the manual install option: I get:
|
In pursuit of other cert related issues I came across the NODE_EXTRA_CA_CERTS option in node. By setting this option in my shell file |
Creating a new issue from recent comments on issue #18 @GiladShoham
versions
bvm -v 0.0.30
node -v 16.13.0
npm -v 8.1.2
bvm config
error
additional information
proxy.cert
is a valid root certificatehttps://storage.googleapis.com/storage/v1/b/bvm.bit.dev/o?prefix=versions/dev/Darwin/
in my browser - I get a 200 ok and data backIt seems that the bvm install command is not getting the necessary intermediate certificates necessary from the proxy. But having said that I don't know enough about proxies in practice to know if that is accurate
The text was updated successfully, but these errors were encountered: