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

Already on GitHub? Sign in to your account

Getting HTTP Error 502 #54

Closed
tiagobizzy opened this Issue Jul 11, 2012 · 5 comments

Comments

Projects
None yet
3 participants

I am trying to use Betamax in the tests to my OCSP Client implementation.
I am using Apache HttpClient 4.2 and running under a proxy server. Also, I am setting the HttpClient how the Betamax website sujests. However, when I try to run a test, I get an HTTP Error 502 for Bad Gateway.

Can you please help me with this issue?

Thank you.

Ok, now I understand that this happens because Betamax replace my proxy settings with the proxy settings needed for Betamax. So, how can I use Betamax if my network uses a proxy server?

Collaborator

robfletcher commented Aug 6, 2012

RIght now there's no way to do that. I think I'll need to make Betamax aware of any existing proxy settings so that it can use them explicitly when it needs to make a 'real' connection. Should be straightforward to implement.

Thanks. I'll be waiting for this feature :)

@robfletcher robfletcher pushed a commit that referenced this issue Aug 15, 2012

Rob Fletcher Failing test for #54
Betamax should apply pre-existing proxy settings to the outbound request
46a1553

@robfletcher robfletcher pushed a commit that referenced this issue Aug 16, 2012

Rob Fletcher #54. proxy selector impl support https and only applies to the approp…
…riate URI scheme
37a3918

@robfletcher robfletcher pushed a commit that referenced this issue Aug 16, 2012

Rob Fletcher #54 direct proxy if overridden settings don't exist 00b2ecb

@robfletcher robfletcher pushed a commit that referenced this issue Aug 16, 2012

Rob Fletcher #54 re-implemented proxy override mechanism a cleaner way a8aecb9

You have a date to realease this feature?

Collaborator

robfletcher commented Apr 15, 2013

It's already released with version 1.1 and above. The current version is 1.1.2

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