收藏
回答

小程序数据库监听(即时通讯)报错,有时正常有时报错的

Error: errCode: -402002 realtime listener init watch fail | errMsg: login fail Error: wsclient.send timedout

history states: UNINIT-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(loginStart)->INIT_LOGGING_IN-(loginFail)->INIT_LOGIN_FAIL-(close)->CLOSED

    at new g (VM1690 WAService.js:2)

    at _FSMListener (VM1690 WAService.js:2)

    at VM1690 WAService.js:2

    at Set.forEach (<anonymous>)

    at co.transition (VM1690 WAService.js:2)

    at li.<anonymous> (VM1690 WAService.js:2)

    at VM1690 WAService.js:2

    at Object.throw (VM1690 WAService.js:2)

    at o (VM1690 WAService.js:2)(env: Windows,mp,1.05.2105170; lib: 2.14.1)

onError @ app.js? [sm]:133

(anonymous) @ VM1690 WAService.js:2

C @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

c @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

C @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

li.closeWithError @ VM1690 WAService.js:2

_FSMListener @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

co.transition @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

o @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

c @ VM1690 WAService.js:2

_login @ VM1690 WAService.js:2

_FSMListener @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

co.transition @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

o @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

c @ VM1690 WAService.js:2

_login @ VM1690 WAService.js:2

_FSMListener @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

co.transition @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

o @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

c @ VM1690 WAService.js:2

_login @ VM1690 WAService.js:2

_parentFSMListener @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

co.transition @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

n @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

n @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

n @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

n @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

n @ VM1690 WAService.js:2

Promise.then (async)

i @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

c @ VM1690 WAService.js:2

initWebSocketConnection @ VM1690 WAService.js:2

pi.watch @ VM1690 WAService.js:2

watch @ VM1690 WAService.js:2

monitor @ app.js? [sm]:100

(anonymous) @ VM1690 WAService.js:2

_callee$ @ app.js? [sm]:86

L @ regenerator.js:1

(anonymous) @ regenerator.js:1

t.<computed> @ regenerator.js:1

asyncGeneratorStep @ asyncToGenerator.js:1

c @ asyncToGenerator.js:1

Promise.then (async)

asyncGeneratorStep @ asyncToGenerator.js:1

c @ asyncToGenerator.js:1

(anonymous) @ asyncToGenerator.js:1

(anonymous) @ asyncToGenerator.js:1

onLaunch @ app.js? [sm]:10

(anonymous) @ VM1690 WAService.js:2

EA @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ VM1690 WAService.js:2

(anonymous) @ app.js? [sm]:10

require @ VM1690 WAService.js:2

(anonymous) @ VM1762:3

doWhenAllScriptLoaded @ VM1760:605

scriptLoaded @ VM1760:625

(anonymous) @ VM1760:650

Promise.then (async)

(anonymous) @ VM1760:676

(anonymous) @ VM1760:680

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM1756:1

t.loadScripts @ VM105 asdebug.js:1

loadAppService @ VM105 asdebug.js:1

messagerCallback @ VM105 asdebug.js:1

(anonymous) @ VM105 asdebug.js:1

f @ VM105 asdebug.js:1

g @ VM105 asdebug.js:1

(anonymous) @ VM105 asdebug.js:1

_ws.onmessage @ VM105 asdebug.js:1

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

1 个回答

登录 后发表内容