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

NiftyPerforce is not using proxy server. #75

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 1 comment
Open

NiftyPerforce is not using proxy server. #75

GoogleCodeExporter opened this issue Mar 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
(probably, I'm fairly new to NiftyPerforce)
1. Use a perforce proxy.
2. Use any option in NiftyPerforce that isn't EditItem
3. It will complain about being unable to connect to the actual server name, 
despite P4PORT being set to the proxy's address.

What is the expected output? What do you see instead?
I would have expected it to use the information in P4PORT, it seems to be 
getting data from p4 info.
p4 info reports as the server the server that the proxy is connected to.
you can tell from p4 info that you're connecting via a proxy if there is a 
Proxy version string present.
The "Determining if your Perforce client is using the proxy" section here has 
some info: http://www.perforce.com/perforce/r10.2/manuals/p4sag/09_p4p.html

What version of the product are you using? On what operating system?
NiftyPerforce.dll compiled on 09/10/2011 20:34:32
Visual studio 2010
Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Dec 2011 at 4:01

@GoogleCodeExporter
Copy link
Author

I can get round it by using the the config dialog to force the server to be the 
proxy, so it's not that big a deal.

I might attempt to make some kind of patch for this, I think I can see where a 
change could be made. 
My thought is that here:
http://code.google.com/p/niftyplugins/source/browse/trunk/NiftyPerforce/P4Operat
ions.cs#284
It ought to either get the data from 'p4 set' and/or from the P4PORT env var, 
rather than 'p4 info', falling back to p4 info if nothing else is found.


Original comment by [email protected] on 14 Dec 2011 at 5:06

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

1 participant