hightail icon indicating copy to clipboard operation
hightail copied to clipboard

Make Hightail work behind a proxy

Open dj3500 opened this issue 10 years ago • 12 comments

This will require some modifications to the code that downloads webpages, as well as a config screen for proxy settings.

The most important thing by far here IMO is not to break anything for people who do not require a proxy. :)

dj3500 avatar Jul 31 '14 17:07 dj3500

Instead of a config screen, wouldn't it be simpler to just detect the proxy settings of a user and use them, instead? Also, I'm behind a proxy now, so how do I test if it works without a proxy too?

AuroMun avatar Jan 25 '15 07:01 AuroMun

Sure, maybe. I don't know anything about proxies.

If you submitted a pull request, I would test that it also works without a proxy.

dj3500 avatar Jan 25 '15 11:01 dj3500

Fixed in pull request #73.

dj3500 avatar Jan 25 '15 17:01 dj3500

It seems that it doesn't work yet? http://codeforces.com/blog/entry/13141#comment-210663

dj3500 avatar Feb 02 '15 13:02 dj3500

I tested it in Windows, Ubuntu, and Linux mint. Worked successfully in all of them. (Different computers) I tried it in my college computers (Which had Fedora) but parsing failed, but not because of proxy (It instantly failed, so it must be another problem. Usually, when it fails because of a proxy error, it takes a lot of time.) I'll attach a couple of pics. First is of my friend's computer (Running Ubuntu) and second is mine (Windows) cf_1 image

AuroMun avatar Feb 02 '15 13:02 AuroMun

Can you also paste the screenshot of your network and other configuration settings

VishalRocks avatar Feb 02 '15 14:02 VishalRocks

image Here's my config screen. Also, just to make sure, are you using a recent version of Java?

AuroMun avatar Feb 02 '15 15:02 AuroMun

I got parsing ok by using jondo IP changer(https://anonymous-proxy-servers.net/en/jondo.html). It means that it runs perfectly where we don't need to give the authentication for the proxy.

VishalRocks avatar Feb 03 '15 05:02 VishalRocks

Ah, now I see. Well, as my proxy is non-authenticated, it works perfectly for me, and testing any code I write would be nearly impossible.

  1. Is your proxy authenticated in this way: http://username:password@proxy-address:port/ ? What happens if you enter that in your IE/System settings? Can you check that?
  2. @dj3500 , I can add authentication support, but testing it is very hard (As I go through a non-authenticated proxy myself). @VishalRocks , would you be able to help with the testing part?

AuroMun avatar Feb 04 '15 09:02 AuroMun

I guess you could maybe set up a mock virtual proxy (with auth), or something like this.

Not sure if the number of people who are behind authenticated proxies is high enough to make doing this worthwhile, but if you have the energy (or you're motivated by making Hightail work for yourselves ;) ), then sure, go for it. I'll leave you guys to it ;)

dj3500 avatar Feb 04 '15 11:02 dj3500

It does not work for authenticated proxy. I would be really thankful if you could take some time out and update this feature. Thanks! :)

akshatjain02 avatar Aug 03 '18 14:08 akshatjain02

See above: I'm not going to do it. Consider doing it if you're motivated to have it.

dj3500 avatar Aug 03 '18 18:08 dj3500