收藏
回答

调用jscode2session,报Remote host terminated是什么原因?

小程序分别使用两个server的不同服务,其中一台server在调用jscode2session时,报Remote host terminated错误,具体报错信息如下:j.c.f.s.c.d.wechat.WechatAccountService : I/O error on GET request for "https://api.weixin.qq.com/sns/jscode2session?appid={appID}&secret={secret}&js_code={JScode}&grant_type=authorization_code":Remote host terminated the handshake; nested exception is javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

同时会发现server负载过高的问题,目前无法判断出是server负载过高导致的问题,还是该问题导致了服务器负载过高,同一时间使用的另一台server调用jscode2session返回正常,未受影响

回答关注问题邀请回答
收藏
登录 后发表内容