pyModis icon indicating copy to clipboard operation
pyModis copied to clipboard

Unable to download when behind a corporate proxy

Open dagnachewl opened this issue 8 years ago • 5 comments

Hi, Many thanks for this excellent tool. I am being successful in using the new version with my login credentials. However, it fails when I am using my work machine behind a proxy. How do I set the proxy for pyModis to succeed?

Thanks

dagnachewl avatar Sep 08 '16 08:09 dagnachewl

Hi @dagnachewl, right now I have to time to work on it, but maybe here I found a possible solution.

Let me know

lucadelu avatar Sep 08 '16 15:09 lucadelu

Thank you @lucadelu. I will have a look at your suggestion. It would be great to find a solution that runs with both --with-proxy and --no-proxy options. I am trying it on Python 2.7 on a Ubuntu Virtualbox.

dagnachewl avatar Sep 08 '16 16:09 dagnachewl

Hi,

I can't seem to download either from my work machine. I get this error:

raise Exception("There are some troubles with the server. " Exception: There are some troubles with the server. The directory seems to be empty

Is this also because of my work proxy?

This is the command line I am using: modis_download.py -r -U username -P password -p MOD09Q1.006 -t h12v04,h13v04 -f 2015-01-17 -e 2015-01-25 C:\images\images_test

thanks

guillaumecout avatar Sep 12 '16 14:09 guillaumecout

@dagnachewl @guillaumecout could you try to test the proxy branch

lucadelu avatar Dec 21 '16 10:12 lucadelu

Thanks @lucadelu I will give it a try after the holidays.

Merry Christmas and Happy New Year!

On Wed, Dec 21, 2016 at 11:26 AM Luca Delucchi [email protected] wrote:

@dagnachewl https://github.com/dagnachewl @guillaumecout https://github.com/guillaumecout could you try to test the proxy branch https://github.com/lucadelu/pyModis/tree/proxy

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lucadelu/pyModis/issues/62#issuecomment-268488681, or mute the thread https://github.com/notifications/unsubscribe-auth/AFa2QzkCLlcAdWmN-RkMkvXfA5E7ZCavks5rKP7cgaJpZM4J3vgm .

dagnachewl avatar Dec 25 '16 07:12 dagnachewl