hightail
hightail copied to clipboard
Make Hightail work behind a proxy
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. :)
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?
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.
Fixed in pull request #73.
It seems that it doesn't work yet? http://codeforces.com/blog/entry/13141#comment-210663
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)
Can you also paste the screenshot of your network and other configuration settings
Here's my config screen.
Also, just to make sure, are you using a recent version of Java?
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.
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.
- 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?
- @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?
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 ;)
It does not work for authenticated proxy. I would be really thankful if you could take some time out and update this feature. Thanks! :)
See above: I'm not going to do it. Consider doing it if you're motivated to have it.