Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - getaddrinfo ENOTFOUND web.whatsapp.net when using downloadMediaMessage for stickerMessage #1085

Open
betozanette opened this issue Oct 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@betozanette
Copy link

betozanette commented Oct 12, 2024

Describe the bug:

I'm encountering an issue where trying to download a sticker message using the downloadMediaMessage function results in an error. The error message indicates a failure to resolve the address web.whatsapp.net.

Steps to reproduce the behavior:

Receive a sticker message in the application.
Attempt to download the sticker using the following code:

buffer = await downloadMediaMessage(
    msg,
    'buffer',
    {}
)
getaddrinfo ENOTFOUND web.whatsapp.net

started to happen day 10/10

@betozanette betozanette added the bug Something isn't working label Oct 12, 2024
@ilsyaa
Copy link

ilsyaa commented Oct 13, 2024

same.
my code

const stream = await downloadContentFromMessage({
    mediaKey : m.quoted.mediaKey,
    directPath : m.quoted.directPath,
    url : m.quoted.url,
}, 'sticker', {});

console.log(stream)

error message : AxiosError: Request failed with status code 403

I tried to access the url also got an error URL signature expired

https://[mmg.whatsapp.net/v/t62.15575-24/22561665_993939745763674_1133925999348743493_n.enc?ccb=11-4&oh=01_Q5AaIFoTAtTCIR5KAHDSg9NJVOilsItFOTXAxRAwXfvzETAj&oe=66DFE1E5&_nc_sid=5e03e0&mms3=true]()

and i also compare it with other media like images and when i access the url it gives me file.enc. this should be the same thing when downloading stickers but it doesn't happen.

@adithyan-hermit
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants