收藏
回答

服务器出口网络是联通,调用api,域名解析到香港,接口响应慢?

我们网络出口是联通运营商,调用微信api接口时,最近一直断断续续出现超时问题。ping api.weixin.com -s 500.(而且都是解析到香港服务器)丢包率非常的高。我们另一个是电信运营商,调用微信api没有问题。

解析出的ip:

203.205.239.82

203.205.239.94

===================================================

$ping api.weixin.qq.com -s 500

PING api.weixin.qq.com (203.205.239.82) 500(528) bytes of data.

508 bytes from 203.205.239.82: icmp_seq=1 ttl=43 time=242 ms

508 bytes from 203.205.239.82: icmp_seq=2 ttl=43 time=242 ms

508 bytes from 203.205.239.82: icmp_seq=3 ttl=43 time=242 ms

508 bytes from 203.205.239.82: icmp_seq=4 ttl=43 time=242 ms

508 bytes from 203.205.239.82: icmp_seq=6 ttl=43 time=241 ms

508 bytes from 203.205.239.82: icmp_seq=7 ttl=43 time=272 ms

508 bytes from 203.205.239.82: icmp_seq=8 ttl=43 time=243 ms

508 bytes from 203.205.239.82: icmp_seq=9 ttl=43 time=242 ms

508 bytes from 203.205.239.82: icmp_seq=10 ttl=43 time=243 ms

508 bytes from 203.205.239.82: icmp_seq=12 ttl=43 time=243 ms

508 bytes from 203.205.239.82: icmp_seq=13 ttl=43 time=256 ms

508 bytes from 203.205.239.82: icmp_seq=15 ttl=43 time=241 ms

^C

--- api.weixin.qq.com ping statistics ---

16 packets transmitted, 12 received, 25% packet loss, time 15015ms

rtt min/avg/max/mdev = 241.810/246.208/272.062/8.759 ms


回答关注问题邀请回答
收藏

1 个回答

  • z2222222
    z2222222
    2021-04-26

    调用微信的模板消息发送和客服消息发送

    2021-04-26
    有用
    回复
登录 后发表内容