Closed loja5combr closed 3 months ago
Necesitas proporcionar mas información describiendo el problema, aca solo se puede observar que hubo un error en axios.
Prueba actualizando a builderbot te dejo link https://www.builderbot.app/en/tutorials/migrate-to-builderbot
¿Que versión estas usando?
v2
¿Sobre que afecta?
Otro
Describe tu problema
AxiosError: connect EPIPE 157.240.12.53:443 at AxiosError.from (/root/base-baileys-json/node_modules/axios/dist/node/axios.cjs:841:14) at RedirectableRequest.handleRequestError (/root/base-baileys-json/node_modules/axios/dist/node/axios.cjs:3106:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (/root/base-baileys-json/node_modules/follow-redirects/index.js:38:24)
at ClientRequest.emit (node:events:517:28)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/root/base-baileys-json/node_modules/axios/dist/node/axios.cjs:4224:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getHttpStream (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/messages-media.js:320:21)
at async downloadEncryptedContent (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/messages-media.js:453:21)
at async downloadExternalBlob (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/chat-utils.js:254:20)
at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/chat-utils.js:233:26
at async Promise.all (index 0)
at async extractSyncdPatches (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/chat-utils.js:220:5)
at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:384:33
at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) {
port: 443,
address: '157.240.12.53',
syscall: 'connect',
code: 'EPIPE',
errno: -32,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http', 'fetch' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: Infinity,
maxBodyLength: Infinity,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, /',
'Content-Type': undefined,
Origin: 'https://web.whatsapp.com',
'User-Agent': 'axios/1.7.2',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
responseType: 'stream',
method: 'get',
url: 'https://mmg.whatsapp.net/v/t62.31695-24/11967450_834083668653559_3838815886823202593_n.enc?ccb=11-4&oh=01_Q5AaIExSSGBhfrMQAF9WwPpqKcmcU8c4DZg_3SOdS2SlhCTq&oe=66A96738&_nc_sid=e6ed6c',
data: undefined
},
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,
}, cause: Error: connect EPIPE 157.240.12.53:443 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) { errno: -32, code: 'EPIPE', syscall: 'connect', address: '157.240.12.53', port: 443 } } Error: Connection Closed at sendRawMessage (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:59:19) at sendNode (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:78:16) at query (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:142:15) at /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:368:38 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:334:9 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/event-buffer.js:105:36 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:552:17 at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) { data: null, isBoom: true, isServer: false, output: { statusCode: 428, payload: { statusCode: 428, error: 'Precondition Required', message: 'Connection Closed' }, headers: {} } } Error: Connection Closed at sendRawMessage (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:59:19) at sendNode (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:78:16) at query (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:142:15) at /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:368:38 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:334:9 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/event-buffer.js:105:36 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:552:17 at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) { data: null, isBoom: true, isServer: false, output: { statusCode: 428, payload: { statusCode: 428, error: 'Precondition Required', message: 'Connection Closed' }, headers: {} } } Error: Connection Closed at sendRawMessage (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:59:19) at sendNode (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:78:16) at query (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:142:15) at /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:368:38 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:334:9 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/event-buffer.js:105:36 at async /root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:552:17 at async Object.transaction (/root/base-baileys-json/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26) { data: null, isBoom: true, isServer: false, output: { statusCode: 428, payload: { statusCode: 428, error: 'Precondition Required', message: 'Connection Closed' }, headers: {} } }
Reproducir error
No response
Información Adicional
No response