dp2 icon indicating copy to clipboard operation
dp2 copied to clipboard

短信收不到找回密码的临时密码的checklist

Open renyh opened this issue 6 years ago • 1 comments

  1. 先要这个读者的绑定信息截图,特别是,绑定时候输入的电话号码是什么,以确定读者找回密码所输入的手机是否与系统登记的手机号码一致。

  2. 确认读者所输入的手机号码无误后, 检查东时方的短信服务通不通。 登陆东时方网站,查看短信发送日志,并测试发送短信是否成功。 东时方网址:http://www.woxp.cn/

  3. 检查我爱图书馆微信公众号日志 远程登陆dp2003服务器,在D盘-【weixin_data】-【log】目录里,查看当天的日志记录

  4. 检查mongodb服务是否正常

  5. 检索dp2library日志


其实平时测试的时候也可以反过来思考:把服务器上的各种 SQL Server,MongoDB 等服务故意停掉,看看会报什么错,然后针对性地改进报错信息,让故障更容易定位和排除

renyh avatar Apr 25 '19 08:04 renyh

关于mongodb异外停止

2019/4/25 13:48:50 看看 Windows 的应用日志或者其他日志里面,有没有关于 mongodb 崩溃的记载 在windows系统日志中确实有一条mongodb意外停止的记录 image


在dp2installer的打包日志中, 在eventlog_DigitalPlatform.txt未发现mongodb异常信息。 在eventlog_应用程序.txt未发现mongodb异常信息。 在dp2kernel和dp2library日志中未发现mongodb异常信息。


在我爱图书馆 公众号日志中,发现如下错误日志

2019/4/25 13:29:46 ERROR:检查图书馆 ****院 是否在线出错: Data cannot be sent because the WebSocket connection is reconnecting.

2019/4/25 13:29:46 ERROR:检查图书馆 天津***中学 是否在线出错: Data cannot be sent because the WebSocket connection is reconnecting.

2019/4/25 13:30:16 ERROR:A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "Automatic", Type : "Standalone", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27017" }", EndPoint: "Unspecified/localhost:27017", State: "Disconnected", Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Sockets.SocketException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:27017
   在 System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   在 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   在 System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

重启MongoDB服务,找回密码 功能正常。

renyh avatar Apr 25 '19 19:04 renyh