Meteor and proxy

Hi everyone,

I would like try Meteor on Ubuntu VM at my work. For access to Internet, it’s needed to configure a proxy.

I have configure the proxy on the VM (which allowed to me to install Meteor with curl) (export http_proxy, export https_proxy). It’s OK.

I have created a project, but I can’t run meteor on the folder of the project :
user@ubuntu:~/realtime$ meteor
[[[[[ ~/realtime ]]]]]

=> Started proxy.                             
=> Started MongoDB.                           
=> Errors prevented startup:                  
   
   While downloading autoupdate@1.2.11...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
   While downloading caching-compiler@1.0.6...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
   While downloading ddp-client@1.2.9...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
   While downloading ddp-server@1.2.10...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
   While downloading http@1.1.8...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
   While downloading templating@1.1.14...:
   error: tunneling socket could not be established, cause=getaddrinfo
   ENOTFOUND https https:80
   
=> Your application has errors. Waiting for file change.`

Could you help me ?

Thanks you in advance :slight_smile:

Are you sure your HTTP_PROXY and HTTPS_PROXY environment variables are still set within the shell that you’re attempting to run meteor from? To double check, echo the environment variables from the same shell:

echo $HTTP_PROXY
echo $HTTPS_PROXY

Thank.

Yes, I have tried and the response of
echo $HTTP_PROXY
echo $HTTPS_PROXY

is rigth…

Maybe it’s a problem with the method to connect at Internet from my company…

This is an old post, but I ran into the same issue and didn’t find a solution online anywhere. I was able to get a VirtualBox Ubuntu Server configured enough to download and install Meteor through the proxy, but got these same tunneling errors when trying to run it. I installed CNTLM on the Ubuntu VM, configured it to use the corporate proxy, then configured all my environment variables and configuration files to point to CNTLM’s proxy instead. Whatever CNTLM brings to the table worked for me. I am able to run Meteor that way.