解决飞信不能发送短信问题

 

一直在用V4协议飞信机器人在发告警短信,为了检查程序正常,每天下班都会定时发送短信.最近两天突然收不到.
开启--debug模式,发现如下信息:
[ 15:04:50.809596] [User.cpp] [1919] Can't connect to 58.68.229.75:8080,retry 2
[ 15:04:54.831112] [User.cpp] [1919] Can't connect to 58.68.229.75:8080,retry 1
[ 15:04:58.830628] [User.cpp] [1919] Can't connect to 58.68.229.75:8080,retry 0
刚开始以为是端口或者IP改了,下载了官方的fetion 抓包看了下,端口没变.虽然是IP有变化,但用ipconfig/displaydns也没看到有缓存的解析.所以应该是验证网关之类的给的IP吧.
想了半天没什么发现.最后注意到,服务端检测我在不同的IP上登陆过feiton,让我输入验证码.最后在linux服务器上把飞信的138XXXXXX(手机号).cache文件删除后,再发送短信会要求重新输入验证码. 输入完就可以发送了.

http://bbs.it-adv.net/viewthread.php?tid=1081&pid=11537&page=174&extra=page%3D1#pid11537

你可能感兴趣的:(监控,短信,Fetion)