ERROR RequestId:xxxx Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"Error: collection.get:fail -501001 resource system error. getaddrinfo ENOTFOUND xxxxx.internal.ap-shanghai.tcb-api.tencentcloudapi.com\n at toSDKError (/var/user/node_modules/wx-server-sdk/index.js:8089:19)\n at Object.returnAsFinalCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:8060:12)\n at /var/user/node_modules/wx-server-sdk/index.js:1496:32\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"} Your current request database.getDocument is longer than 3s, it may be due to the network or your query performance | [xxxx]
下面问题频繁报错,怎么解决?httpRequest.js:133 Your current request database.getDocument is longer than 3s, it may be due to the network or your query performance | [17d507c1d74_1] (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:31get@query.js:72(anonymous)@index.js:1487get@index.js:1485_initDB@index.js:125exports.main@index.js:60(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
2022-01-24