Skip to content

佬,令牌刷新失败了405 #83

@gally16

Description

@gally16

佬,令牌刷新失败了

2026-03-15 13:35:56 [ERROR] [AUTH] ❌ aae5c2c8@themccarneyfoundation.co.uk 登录失败 (405) AxiosError: Request failed with status code 405 at settle (/app/node_modules/axios/dist/node/axios.cjs:2304:7) at IncomingMessage.handleStreamEnd (/app/node_modules/axios/dist/node/axios.cjs:3772:13) at IncomingMessage.emit (node:events:520:35) at endReadableNT (node:internal/streams/readable:1729:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) at Axios.request (/app/node_modules/axios/dist/node/axios.cjs:5110:41) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async TokenManager.login (/app/src/utils/token-manager.js:45:30) at async TokenManager.refreshToken (/app/src/utils/token-manager.js:131:30) at async Account.refreshAccountToken (/app/src/utils/account.js:363:32) at async /app/src/routes/accounts.js:195:21 { isAxiosError: true, code: 'ERR_BAD_REQUEST', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false, legacyInterceptorReqResOrdering: true }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 10000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0', 'Content-Length': '126', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'post', url: 'https://chat.qwen.ai/api/v1/auths/signin', data: '{"email":"aae5c2c8@themccarneyfoundation.co.uk","password":"c6639e2d13f4cdaf373c576c7641b1c04046aecfcc82759a0c8b0132f49a6d6c"}', allowAbsoluteUrls: true }, request: <ref *1> ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], connect: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], finish: [Function: requestOnFinish] }, _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: false, chunkedEncoding: false, shouldKeepAlive: true, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 126, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: true, _header: 'POST /api/v1/auths/signin HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json\r\n' + 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0\r\n' + 'Content-Length: 126\r\n' + 'Accept-Encoding: gzip, compress, deflate, br\r\n' + 'Host: chat.qwen.ai\r\n' + 'Connection: keep-alive\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: Agent { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, options: [Object: null prototype], defaultPort: 443, protocol: 'https:', requests: [Object: null prototype] {}, sockets: [Object: null prototype] {}, freeSockets: [Object: null prototype], keepAliveMsecs: 1000, keepAlive: true, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 1, agentKeepAliveTimeoutBuffer: 1000, maxCachedSessions: 100, _sessionCache: [Object], Symbol(shapeMode): false, Symbol(kCapture): false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/api/v1/auths/signin', _ended: true, res: IncomingMessage { _events: [Object], _readableState: [ReadableState], _maxListeners: undefined, socket: null, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [Array], rawTrailers: [], joinDuplicateHeaders: undefined, aborted: false, upgrade: false, url: '', method: null, statusCode: 405, statusMessage: 'Not Allowed', client: [TLSSocket], _consuming: true, _dumped: false, req: [Circular *1], _eventsCount: 4, responseUrl: 'https://chat.qwen.ai/api/v1/auths/signin', redirects: [], Symbol(shapeMode): true, Symbol(kCapture): false, Symbol(kHeaders): [Object], Symbol(kHeadersCount): 16, Symbol(kTrailers): null, Symbol(kTrailersCount): 0 }, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'chat.qwen.ai', protocol: 'https:', _redirectable: Writable { _events: [Object], _writableState: [WritableState], _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 126, _requestBodyBuffers: [], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _currentRequest: [Circular *1], _currentUrl: 'https://chat.qwen.ai/api/v1/auths/signin', _timeout: null, Symbol(shapeMode): true, Symbol(kCapture): false }, Symbol(shapeMode): false, Symbol(kCapture): false, Symbol(kBytesWritten): 0, Symbol(kNeedDrain): false, Symbol(corked): 0, Symbol(kChunkedBuffer): [], Symbol(kChunkedLength): 0, Symbol(kSocket): TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'chat.qwen.ai', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 9, connecting: false, _hadError: false, _parent: null, _host: 'chat.qwen.ai', _closeAfterHandlingError: false, _readableState: [ReadableState], _writableState: [WritableState], allowHalfOpen: false, _maxListeners: undefined, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, timeout: 5000, parser: null, _httpMessage: null, autoSelectFamilyAttemptedAddresses: [Array], Symbol(alpncallback): null, Symbol(res): [TLSWrap], Symbol(verified): true, Symbol(pendingSession): null, Symbol(async_id_symbol): -1, Symbol(kHandle): [TLSWrap], Symbol(lastWriteQueueSize): 0, Symbol(timeout): Timeout { _idleTimeout: 5000, _idlePrev: [TimersList], _idleNext: [TimersList], _idleStart: 44474, _onTimeout: [Function: bound ], _timerArgs: undefined, _repeat: null, _destroyed: false, Symbol(refed): false, Symbol(kHasPrimitive): false, Symbol(asyncId): 753, Symbol(triggerId): 751, Symbol(kAsyncContextFrame): undefined }, Symbol(kBuffer): null, Symbol(kBufferCb): null, Symbol(kBufferGen): null, Symbol(shapeMode): true, Symbol(kCapture): false, Symbol(kSetNoDelay): false, Symbol(kSetKeepAlive): true, Symbol(kSetKeepAliveInitialDelay): 1, Symbol(kBytesRead): 0, Symbol(kBytesWritten): 0, Symbol(connect-options): [Object] }, Symbol(kOutHeaders): [Object: null prototype] { accept: [Array], 'content-type': [Array], 'user-agent': [Array], 'content-length': [Array], 'accept-encoding': [Array], host: [Array] }, Symbol(errored): null, Symbol(kHighWaterMark): 65536, Symbol(kRejectNonStandardBodyWrites): false, Symbol(kUniqueHeaders): null }, response: { status: 405, statusText: 'Not Allowed', headers: Object [AxiosHeaders] { date: 'Sun, 15 Mar 2026 13:35:56 GMT', 'content-type': 'text/html; charset=utf-8', 'content-length': '2657', connection: 'keep-alive', 'set-cookie': [Array], 'cache-control': 'no-cache, no-store', pragma: 'no-cache', 'ga-ap': 'na-vancouver-pop' }, config: { transitional: [Object], adapter: [Array], transformRequest: [Array], transformResponse: [Array], timeout: 10000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [Object [AxiosHeaders]], method: 'post', url: 'https://chat.qwen.ai/api/v1/auths/signin', data: '{"email":"aae5c2c8@themccarneyfoundation.co.uk","password":"c6639e2d13f4cdaf373c576c7641b1c04046aecfcc82759a0c8b0132f49a6d6c"}', allowAbsoluteUrls: true }, request: <ref *1> ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: false, chunkedEncoding: false, shouldKeepAlive: true, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 126, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: true, _header: 'POST /api/v1/auths/signin HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json\r\n' + 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0\r\n' + 'Content-Length: 126\r\n' + 'Accept-Encoding: gzip, compress, deflate, br\r\n' + 'Host: chat.qwen.ai\r\n' + 'Connection: keep-alive\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/api/v1/auths/signin', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'chat.qwen.ai', protocol: 'https:', _redirectable: [Writable], Symbol(shapeMode): false, Symbol(kCapture): false, Symbol(kBytesWritten): 0, Symbol(kNeedDrain): false, Symbol(corked): 0, Symbol(kChunkedBuffer): [], Symbol(kChunkedLength): 0, Symbol(kSocket): [TLSSocket], Symbol(kOutHeaders): [Object: null prototype], Symbol(errored): null, Symbol(kHighWaterMark): 65536, Symbol(kRejectNonStandardBodyWrites): false, Symbol(kUniqueHeaders): null }, data: <!doctypehtml><meta http-equiv="X-UA-Compatible"content="IE=edge,chrome=1"><meta name="data-spm"content="a3c0e"><title>405</title><style>a,body,div,h2,html,p{margin:0;padding:0}a{text-decoration:none;color:#3b6ea3}.container{width:1000px;margin:auto;color:#696969}.header{padding:110px 0}.header .message{height:36px;padding-left:120px;background:url(https://errors.aliyun.com/images/TB1TpamHpXXXXaJXXXXeB7nYVXX-104-162.png) no-repeat 0 -128px;line-height:36px}.main{padding:50px 0;background:#f4f5f7}#block_image{position:relative;left:120px}</style>

<script>function getRenderData(){var e=document.getElementById("renderData");return JSON.parse(e.innerHTML)}function convertTimestampToString(e){e=parseInt(e,10),e=new Date(e);return e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)}var en_tips={block_message:"Sorry, your request has been blocked as it may cause potential threats to the server's security.",block_url_tips:"Current URL: ",block_time_tips:"Request Time: ",block_traceid_tips:"Your Request ID is: "},cn_tips={block_message:"很抱歉,由于您访问的URL有可能对网站造成安全威胁,您的访问被阻断。",block_url_tips:"当前网址: ",block_time_tips:"请求时间: ",block_traceid_tips:"您的请求ID是: "};window.onload=function(){var t=getRenderData(),n="cn";try{navigator.language.startsWith("zh")||(n="en")}catch(e){t.lang&&(n=t.lang)}if(t){var e,i=cn_tips,r=document.getElementById("block_image");for(e in"en"===n?(i=en_tips,r.src="https://g.alicdn.com/sd-base/static/1.0.5/image/405.png",r.id="en_block"):r.src="https://errors.aliyun.com/images/TB15QGaHpXXXXXOaXXXXia39XXX-660-117.png",i)document.getElementById(e).innerText=i[e];n=t.traceid,r=n.slice(8,21);document.getElementById("traceid").innerText=n,document.getElementById("url").innerText=location.href.split("?")[0],document.getElementById("time").innerText=convertTimestampToString(r)}}</script><textarea id="renderData" style="display:none">{"traceid":"0a03e59817735817565203319e1464","lang":"en"}</textarea>}, status: 405 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions