when use netlify deploy, there are errors like below:
E:\learning\gatsby\xxxxx(master → origin)
$ netlify deploy --prod --auth xxxxxx --dir=public --functions=lambda
» Error: request to https://api.netlify.com/api/v1/sites/xxxxx failed, reason: connect ETIMEDOUT 35.201.69.186:443
Is there some way to use a proxy for netlify deploy?
Hi, @luke, I’m using netlify-cli to deploy my site, use command "netlify deploy --prod --auth xxxxxx --dir=public --functions=lambda ", and using shadowsocks proxy.
but I don’t know how to use netlify-cli with proxy to deploy a site to netlify, is there any suggestion?
Hi, @chars, I was using proxy and VPN interchangeably when they are not the same thing. This was a mistake on my part.
With a VPN this is possible. With a proxy, there is no way to do this currently. There is an open feature request for this here:
I’m sorry to have provided incorrect information. If/when the feature request (using netlify-cli via proxy) becomes possible, we’ll update you here to let you know about it.