WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.71k stars 1.26k forks source link

[BUG] Error : Media upload failed on all hosts #665

Open IrfanMaulana00 opened 6 months ago

IrfanMaulana00 commented 6 months ago

How to solve this error ?

Error when send pdf 11mb

image

await sessionList.sendMessage(targetId, {
          document: fs.readFileSync(fileName),
          fileName: fileName.split('/').splice(-1),
          mimetype: mime_type
        });
Abdullasl321 commented 6 months ago

I can upload only about 100mb files...

IrfanMaulana00 commented 6 months ago

I can upload only about 100mb files...

At first it went smoothly, then after a few times the error appeared

spacesoft321 commented 3 months ago

edit php.ini file

or you can send any size file using FastWSapi.com

customize solution and server setup as per software developer requirement

yamadaMk12 commented 1 month ago

Is there is any solution?

mrfzvx12 commented 3 weeks ago

any solutions? i hv same problem..

yaelahsas commented 3 weeks ago

same problem any solution?

viniciusverasdossantos commented 3 weeks ago

same :(

algoz098 commented 3 weeks ago

Same problem here

japarradev commented 1 week ago

Same problem any solution

ecatugy commented 5 days ago

I have the same issue when sending audio messages; it's an intermittent error. I've tried various configurations, but it seems to be related to the audio in question. It's a serious problem that makes using Baileys impractical.

Isac999 commented 15 hours ago

same problem here :/