java - Spring Boot 应用程序无法通过 VPN 连接到服务器
问题描述
我有一个通过 vpn 连接到服务器的 spring boot 应用程序。它在 Windows 上运行良好,但是当部署在 linux 服务器上时它会抛出
org.springframework.ws.client.WebServiceIOException: I/O error: Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:561) ~[spring-ws-core-3.0.6.RELEASE.jar:na]
Linux操作系统是Centos。Windows 上使用的 vpn 客户端是 AnyConnect,而 Linux 客户端是 OpenConnect。关于如何解决这个问题的任何想法?
解决方案
推荐阅读
- javascript - Uncaught (in promise) TypeError: snapshot.data is not a function 尝试从 Firebase Firestore 检索文档
- php - Paypal 支付沙盒账户,测试
- discord.py - discord.py 获取某个类别下的所有文本通道 - 在 python 中
- tensorflow - 从张量流图中删除 DecodeJpeg
- java - 如何在java中重绘特定区域(例如圆圈)?
- shell - 如何在 vim 中的 shell 中执行 yanked 多行命令
- shell - 在 sh 中格式化合并输出
- python - Python 3.8 Mutagen wont read GEOB tag
- java - How to save Date and Time state of Fragment
- python - pandas,如果行包含通配符文本,则合并重复项