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
what can i do to set proxy to connect the broker ? #478
Comments
Ah, yes, damn proxies. There is no current way of configuring the proxy directly. There are system properties, but the way the HTTP client is setup needs to change to use those. |
OK,thank you |
I'm leaving the issue open, as this needs to be fixed so you can use a proxy. |
package au.com.dius.pact.provider.broker private newHttpClient() { can i set proxy here , use like : http.setProxy() |
Yes, that is one way to do it. I was hoping to use the proxy system properties (http.proxyHost, http.proxyPort) as defined here: https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/SystemDefaultHttpClient.html |
Can this be closed now due to #1491 being merged |
when i run pact-work-shop , on step 13 , run ./gradlew :consumer:check , there is an error : time out .
i find the project need to connect the broker . i know i must set proxy . what can i do to set proxy to connect the broker ?
The text was updated successfully, but these errors were encountered: