-
Notifications
You must be signed in to change notification settings - Fork 7
异常 法获取微博热搜榜 AxiosError: Request failed with status code 432 #3
Copy link
Copy link
Open
Description
法获取微博热搜榜 AxiosError: Request failed with status code 432
at settle (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/axios/dist/node/axios.cjs:2304:7)
at IncomingMessage.handleStreamEnd (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/axios/dist/node/axios.cjs:3772:13)
at IncomingMessage.emit (node:events:519:35)
at endReadableNT (node:internal/streams/readable:1701:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
at Axios.request (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/axios/dist/node/axios.cjs:5110:41)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async WeiboCrawler.getHotSearchList (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/mcp-server-weibo/dist/weibo.js:173:30)
at async /Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/mcp-server-weibo/dist/server.js:56:27
at async McpServer.executeToolHandler (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js:236:20)
at async /Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js:129:32
at async wrappedHandler (/Users/kylin/.npm/_npx/6ea69668cd0b53f8/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js:128:32) {
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: 0,
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': 'axios/1.13.6',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
method: 'get',
url: 'https://m.weibo.cn/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
allowAbsoluteUrls: true,
data: undefined
},
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: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
_header: 'GET /api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: application/json\r\n' +
'User-Agent: axios/1.13.6\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: m.weibo.cn\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
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,
maxCachedSessions: 100,
_sessionCache: [Object],
Symbol(shapeMode): false,
Symbol(kCapture): false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
_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: 432,
statusMessage: '',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [Circular *1],
_eventsCount: 4,
responseUrl: 'https://m.weibo.cn/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
redirects: [],
Symbol(shapeMode): true,
Symbol(kCapture): false,
Symbol(kHeaders): [Object],
Symbol(kHeadersCount): 12,
Symbol(kTrailers): null,
Symbol(kTrailersCount): 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'm.weibo.cn',
protocol: 'https:',
_redirectable: Writable {
_events: [Object],
_writableState: [WritableState],
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_eventsCount: 3,
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *1],
_currentUrl: 'https://m.weibo.cn/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
_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: 'm.weibo.cn',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'm.weibo.cn',
_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: 130931,
_onTimeout: [Function: bound ],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
Symbol(refed): false,
Symbol(kHasPrimitive): false,
Symbol(asyncId): 89,
Symbol(triggerId): 87,
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],
'accept-encoding': [Array],
host: [Array]
},
Symbol(errored): null,
Symbol(kHighWaterMark): 65536,
Symbol(kRejectNonStandardBodyWrites): false,
Symbol(kUniqueHeaders): null
},
response: {
status: 432,
statusText: '',
headers: Object [AxiosHeaders] {
date: 'Fri, 13 Mar 2026 11:58:58 GMT',
'content-length': '0',
connection: 'keep-alive',
server: 'SHANHAI-SERVER',
lb: '111.13.134.130',
ssl_node: 'msre-10-54-3-22.hj4.intra.weibo.cn'
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object [AxiosHeaders]],
method: 'get',
url: 'https://m.weibo.cn/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
allowAbsoluteUrls: true,
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
_header: 'GET /api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: application/json\r\n' +
'User-Agent: axios/1.13.6\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: m.weibo.cn\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'm.weibo.cn',
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: ''
},
status: 432
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels