use a proxy server for deploy and logs commands #429
Conversation
Can you give us a hint as to how we can test this (an example of a proxy we can set up, eg)? |
I agree, using system's configured proxy would be much more convenient for the users. Also, I think it should be handled lower in the stack, like in the request or http module. I wrote this code because it was just impossible for me to deploy my app. And I submitted the PR because I thought it might help others. I don't know what you guys did, but *.meteor.com suddenly became unavailable from china ;) If you don't have acces to a proxy server, I don't know what you can do to test it. You can write a negative test that tries to connect to a proxy that does not exist and then you'll see it fail with an error message that tells you that such proxy was unreachable. But for a positive case, I guess you could install a local proxy server. I believe this one could do: https://github.com/nodejitsu/node-http-proxy |
@stephanebrisson, thanks for this! I'd like to get it accepted and included in an upcoming release of Meteor. Two things:
@glasser, my though on testing is that we could at least do a smoke test by hardcoding a proxy server from the list at http://www.publicproxyservers.com/ into the test. Autodetection of the system-configured proxy server would definitely be preferable, but I think it's fine for now to merge this as an incremental step forward. Thanks again! |
I think looking at an environment variable instead of a command line On Wed, Feb 6, 2013 at 3:16 PM, gschmidt notifications@github.com wrote:
|
I am still affected. Is there any progress in providing such a proxy variable, or using system variables? :( please I need that for my school network. Also see "Cant update meteor behind a proxy on Linux!" |
This is now on |
No description provided.