问题描述
使用 spring rest 模板访问 REST 端点时出现以下错误
<html>
<head>
<title>421 Misdirected Request</title>
</head>
<body>
<center>
<h1>421 Misdirected Request</h1>
</center>
<hr>
<center>Nginx/1.18.0</center>
</body>
</html>
1. Nginx is using as a reverse proxy for multiple endpoints using port 443
2. SSL certificate is in use with Subject Alternate Name (SAN): SAN have 4 different hostname configured
3. CURL is working without any problem and can reach the endpoint without any error. `curl -k`
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)