我在服务器上安装了Nodejs以运行Etherpad Lite,以便远程使用它。
从另一个网站通过其API调用Etherpad Lite。
但是当网站尝试加载以前创建的键盘时,出现以下错误:
[2019-10-01 06:29:49.378] [INFO] API - REQUEST, v1.2.11:listSessionsOfGroup, {"groupID":"g.tmG0M1C0NlWZmIda","apikey":"c3bbaabe1dcdf87c88bcaf744069e8c7e5270b7b331d484faa2debd957701064"}
[2019-10-01 06:29:49.379] [INFO] API - RESPONSE, listSessionsOfGroup, {"code":0,"message":"ok","data":{"s.352dc0a46382ab16c030d93c31e5a33d":{"groupID":"g.tmG0M1C0NlWZmIda","authorID":"a.NQUUTpWqPVV2LezT","validUntil":1569911468}}}
[2019-10-01 06:29:49.391] [INFO] API - REQUEST, v1.2.11:listSessionsOfGroup, {"groupID":"g.tmG0M1C0NlWZmIda","apikey":"c3bbaabe1dcdf87c88bcaf744069e8c7e5270b7b331d484faa2debd957701064"}
[2019-10-01 06:29:49.392] [INFO] API - RESPONSE, listSessionsOfGroup, {"code":0,"message":"ok","data":{"s.352dc0a46382ab16c030d93c31e5a33d":{"groupID":"g.tmG0M1C0NlWZmIda","authorID":"a.NQUUTpWqPVV2LezT","validUntil":1569911468}}}
[2019-10-01 06:29:49.406] [INFO] ueberDB - Flushed 2 values
[2019-10-01 06:29:49.706] [INFO] ueberDB - Flushed 1 values
[2019-10-01 06:29:49.906] [INFO] ueberDB - Flushed 1 values
[2019-10-01 06:29:50.007] [INFO] ueberDB - Flushed 1 values
[2019-10-01 06:29:50.039] [ERROR] console - (node:2498)
UnhandledPromiseRejectionWarning: apierror: sessionID does not exist
at Object.exports.getSessionInfo (/home/etherpad/etherpad-lite/src/node/db/SessionManager.js:128:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[2019-10-01 06:29:50.044] [ERROR] console - (node:2498) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
[2019-10-01 06:29:50.108] [INFO] ueberDB - Flushed 1 values
我在MySQL中检查了Etherpad数据库,并且该会话确实存在。
所以我不知道这些错误来自哪里。
有人可以帮我吗?