Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Getting HTTP Error 502 #54

tiagobizzy opened this Issue · 5 comments

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?


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 referenced this issue from a commit
Rob Fletcher Failing test for #54
Betamax should apply pre-existing proxy settings to the outbound request
@robfletcher robfletcher referenced this issue from a commit
Rob Fletcher #54. proxy selector impl support https and only applies to the approp…
…riate URI scheme

You have a date to realease this feature?


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
Something went wrong with that request. Please try again.