你好大佬,帮我看一下我这个问题。登录的时候,登录不了,outline出现了错误,错误日志: 2023-01-20 17:30:01.605246+00:00{"error":"Failed to obtain access token","stack":"InternalOAuthError: Failed to obtain access token\n at OAuth2Strategy._createOAuthError (/opt/outline/node_modules/passport-oauth2/lib/strategy.js:423:17)\n at /opt/outline/node_modules/passport-oauth2/lib/strategy.js:177:45\n at /opt/outline/node_modules/oauth/lib/oauth2.js:191:18\n at ClientRequest. (/opt/outline/node_modules/oauth/lib/oauth2.js:162:5)\n at ClientRequest.emit (node:events:526:28)\n at ClientRequest.emit (node:domain:475:12)\n at TLSSocket.socketErrorListener (node:_http_client:442:9)\n at TLSSocket.emit (node:events:526:28)\n at TLSSocket.emit (node:domain:475:12)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)","level":"error","message":"Error during authentication"}
4 条评论
你好大佬,帮我看一下我这个问题。登录的时候,登录不了,outline出现了错误,错误日志:
2023-01-20 17:30:01.605246+00:00{"error":"Failed to obtain access token","stack":"InternalOAuthError: Failed to obtain access token\n at OAuth2Strategy._createOAuthError (/opt/outline/node_modules/passport-oauth2/lib/strategy.js:423:17)\n at /opt/outline/node_modules/passport-oauth2/lib/strategy.js:177:45\n at /opt/outline/node_modules/oauth/lib/oauth2.js:191:18\n at ClientRequest. (/opt/outline/node_modules/oauth/lib/oauth2.js:162:5)\n at ClientRequest.emit (node:events:526:28)\n at ClientRequest.emit (node:domain:475:12)\n at TLSSocket.socketErrorListener (node:_http_client:442:9)\n at TLSSocket.emit (node:events:526:28)\n at TLSSocket.emit (node:domain:475:12)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)","level":"error","message":"Error during authentication"}
找到原因了,是DNS问题
可以试试wiki.js,也是团队wiki文档,我看你前面视频有说scale自带了PostgreSQL,只需要设置好数据库路径就可以了|´・ω・)ノ
wiki.js不能直接粘贴上传图片呀,这点不好。