Questions tagged [sslexception]

90 questions
0
votes
1 answer

HttpMethodDirectory executeWithRetry and SSLProtocolException in Java

I am using httpclient-3.0 library to parse data to cloud. When I run the application on my local machine (Windows 10), it works fine and the data gets parsed to the server and I receive success response, but when I deployed it on our server which…
0
votes
1 answer

SOAP Error "iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure" in webMethods 6.5

I have encountered the below error while executing the pub.client:soapHTTP service that is available in WmPublic. java.io.IOException: said.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure On further investigation, I…
0
votes
2 answers

Unable to make a https request from android error - Connection closed by peer

I am trying to an https request from android to an api endpoint 'https://api_chamakah.ivilleinc.com/'. However regardless of what options I try I get "Connection close by peer", requests from post man and the browser work fine. String webUrl =…
0
votes
1 answer

HttpClient.PostAsync throw Javax.Net.Ssl.SSLException

httpclient PostAysnc method sometimes throws Javax.Net.Ssl.SSLException. I am sure the endpoint url and httpContent are valid. This kind of exception only happens in very low frequency. The message of the exception is "Read error: ssl=0x716ae3b788:…
Kevin Hu
  • 80
  • 1
  • 11
0
votes
1 answer

Face API Android SSL Exception

We are using Microsoft's Azure Face API for over 12 months now. But our low level API Android users (19) starting to get this error: javax.net.ssl.SSLException: hostname in certificate didn't match: != <.cognitiveservices.azure.com> OR…
0
votes
0 answers

javax.net.ssl.SSLException: Connection closed by peer

I am trying to make an android application that gets information from an online server and I am using httpurlconnection but I keep getting an SSL exception I have checked online for solution but I haven't been able to get it to work This is the full…
Obalolu
  • 1
  • 4
0
votes
1 answer

SSLException: Unsupported record version Unknow

I posted this issue and i could solve it deleting from the WebLogic startups parameter the next: -Djsse.enableSNIExtension=false Can someone explain this?
HAAO
  • 61
  • 11
0
votes
1 answer

javax.net.ssl.SSLException after nativescript-messenger installation in nativescript

I installed project using vue-cli-template https://github.com/nativescript-vue/vue-cli-template/tree/master I installed nativescript-messenger and even without changes in code I saw error Error: Command ./gradlew failed with exit code 1 Error…
Daniel
  • 7,684
  • 7
  • 52
  • 76
0
votes
1 answer

Error with SSL in kafka : Inbound closed before receiving peer's close_notify

I have an error when I try to send message with kafka-console-producer.sh : client-ssl.properties: security.protocol=SSL ssl.truststore.location=client.truststore.jks ssl.truststore.password=klux$Ipzx* ssl.enabled.protocols=TLSv1.2 kafka…
user3178937
  • 29
  • 1
  • 4
0
votes
2 answers

Where to add certificate for SSLException in java?

I'm using the code below to send an OTP but I'm receiving an error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at responseMessage = …
ManishNegi
  • 569
  • 1
  • 6
  • 19
0
votes
1 answer

javax.net.ssl.SSLException: Connection closed by peer ( ON VOLLEY ANDROID < 4.4 )

I have an application that communicates with a web server to retrieve some data, the application always working fine but now is showing this error : javax.net.ssl.SSLException: Connection closed by peer This only occur when i use a android < 4.4 if…
Wavrik
  • 61
  • 9
0
votes
1 answer

javax.net.ssl.SSLException with HttpPost request in android

Here I've written code to implement HttpPost request in android which should run after the onClick method. Well, I didn't get the solution, this is the 3rd program I've tried and now updating the question. But I don't know every time I am getting…
Shambhu
  • 181
  • 6
  • 16
0
votes
1 answer

Unable to record https website which uses SSL certificate

SSL Certificate issue Hi everyone, While trying to record a particular https website using JMeter, i end up getting javax.net.ssl.SSLHandshakeException. [Please find the screenshot attached]. I have gone through solutions posted by someone who went…
Dinesh
  • 27
  • 6
0
votes
1 answer

SSLException: Received fatal alert: internal_error (thrown under tomcat, but works fine in desktop)

When I apply that code in a desktop application: WebClient webClient = new WebClient(); WebRequest wreq = new WebRequest( new URL (url), com.gargoylesoftware.htmlunit.HttpMethod.GET); HtmlPage p = (HtmlPage) webClient.getPage( wreq); it works…
tester
  • 43
  • 2
  • 8
0
votes
1 answer

Get HTTPS Url Content (Contains JSON)

My Android app is trying to connect to this URL: https://data.gov.in/api/datastore/resource.json?resource_id=e16c75b6-7ee6-4ade-8e1f-2cd3043ff4c9&api-key=APIKEY This url give JSON Data. Since the protocol is https, the normal http call don't…
Basu
  • 763
  • 8
  • 27