evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

Receber áudio

Open jvaaguiar opened this issue 7 months ago • 3 comments

Bem-vido!

  • [x] Sim, pesquisei problemas semelhantes no GitHub e não encontrei nenhum.

O que você fez?

do nada comecou os áudio recebidos a ficar desse jeito como se nao conseguisse acessar o ip da host do meta para acessar o audio

O que você esperava?

uma solução de como resolver ou talvez um retry para acessar o audio

O que vc observou ao invés do que esperava?

.

Capturas de Tela/Vídeos

No response

Qual versão da API você está usando?

2.2.3

Qual é o seu ambiente?

Docker

Outras expecificações do ambiente

No response

Se aplicável, cole a saída do log

AxiosError [AggregateError]

at AxiosError.from (/evolution/node_modules/axios/dist/node/axios.cjs:863:14)

at RedirectableRequest.handleRequestError (/evolution/node_modules/axios/dist/node/axios.cjs:3187:25)

at RedirectableRequest.emit (node:events:524:28)

at eventHandlers.<computed> (/evolution/node_modules/follow-redirects/index.js:49:24)

at ClientRequest.emit (node:events:524:28)

at emitErrorEvent (node:_http_client:101:11)

at TLSSocket.socketErrorListener (node:_http_client:504:5)

at TLSSocket.emit (node:events:524:28)

at emitErrorNT (node:internal/streams/destroy:169:8)

at emitErrorCloseNT (node:internal/streams/destroy:128:3)

at Axios.request (/evolution/node_modules/axios/dist/node/axios.cjs:4276:41)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async getHttpStream (/evolution/node_modules/baileys/lib/Utils/messages-media.js:329:21)

at async downloadEncryptedContent (/evolution/node_modules/baileys/lib/Utils/messages-media.js:460:21)

at async downloadMsg (/evolution/node_modules/baileys/lib/Utils/messages.js:790:24)

at async downloadMediaMessage (/evolution/node_modules/baileys/lib/Utils/messages.js:754:20)

at async lt.speechToText (/evolution/dist/main.js:151:6534)

at async messages.upsert (/evolution/dist/main.js:232:25191) {

code: 'ETIMEDOUT',

errors: [

Error: connect ETIMEDOUT 163.70.159.60:443

    at createConnectionError (node:net:1652:14)

    at Timeout.internalConnectMultipleTimeout (node:net:1711:38)

    at listOnTimeout (node:internal/timers:583:11)

    at process.processTimers (node:internal/timers:519:7) {

  errno: -110,

  code: 'ETIMEDOUT',

  syscall: 'connect',

  address: '163.70.159.60',

  port: 443

},

Error: connect ENETUNREACH 2a03:2880:f215:1cb:face:b00c:0:167:443 - Local (:::0)

    at internalConnectMultiple (node:net:1186:16)

    at Timeout.internalConnectMultipleTimeout (node:net:1716:5)

    at listOnTimeout (node:internal/timers:583:11)

    at process.processTimers (node:internal/timers:519:7) {

  errno: -101,

  code: 'ENETUNREACH',

  syscall: 'connect',

  address: '2a03:2880:f215:1cb:face:b00c:0:167',

  port: 443

}

],

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 [FormData]], 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.9.0',

  'Accept-Encoding': 'gzip, compress, deflate, br'

},

responseType: 'stream',

method: 'get',

url: 'https://mmg.whatsapp.net/v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true',

allowAbsoluteUrls: true,

data: undefined

},

