-
Notifications
You must be signed in to change notification settings - Fork 124
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
Allow configuring proxy for James to use #413
Comments
Hey! 👋
Note: does James use the Windows system proxy in "Internet options"? FWIW, I frequently set that system proxy to point to James ( |
Hey! I would like to have something like this too. If you look at Charles, they have an option called external URL proxy settings where instead of Charles going straight to the destination, it routes it through whatever proxy url you give it. I'd like to have similar functionality for James since I am behind a corporate proxy that also requires authentication. I wouldn't mind adding this functionality myself if you could give me a few pointers on how to get started. I'm pretty familiar with React + Redux, but not electron and how the project itself is setup. |
That would be awesome asharron! This feature might be a little tough to do, since you need to do:
I'd recommend looking at the logic for throttling network speed to see how we've configured A PR would be fantastic and appreciated! Feel free to set up a fancy new draft PR and asking any questions you might run into :) |
So as an update, I figured out to use an external proxy with Hoxy. You can use an option called The problem for me, however, is that I need to use authentication in order to use the external proxy. So instead of using the typical I'm going to see if I can find a way to enable this. I may have to submit a PR there first before this feature gets incorporated in James. I'll keep you updated if I find anything. |
It was my mistake. Just like the other mention, Although write scripts to manage VPN connection faster is not a bad idea.😅 |
Hey, I ran into some issues when implementing this feature, and I am actually leaving the role that I was going to add this feature for. Because of this, I don't think I will be finishing the feature. For someone who is looking to implement this, basically you would need to make a pull request to hoxy that allows you to add proxy credentials when you specify and upstream proxy. This was a bit tricky for me since it involved understanding how proxy requests work with http headers (and also because the hoxy code base is a bit difficult to understand). Once hoxy has that feature in it, then James would have the feature as well. A menu could then be added to toggle the credentials for the upstream proxy (could even maybe just have a config file for starters until getting around to creating a React component for it). Hope this helps someone and sorry for not figuring it out! |
Thanks for taking a look Alex! Good luck in your new role! |
While connected to a VPN,
James use VPN to connect.
In this case if James required to connect directly that not use VPN,
have to disconnect VPN first.
Any plan to given a option that not use direct connect,
that to use another proxy as parent proxy?
The text was updated successfully, but these errors were encountered: