ZhangMingZhao1 / StreamerHelper

全平台主播录制+投稿 工具/服务
MIT License
1.13k stars 175 forks source link

docker部署查看log日志,没有获取Token的二维码..软件Xshell #181

Closed YeGuangjinGit closed 4 months ago

YeGuangjinGit commented 1 year ago

docker logs sh1 [2023-03-19T11:02:50.542] [INFO] APP - initUnCaughtException [2023-03-19T11:02:50.550] [INFO] APP - initUser [2023-03-19T11:02:50.553] [INFO] User - Check token [2023-03-19T11:02:50.554] [ERROR] User - Access Token not define [2023-03-19T11:02:55.625] [ERROR] APP - exception caught: Error: getaddrinfo EAI_AGAIN passport.bilibili.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'passport.bilibili.com', config: { url: 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code', method: 'post', params: { appkey: '4409e2ce8ffd12b8', local_id: '0', ts: '1679194970', sign: '7bdb1ce32b65bf7be33f1b34e2f287ca' }, headers: { Accept: 'application/json, text/plain, /', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', Connection: 'keep-alive', 'User-Agent': 'axios/0.19.2', 'Accept-Encoding': 'gzip,deflate' }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, withCredentials: true, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], data: undefined, raxConfig: { currentRetryAttempt: 0, retry: 3, retryDelay: 100, instance: [Function], backoffType: 'exponential', httpMethodsToRetry: [Array], noResponseRetries: 2, checkRetryAfter: true, maxRetryAfter: 300000, statusCodesToRetry: [Array] } }, request: <ref *1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, constructed: true, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false, closeEmitted: false,

},
_events: [Object: null prototype] {
  response: [Function: handleResponse],
  error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
_options: {
  protocol: 'http:',
  maxRedirects: 21,
  maxBodyLength: 10485760,
  path: '/x/passport-tv-login/qrcode/auth_code?appkey=4409e2ce8ffd12b8&local_id=0&ts=1679194970&sign=7bdb1ce32b65bf7be33f1b34e2f287ca',
  method: 'POST',
  headers: [Object],
  agent: undefined,
  agents: [Object],
  auth: undefined,
  hostname: 'passport.bilibili.com',
  port: null,
  nativeProtocols: [Object],
  pathname: '/x/passport-tv-login/qrcode/auth_code',
  search: '?appkey=4409e2ce8ffd12b8&local_id=0&ts=1679194970&sign=7bdb1ce32b65bf7be33f1b34e2f287ca'
},
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
  _events: [Object: null prototype],
  _eventsCount: 6,
  _maxListeners: undefined,
  outputData: [],
  outputSize: 0,
  writable: true,
  destroyed: false,
  _last: true,
  chunkedEncoding: false,
  shouldKeepAlive: true,
  maxRequestsOnConnectionReached: false,
  _defaultKeepAlive: true,
  useChunkedEncodingByDefault: true,
  sendDate: false,
  _removedConnection: false,
  _removedContLen: false,
  _removedTE: false,
  _contentLength: 0,
  _hasBody: true,
  _trailer: '',
  finished: true,
  _headerSent: true,
  _closed: false,
  socket: [Socket],
  _header: 'POST /x/passport-tv-login/qrcode/auth_code?appkey=4409e2ce8ffd12b8&local_id=0&ts=1679194970&sign=7bdb1ce32b65bf7be33f1b34e2f287ca HTTP/1.1\r\n' +
    'Accept: application/json, text/plain, */*\r\n' +
    'Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n' +
    'Connection: keep-alive\r\n' +
    'User-Agent: axios/0.19.2\r\n' +
    'Accept-Encoding: gzip,deflate\r\n' +
    'Host: passport.bilibili.com\r\n' +
    'Content-Length: 0\r\n' +
    '\r\n',
  _keepAliveTimeout: 0,
  _onPendingData: [Function: nop],
  agent: [Agent],
  socketPath: undefined,
  method: 'POST',
  maxHeaderSize: undefined,
  insecureHTTPParser: undefined,
  path: '/x/passport-tv-login/qrcode/auth_code?appkey=4409e2ce8ffd12b8&local_id=0&ts=1679194970&sign=7bdb1ce32b65bf7be33f1b34e2f287ca',
  _ended: false,
  res: null,
  aborted: false,
  timeoutCb: null,
  upgradeOrConnect: false,
  parser: null,
  maxHeadersCount: null,
  reusedSocket: false,
  host: 'passport.bilibili.com',
  protocol: 'http:',
  _redirectable: [Circular *1],
  [Symbol(kCapture)]: false,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype],
  [Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code?appkey=4409e2ce8ffd12b8&local_id=0&ts=1679194970&sign=7bdb1ce32b65bf7be33f1b34e2f287ca',
[Symbol(kCapture)]: false

}, response: undefined, isAxiosError: true, toJSON: [Function (anonymous)] }

YeGuangjinGit commented 1 year ago

image