公众号发送模板消息报错,如何解决?

公众号发送模板消息报错,如何解决?

环境是两个java服务端分别在两台服务器上,两台服务器的ip都在公众号平台上配置了白名单,有时候发送成功,有时候会出现这个错。

{"errcode":48001,"errmsg":"api unauthorized rid: 5f223a6c-27532630-0e2ae42c"}

The environment is two Java servers, which are on two servers. The IP of two servers is configured on the official account platform. Sometimes, the transmission is successful, sometimes this error occurs. {"errcode":48001,"errmsg":"api unauthorized rid: 5f223a6c-27532630-0e2ae42c"}

回答:

Héctor2:

刚刚也遇到了, 原来好好的

Lim:我解决了,我框架是springcloud, docker部署启动了两个服务端,大概是两个java服务端与注册中心网络通信间的问题

-EOF-