WhatsApp / proxy

This repository contains the WhatsApp proxy implementation for users to host their own proxy infrastructure to connect to WhatsApp for chat (VoIP is not currently supported)
MIT License
1.44k stars 408 forks source link

Media Unavailable WhatsApp proxy needs to be updated #291

Closed GabrielKidd closed 2 months ago

GabrielKidd commented 2 months ago

Issue: Media Unavailable in WhatsApp Proxy

Description

When attempting to send media files through the WhatsApp proxy, the media fails to be delivered, resulting in a "Media Unavailable" error. This issue affects the reliability and functionality of the proxy, particularly for media transmission.

Steps to Reproduce

  1. Configure and run the WhatsApp proxy using the latest available image.
  2. Attempt to send a media file (image, video, etc.) through the proxy.
  3. Observe that the media fails to be delivered and an error message "Media Unavailable" is displayed.

Actual Behavior

Media files fail to be delivered, and an error message "Media Unavailable" is shown.

dephea commented 2 months ago

Same for me, but it works rather unstable. Works off and on using the same device. Also might work on one device and not work on the other, at the same time

eozturk1 commented 2 months ago

@GabrielKidd, can you share which platform you are on? Has this recently started or were you having this issue before as well? Can you please confirm the proxy supports media as well?

mvscode commented 2 months ago

@GabrielKidd, can you share which platform you are on? Has this recently started or were you having this issue before as well? Can you please confirm the proxy supports media as well?

Dear Dev:

The multimedia ports are not functioning for the proxy application, although the text(80/443) connection is work. The whatsapp proxy was successfully deployed on the machine in June, with ports 443 and 587 working normally. But without any modifications to the proxy, starting from August or possibly earlier, accessing text content port 443 works normally, but attempts to access multimedia through ports 587/7777 result in connection failures. After reinstalling the proxy and conducting other troubleshooting measures, the problem persists. Even when I deployed the proxy on a different machine, the aforementioned issues still exist. Furthermore, I've noticed that others have reported similar problems in the issue #281 about TLS , which you may find relevant for reference.

ericlam918 commented 2 months ago

When using Android, both text and media can be sent successfully through the same proxy server. However, on iPhone, only text messages can be sent, while media fails to deliver. In the case of the older version of iOS WhatsApp, both text and media functions operate smoothly. Upon updating iOS WhatsApp, the functionality is reduced to text-only transmissions.

dephea commented 2 months ago

@eozturk1 Hello! Is there any update regarding this issue? Will this be fixed? Thank you in advance

Kath-estrd commented 2 months ago

Re: [WhatsApp/proxy] Media Unavailable WhatsApp proxy needs to be updated (Issue #291) (Re: [WhatsApp/proxy] Medios no disponibles. Es necesario actualizar el proxy de WhatsApp (problema n.° 291))

eozturk1 commented 2 months ago

When using Android, both text and media can be sent successfully through the same proxy server. However, on iPhone, only text messages can be sent, while media fails to deliver. In the case of the older version of iOS WhatsApp, both text and media functions operate smoothly. Upon updating iOS WhatsApp, the functionality is reduced to text-only transmissions.

We are aware of this issue and will issue a fix @dephea. Thank you for reporting!

GabrielKidd commented 2 months ago

@GabrielKidd, can you share which platform you are on? Has this recently started or were you having this issue before as well? Can you please confirm the proxy supports media as well?

I am using the iOS platform. At the end of July, the proxy was working fine, but recently the issue of "Media Unavailable" has suddenly appeared. Neither port 7777 nor port 587 is working properly, while the chat port on 443 works well for sending and receiving text messages, but it cannot send images. I suspect it might be an issue with CA certificate authentication, but the proxy does not have the functionality to edit certificates.

GabrielKidd commented 2 months ago

@eozturk1

@GabrielKidd can you share which platform you are on? Has this recently started or were you having this issue before as well? Can you please confirm the proxy supports media as well?

I have tried both compiling the image myself and using the official Docker image, and the problem persists. It seems to have started after the recent update to iOS WhatsApp.

Screenshot 2024-08-08
ericlam918 commented 2 months ago

Today, the iOS version of WhatsApp upgraded to 2.24.16.75, seemingly enabling the transmission of media files.

GabrielKidd commented 2 months ago

Today, the iOS version of WhatsApp upgraded to 2.24.16.75, seemingly enabling the transmission of media files.

That’s correct! The latest iOS version of WhatsApp, 2.24.16.75, indeed allows the transmission of media files.

eozturk1 commented 2 months ago

Great to see the issue has been resolved! Please update your apps if you are still having this issue!

dephea commented 2 months ago

Hello! I still got the issue with Media host not working. I experience it with both android and ios

dephea commented 2 months ago

@GabrielKidd @ericlam918 Hello guys, does it still work on your end? I got it working for a few days after updating my ios app but now it seems that the problem is occuring again

GabrielKidd commented 2 months ago

@GabrielKidd @ericlam918 Hello guys, does it still work on your end? I got it working for a few days after updating my ios app but now it seems that the problem is occuring again

The current iOS version is 24.16.78. Everything is working fine now, even if you don't set up a media port, you can still send and receive pictures.

ericlam918 commented 2 months ago

My iOS version 2.24.16.78. Still working fine now.

dephea commented 2 months ago

Thank you for feedback. Still doesn't work for me for some reason. I'm on 2.24.16.78 as well

dephea commented 2 months ago

image

GabrielKidd commented 2 months ago

image

Your iOS version 2.24.16.78 is different from mine. I no longer have the 'Media' status option displayed. IMG_5420

dephea commented 2 months ago

@GabrielKidd Perhaps this is because your media proxy is working, hence it doesn't show an error. As far as I noticed just says "Connected" if both Chat and Media ports are working