httpbuilder icon indicating copy to clipboard operation
httpbuilder copied to clipboard

client.ignoreSSLissues doesnt work

Open hsarmah09 opened this issue 9 years ago • 6 comments

I have been trying to use a gradle plugin to make some REST calls which uses httpbuilder in backend, and i need to ignore all the SSL issues, but this doesnt seem to work.

hsarmah09 avatar Mar 30 '16 15:03 hsarmah09

which version are you using?

stein321 avatar May 06 '16 23:05 stein321

Same issue

org.codehaus.groovy.modules.http-builder:http-builder:0.7.1
oauth.signpost:signpost-core:1.2.1.2
oauth.signpost:signpost-commonshttp4:1.2.1.2

client.ignoreSSLIssues() throws

Caught: java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Lorg/apache/http/conn/ssl/TrustStrategy;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V
java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLSocketFactory.<init>(Lorg/apache/http/conn/ssl/TrustStrategy;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V
    at groovyx.net.http.HTTPBuilder.ignoreSSLIssues(HTTPBuilder.java:938)

valnaumov avatar May 25 '16 15:05 valnaumov

Try using 0.7.2...

itissid avatar Jul 22 '16 12:07 itissid

There is no 0.7.2. in central at the moment.

sshikov avatar Apr 13 '17 07:04 sshikov

I have another error with 0.7.1 - host is null somethere is apache http. Will try 0.7.2 also.

sshikov avatar Apr 13 '17 07:04 sshikov

Checked. I have no problems with 0.7.2 (just deploy it to central please).

sshikov avatar Apr 13 '17 07:04 sshikov