request: <ref *1> Writable {

_events: {

  close: undefined,

  error: [Function: handleRequestError],

  prefinish: undefined,

  finish: undefined,

  drain: undefined,

  response: [Function: handleResponse],

  socket: [Function: handleRequestSocket]

},

_writableState: WritableState {

  highWaterMark: 16384,

  length: 0,

  corked: 0,

  onwrite: [Function: bound onwrite],

  writelen: 0,

  bufferedIndex: 0,

  pendingcb: 0,

  [Symbol(kState)]: 17580812,

  [Symbol(kBufferedValue)]: null

},

_maxListeners: undefined,

_options: {

  maxRedirects: 21,

  maxBodyLength: Infinity,

  protocol: 'https:',

  path: '/v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true',

  method: 'GET',

  headers: [Object: null prototype],

  agents: [Object],

  auth: undefined,

  family: undefined,

  beforeRedirect: [Function: dispatchBeforeRedirect],

  beforeRedirects: [Object],

  hostname: 'mmg.whatsapp.net',

  port: '',

  agent: undefined,

  nativeProtocols: [Object],

  pathname: '/v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc',

  search: '?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true'

},

_ended: true,

_ending: true,

_redirectCount: 0,

_redirects: [],

_requestBodyLength: 0,

_requestBodyBuffers: [],

_eventsCount: 3,

_onNativeResponse: [Function (anonymous)],

_currentRequest: ClientRequest {

  _events: [Object: null prototype],

  _eventsCount: 7,

  _maxListeners: undefined,

  outputData: [],

  outputSize: 0,

  writable: true,

  destroyed: false,

  _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: false,

  socket: [TLSSocket],

  _header: 'GET /v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true HTTP/1.1\r\n' +

    'Accept: application/json, text/plain, /\r\n' +

    'Origin: https://web.whatsapp.com\r\n' +

    'User-Agent: axios/1.9.0\r\n' +

    'Accept-Encoding: gzip, compress, deflate, br\r\n' +

    'Host: mmg.whatsapp.net\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: '/v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true',

  _ended: false,

  res: null,

  aborted: false,

  timeoutCb: [Function: emitRequestTimeout],

  upgradeOrConnect: false,

  parser: null,

  maxHeadersCount: null,

  reusedSocket: false,

  host: 'mmg.whatsapp.net',

  protocol: 'https:',

  _redirectable: [Circular *1],

  [Symbol(shapeMode)]: false,

  [Symbol(kCapture)]: false,

  [Symbol(kBytesWritten)]: 0,

  [Symbol(kNeedDrain)]: false,

  [Symbol(corked)]: 0,

  [Symbol(kOutHeaders)]: [Object: null prototype],

  [Symbol(errored)]: null,

  [Symbol(kHighWaterMark)]: 16384,

  [Symbol(kRejectNonStandardBodyWrites)]: false,

  [Symbol(kUniqueHeaders)]: null

},

_currentUrl: 'https://mmg.whatsapp.net/v/t62.7117-24/29503266_1083698993597203_8912052340866061675_n.enc?ccb=11-4&oh=01_Q5Aa1QFxwLy0cLCDsd0--vjUrQa26i1ok0P3fb4-iJFAFxVsgw&oe=683A2A31&_nc_sid=5e03e0&mms3=true',

[Symbol(shapeMode)]: true,

[Symbol(kCapture)]: false

},

cause: AggregateError [ETIMEDOUT]:

  at internalConnectMultiple (node:net:1122:18)

  at internalConnectMultiple (node:net:1190:5)

  at Timeout.internalConnectMultipleTimeout (node:net:1716:5)

  at listOnTimeout (node:internal/timers:583:11)

  at process.processTimers (node:internal/timers:519:7) {

code: 'ETIMEDOUT',

[errors]: [ [Error], [Error] ]

}

}

Notas Adicionais

No response

jvaaguiar avatar May 02 '25 17:05 jvaaguiar

Estamos falando a respeito desse erro nessa issue:

https://github.com/EvolutionAPI/evolution-api/issues/1402

cleytoncoro avatar May 03 '25 16:05 cleytoncoro

The same thing is happening to me

Image

julianmartire1 avatar May 03 '25 19:05 julianmartire1

Mesma coisa acontecendo aqui

douglas161 avatar May 04 '25 02:05 douglas161