Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Hightail work behind a proxy #60

Open
dj3500 opened this issue Jul 31, 2014 · 12 comments
Open

Make Hightail work behind a proxy #60

dj3500 opened this issue Jul 31, 2014 · 12 comments

Comments

@dj3500
Copy link
Owner

dj3500 commented Jul 31, 2014

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. :)

@AuroMun
Copy link
Contributor

AuroMun commented Jan 25, 2015

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?

@dj3500
Copy link
Owner Author

dj3500 commented Jan 25, 2015

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 added a commit that referenced this issue Jan 25, 2015
Set system proxy by default, if it exists. Solves #60.
@dj3500
Copy link
Owner Author

dj3500 commented Jan 25, 2015

Fixed in pull request #73.

@dj3500 dj3500 closed this as completed Jan 25, 2015
@dj3500
Copy link
Owner Author

dj3500 commented Feb 2, 2015

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

@dj3500 dj3500 reopened this Feb 2, 2015
@AuroMun
Copy link
Contributor

AuroMun commented Feb 2, 2015

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

@VishalRocks
Copy link

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

@AuroMun
Copy link
Contributor

AuroMun commented Feb 2, 2015

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

@VishalRocks
Copy link

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.

@AuroMun
Copy link
Contributor

AuroMun commented Feb 4, 2015

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?

@dj3500
Copy link
Owner Author

dj3500 commented Feb 4, 2015

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 ;)

@akshatjain02
Copy link

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

@dj3500
Copy link
Owner Author

dj3500 commented Aug 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants