dizzyd / mcdex

Minecraft Modpack Management
Apache License 2.0
75 stars 8 forks source link

[suggestion] http proxy support #14

Open dskw opened 7 years ago

dskw commented 7 years ago

Hi, can you include parameters for specifying a proxy with user/pass for making the http connection? I'm running into timeouts since my machine is behind a proxy and mcdex also seems to ignore the proxy environment variables in windows (set http_proxy=.. set https_proxy=..)

dizzyd commented 7 years ago

Yes, indeed. I will take a look at this tonight.

dizzyd commented 7 years ago

@dskw can you give me a little more info about your setup? What platform are you on, what kind of proxy (HTTPS/SOCKS5), do you need username/password, etc?

dskw commented 7 years ago

Sure: I'm behind a company proxy using http which requires user and password and tried it in windows. The OS has the proxy configured and I also tried setting the environment variables for proxies, but ran into a timeout every time

LiaungYip commented 7 years ago

@dskw - is that a Microsoft proxy? Those require NTLM authentication. Easiest way to set that up is using CNTLM.