收藏
回答

真机没问题。pc上调试频繁报错,不知道怎么解决?

errCode: -501001 resource system error | errMsg: document.set:fail ESOCKETTIMEDOUT; at document.set api;

    at returnAsCloudSDKError (d:\Documents\XXX\小程序\XXX\cloudfunctions\getDialog\node_modules\wx-server-sdk\index.js:8013:16)

    at Object.returnAsFinalCloudSDKError (d:\Documents\XXX\小程序\XXX\cloudfunctions\getDialog\node_modules\wx-server-sdk\index.js:8027:15)

    at d:\Documents\XXX\小程序\XXX\cloudfunctions\getDialog\node_modules\wx-server-sdk\index.js:1322:32

    at processTicksAndRejections (internal/process/task_queues.js:97:5)



httpRequest.js:133 Your current request database.modifyDocument is longer than 3s, it may be due to the network or your query performance | [17e753cfb79_4]

(anonymous)@httpRequest.js:133listOnTimeout@internal/timers.js:549processTimers@internal/timers.js:492Timeout (async)init@internal/inspector_async_hook.js:25emitInitNative@internal/async_hooks.js:144emitInitScript@internal/async_hooks.js:350initAsyncResource@internal/timers.js:153Timeout@internal/timers.js:186setTimeout@timers.js:144setSlowWarning@httpRequest.js:128exports.default@httpRequest.js:371send@dbRequest.js:31set@document.js:104(anonymous)@index.js:1310set@index.js:1300setDocument@Database.js:25_saveToDB@index.js:210exports.main@index.js:98processTicksAndRejections@internal/process/task_queues.js:97async function (async)exports.main@index.js:85(anonymous)@node.js:1processTicksAndRejections@internal/process/task_queues.js:97Promise.then (async)(anonymous)@node.js:1emit@events.js:315endReadableNT@_stream_readable.js:1201processTicksAndRejections@internal/process/task_queues.js:84TickObject (async)init@internal/inspector_async_hook.js:25emitInitNative@internal/async_hooks.js:144emitInitScript@internal/async_hooks.js:350nextTick@internal/process/task_queues.js:135endReadable@_stream_readable.js:1190Readable.read@_stream_readable.js:420flow@_stream_readable.js:979emitReadable_@_stream_readable.js:572onEofChunk@_stream_readable.js:536readableAddChunk@_stream_readable.js:253Readable.push@_stream_readable.js:214parserOnMessageComplete@_http_common.js:151HTTPINCOMINGMESSAGE (async)init@internal/inspector_async_hook.js:25emitInitNative@internal/async_hooks.js:144connectionListenerInternal@_http_server.js:423defaultTriggerAsyncIdScope@internal/async_hooks.js:313connectionListener@_http_server.js:399emit@events.js:315onconnection@net.js:1556

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

1 个回答

  • Demons
    Demons
    2022-01-20

    你好,为了保持社区良好的氛围,请勿重复发帖,此贴先隐藏,感谢配合。

    2022-01-20
    有用
    回复 1
    • 源远流长
      源远流长
      发表于移动端
      2022-01-20
      可是解决不了啊
      2022-01-20
      回复
登录 后发表内容