Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

java - Getting Unsupported or unrecognized SSL message; nested exception is javax.net.ssl.SSLException while calling external API

I am calling an external Rest endpoint in my application. But I am getting the following error:

 The response body does not contain an access token
 org.springframework.web.client.ResourceAccessException: I/O error on POST request for 
 "https://example.com/api/auth": Unsupported or unrecognized SSL message; nested exception is 
  javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

In this context, I found an article as follows:

Unrecognized SSL message, plaintext connection? Exception

But, I did not find this useful, as I am talking to an HTTPS server with port number 443.

Can this happen because of the whitelisting, I mean the HTTPS server endpoint, that I am connecting to, is not whitelisted yet?

question from:https://stackoverflow.com/questions/66066005/getting-unsupported-or-unrecognized-ssl-message-nested-exception-is-javax-net-s

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...