请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

腾讯云服务器上运行会报错,本地使用穿透能正常获取数据

2018-11-19 18:15:39.615 ERROR 27008 — [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on GET request for “https://api.weixin.qq.com/sns/oauth2/access_token”: Connection timed out (Connection timed out); nested exception is java.net.ConnectException: Connection timed out (Connection timed out)] with root cause

java.net.ConnectException: Connection timed out (Connection timed out)
图片描述

正在回答

1回答

I/O error on GET request for “https://api.weixin.qq.com/sns/oauth2/access_token”: Connection timed out (Connection timed out)

说明这台服务器访问不了这个地址,去看看服务器的防火墙,腾讯云上的安全组。

还解决不了,可以给腾讯云提工单。

0 回复 有任何疑惑可以回复我~
  • 提问者 YAaron #1
    非常感谢!
    回复 有任何疑惑可以回复我~ 2018-11-22 11:19:47
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信