scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.526Z","pid":18,"hostname":"c739ec152305","reqId":"req-9","res":{"statusCode":200},"responseTime":0.3709010034799576,"msg":"request completed"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.530Z","pid":18,"hostname":"c739ec152305","reqId":"req-a","req":{"method":"GET","url":"/user?identityId=shaobo","hostname":"auth:5000","remoteAddress":"172.31.0.4","remotePort":34706},"msg":"incoming request"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.532Z","pid":18,"hostname":"c739ec152305","reqId":"req-a","msg":"Search started"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.532Z","pid":18,"hostname":"c739ec152305","reqId":"req-a","msg":"Received end event. {\"messageID\":2,\"protocolOp\":101,\"controls\":[],\"log\":{},\"status\":0,\"matchedDN\":\"\",\"errorMessage\":\"\",\"referrals\":[],\"connection\":{\"connecting\":false,\"_hadError\":false,\"_parent\":null,\"_host\":\"node003\",\"_closeAfterHandlingError\":false,\"_readableState\":{\"highWaterMark\":16384,\"buffer\":{\"head\":null,\"tail\":null,\"length\":0},\"length\":0,\"pipes\":[],\"awaitDrainWriters\":null},\"_events\":{\"end\":[null,null]},\"_eventsCount\":5,\"_writableState\":{\"highWaterMark\":16384,\"length\":0,\"corked\":0,\"writelen\":0,\"bufferedIndex\":0,\"pendingcb\":0},\"allowHalfOpen\":false,\"_sockname\":null,\"_pendingData\":null,\"_pendingEncoding\":\"\",\"server\":null,\"_server\":null},\"attributes\":[],\"notAttributes\":[],\"sentEntries\":0}"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.533Z","pid":18,"hostname":"c739ec152305","reqId":"req-a","msg":"Disconnected LDAP connection."}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:24.533Z","pid":18,"hostname":"c739ec152305","reqId":"req-a","res":{"statusCode":404},"responseTime":3.1825840026140213,"msg":"request completed"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:26.305Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","req":{"method":"POST","url":"/user","hostname":"auth:5000","remoteAddress":"172.31.0.4","remotePort":34706},"msg":"incoming request"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:26.308Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","msg":"ldap.addUser.groupStrategy is newGroupPerUser. Creating new group for the user."}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:26.308Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","msg":"Adding group cn=shaobo,ou=Group,dc=yh,dc=com with entry info {\"objectClass\":[\"posixGroup\"],\"memberUid\":\"shaobo\",\"gidNumber\":66003}"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:26.309Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","msg":"Disconnected LDAP connection."}
scow-auth-1 | {"level":50,"time":"2023-12-08T03:37:26.309Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","req":{"method":"POST","url":"/user","hostname":"auth:5000","remoteAddress":"172.31.0.4","remotePort":34706},"res":{"statusCode":500},"err":{"type":"","message":"No Such Object","stack":"NoSuchObjectError: No Such Object\n at messageCallback (/app/node_modules/.pnpm/ldapjs@2.3.3/node_modules/ldapjs/lib/client/client.js:1220:45)\n at Parser.onMessage (/app/node_modules/.pnpm/ldapjs@2.3.3/node_modules/ldapjs/lib/client/client.js:888:14)\n at Parser.emit (node:events:514:28)\n at Parser.write (/app/node_modules/.pnpm/ldapjs@2.3.3/node_modules/ldapjs/lib/messages/parser.js:107:8)\n at Socket.onData (/app/node_modules/.pnpm/ldapjs@2.3.3/node_modules/ldapjs/lib/client/client.js:875:22)\n at Socket.emit (node:events:514:28)\n at addChunk (node:internal/streams/readable:545:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:495:3)\n at Readable.push (node:internal/streams/readable:375:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:190:23)","lde_message":"No Such Object","lde_dn":"dc=yh,dc=com"},"msg":"No Such Object"}
scow-auth-1 | {"level":30,"time":"2023-12-08T03:37:26.310Z","pid":18,"hostname":"c739ec152305","reqId":"req-b","res":{"statusCode":500},"responseTime":4.610179007053375,"msg":"request completed"}
mis-web日志
scow-mis-web-1 | at callErrorFromStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
scow-mis-web-1 | at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/client.js:192:76)
scow-mis-web-1 | at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
scow-mis-web-1 | at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
scow-mis-web-1 | at /app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/resolving-call.js:99:78
scow-mis-web-1 | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
scow-mis-web-1 | for call at
scow-mis-web-1 | at ServiceClientImpl.makeUnaryRequest (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/client.js:160:32)
scow-mis-web-1 | at ServiceClientImpl.createInitAdmin (/app/node_modules/.pnpm/@grpc+grpc-js@1.9.11/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
scow-mis-web-1 | at /app/node_modules/.pnpm/@ddadaal+tsgrpc-client@0.17.7_@grpc+grpc-js@1.9.11/node_modules/@ddadaal/tsgrpc-client/lib/unary.js:18:13
scow-mis-web-1 | at new Promise (<anonymous>)
scow-mis-web-1 | at asyncClientCall (/app/node_modules/.pnpm/@ddadaal+tsgrpc-client@0.17.7_@grpc+grpc-js@1.9.11/node_modules/@ddadaal/tsgrpc-client/lib/unary.js:15:12)
scow-mis-web-1 | at /app/apps/mis-web/.next/server/pages/api/init/createInitAdmin.js:1:1579
scow-mis-web-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
scow-mis-web-1 | code: 13,
scow-mis-web-1 | details: 'Error creating user 3 in auth.',
scow-mis-web-1 | metadata: Metadata {
scow-mis-web-1 | internalRepr: Map(2) { 'content-type' => [Array], 'date' => [Array] },
scow-mis-web-1 | options: {}
发生了什么 | What happened
auth日志
mis-web日志
运行环境 | Environment