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

Media host #289

Open
dephea opened this issue Aug 5, 2024 · 6 comments
Open

Media host #289

dephea opened this issue Aug 5, 2024 · 6 comments

Comments

@dephea
Copy link

dephea commented Aug 5, 2024

Could anyone please clarify how am I supposed to use Media-host. I'm running a container an I tunneled a ngrok tcp connection and the ngrok forwards to the 443 port. However in the Whatsapp applcation I can only use the external port from the Ngrok and I don't understand how am I supposed to use the media port (if there is any)

@eozturk1
Copy link
Contributor

eozturk1 commented Aug 5, 2024

Hi @dephea! In the application, you can customize the media port. You can see instructions at https://faq.whatsapp.com/520504143274092/?cms_platform=android.

@dephea
Copy link
Author

dephea commented Aug 6, 2024

Hi @dephea! In the application, you can customize the media port. You can see instructions at https://faq.whatsapp.com/520504143274092/?cms_platform=android.

Hello! Thank you, I managed to resolve the issue, the thing was that the whatsapp application only allows to use one IP for chat and media. That's why I had to host both on the same hostname.

The other problem I encountered is that media proxy 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. Perphaps you could help me understand the issue? Is there any possible way to fix it?

@ericlam918
Copy link

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.

@spacesoft321
Copy link

I have some solution , try it and you can check live demo on FastWSapi.com

Run this some command

docker pull facebook/whatsapp_proxy:latest

systemctl start docker

docker run -d -p 8008:80 -p 8444:443 -p 5222:5222 -p 8080:8080 -p 8443:8443 -p 8222:8222 -p 8199:8199 -p 588:587 -p 7777:7777 --user root facebook/whatsapp_proxy:latest

if any error

example :

Bind for 0.0.0.0:8008 failed: port is already allocated.

Kill process running on specific ports in Ubuntu and windows | Fix error “Address already in use”

How to kill ports in Ubuntu

kill $(lsof -ti :$PORT)

kill -9 $(lsof -ti :$PORT)

sudo kill -9 $(lsof -ti :$PORT)

More Info You Check Live demo on FastWSapi.com

@ericlam918
Copy link

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

@dephea
Copy link
Author

dephea commented Aug 13, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants