国际版leancloud数据存储服务,据一些台湾用户反应,大多数(体感75%)情况会出错,看后台日志如下:
[2024-04-20T16:20:20.224966100Z][instance:web1] Traceback (most recent call last):
[2024-04-20T16:20:20.225003500Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/engine/leanengine.py", line 232, in dispatch_request
[2024-04-20T16:20:20.225009200Z][instance:web1] "result": dispatch_cloud_func(
[2024-04-20T16:20:20.225012200Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/engine/leanengine.py", line 382, in dispatch_cloud_func
[2024-04-20T16:20:20.225015600Z][instance:web1] result = func(**params)
[2024-04-20T16:20:20.225019100Z][instance:web1] File "/home/leanengine/app/cloud.py", line 146, in wrapped_function
[2024-04-20T16:20:20.225022500Z][instance:web1] return func(*args, **kwargs) # 原函数调用
[2024-04-20T16:20:20.225026000Z][instance:web1] File "/home/leanengine/app/cloud.py", line 2108, in openChest
[2024-04-20T16:20:20.225029000Z][instance:web1] saveLogOpenChest(cgUser.get(cgUserKeys.key_objectId), cgUser.get(cgUserKeys.key_nick), cardsList, rarity1=rarityAmountTuple[0], rarity2=rarityAmountTuple[1], rarity3=rarityAmountTuple[2], rarity4=rarityAmountTuple[3], channel=channel, gold=goldGain, shard=shardGain)
[2024-04-20T16:20:20.225033700Z][instance:web1] File "/home/leanengine/app/cloud.py", line 1598, in saveLogOpenChest
[2024-04-20T16:20:20.225036800Z][instance:web1] newLogData.save() #!!查询(save)
[2024-04-20T16:20:20.225039600Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/object_.py", line 243, in save
[2024-04-20T16:20:20.225042700Z][instance:web1] response = client.post(
[2024-04-20T16:20:20.225045500Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/client.py", line 110, in new_func
[2024-04-20T16:20:20.225049000Z][instance:web1] return func(headers=headers, *args, **kwargs)
[2024-04-20T16:20:20.225052400Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/client.py", line 176, in new_func
[2024-04-20T16:20:20.225055500Z][instance:web1] raise leancloud.LeanCloudError(
[2024-04-20T16:20:20.225058300Z][instance:web1] leancloud.errors.LeanCloudError: LeanCloudError: [124] MongoDB timeout. Typically this indicates the request is too expensive. :post /1.1/classes/LogOpenChest {"fetchWhenSave" "false"}
再比如:
[2024-04-17T01:55:09.661358800Z][instance:web1] Traceback (most recent call last):
[2024-04-17T01:55:09.661407200Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/engine/leanengine.py", line 232, in dispatch_request
[2024-04-17T01:55:09.661413000Z][instance:web1] "result": dispatch_cloud_func(
[2024-04-17T01:55:09.661416400Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/engine/leanengine.py", line 382, in dispatch_cloud_func
[2024-04-17T01:55:09.661420000Z][instance:web1] result = func(**params)
[2024-04-17T01:55:09.661423600Z][instance:web1] File "/home/leanengine/app/cloud.py", line 146, in wrapped_function
[2024-04-17T01:55:09.661427200Z][instance:web1] return func(*args, **kwargs) # 原函数调用
[2024-04-17T01:55:09.661431000Z][instance:web1] File "/home/leanengine/app/cloud.py", line 803, in addResultMatchLog
[2024-04-17T01:55:09.661434400Z][instance:web1] cgUserMgr.cacheAndSave(cgUser, redisMgrInstance)
[2024-04-17T01:55:09.661437400Z][instance:web1] File "/home/leanengine/app/cgUserMgr.py", line 33, in cacheAndSave
[2024-04-17T01:55:09.661440800Z][instance:web1] cgUserObj.save()
[2024-04-17T01:55:09.661444000Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/object_.py", line 257, in save
[2024-04-17T01:55:09.661447700Z][instance:web1] response = client.put(url, data)
[2024-04-17T01:55:09.661450800Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/client.py", line 110, in new_func
[2024-04-17T01:55:09.661454300Z][instance:web1] return func(headers=headers, *args, **kwargs)
[2024-04-17T01:55:09.661458000Z][instance:web1] File "/usr/share/pyenv/versions/3.10.14/lib/python3.10/site-packages/leancloud/client.py", line 176, in new_func
[2024-04-17T01:55:09.661461800Z][instance:web1] raise leancloud.LeanCloudError(
[2024-04-17T01:55:09.661465000Z][instance:web1] leancloud.errors.LeanCloudError: LeanCloudError: [124] MongoDB timeout. Typically this indicates the request is too expensive. :put /1.1/classes/CGUser/661f1a82ec2ef817e548fa05 {"fetchWhenSave" "false"}
发在问题讨论版块一周还没通过审核,问题依旧存在,所以重发在这。