Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s里面部署微信小程序后,登录报错 #77

Open
yfgcq opened this issue Aug 20, 2024 · 1 comment
Open

k8s里面部署微信小程序后,登录报错 #77

yfgcq opened this issue Aug 20, 2024 · 1 comment

Comments

@yfgcq
Copy link

yfgcq commented Aug 20, 2024

`

com.github.binarywang
weixin-java-miniapp
4.3.0

ERROR com.xxx.handle.GlobalException 42

  • me.chanjar.weixin.common.error.WxRuntimeException: java.net.UnknownHostException: api.weixin.qq.com: Temporary failure in name resolution
    at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.getAccessToken(BaseWxMaServiceImpl.java:175)
    at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeInternal(BaseWxMaServiceImpl.java:261)
    at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.execute(BaseWxMaServiceImpl.java:224)
    at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.post(BaseWxMaServiceImpl.java:198)
    at cn.binarywang.wx.miniapp.api.impl.WxMaUserServiceImpl.getNewPhoneNoInfo(WxMaUserServiceImpl.java:68)
    `
@binarywang
Copy link
Owner

这报错明显是你的网络问题吧,检查下为啥解析不了域名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants