littlecodersh / itchatmp

A complete and graceful API for wechat mp. 完备优雅的微信公众号接口,原生支持同步、协程使用。

Home Page:http://itchatmp.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

发送消息报错

njfylong opened this issue · comments

    • [2019/08/11 11:53:08] aihelper 570 1 - Traceback (most recent call last):\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/components/register.py", line 56, in sync_post_fn\n reply = reply_fn(copy.deepcopy(msgDict))\n File "/data1/www/htdocs/570/aihelper/1/main.py", line 28, in reply\n itchatmp.send('Hello', msg['FromUserName'])\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/controllers/wrapped.py", line 9, in send\n msg, toUserName, mediaId)\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/controllers/common.py", line 19, in determine_wrapper\n return mpFn(*args, **kwargs)\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/controllers/mpapi/mp/wrapped.py", line 70, in send\n r = cssend(msgType, mediaId, additionalDict=msg, toUserId=toUserId)\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/controllers/mpapi/base/common.py", line 147, in __access_token\n updateResult = tokenFn()\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/controllers/mpapi/base/common.py", line 78, in _update_access_token\n r['access_token'], int(time.time()) + r['expires_in'])\n File "/data1/www/htdocs/570/aihelper/1/vendor/itchatmp/models/common.py", line 63, in store_access_token\n self.__storage.set('accessToken', (accessToken, expireTime))\nMemcachedError: error 47 from memcached_set: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY hwbj171
    • [2019/08/11 11:53:08] aihelper 570 1