RestTemplate 调用端口4443,4444,负载均衡, Unrecognized SSL message

{"um":"EX-XIANG","userName":"香慧","password":"4444"}
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Jan 19 12:51:50 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://g-publicservice-paraminfo/getUser": Unrecognized SSL message, plaintext connection?; nested exception is javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
 
这是为什么,启动2个点 ,为什么用RestTemplate 调用一次成功,一次失败呢,
因为我用了一个4443 的端口号,查找好像说4443 是需要SSL签名的,不明白中 ....(用Feign 调用没有此问题)
后来换掉了4443端口,什么原因
已邀请:

forezp - 方志朋

赞同来自:

能不能把具体的代码贴一下。或者你重启所有的工程。

要回复问题请先登录注册