Closed Nicepaul closed 1 month ago
@Nicepaul Can you try in the app updating the media port to 587 or 7777 and try that way? Some networks may block traffic in certain ports which might be the issue you are encountering. From your phone network, can you send a CURL request for instance to either of these ports?
Alternatively you can run messaging through port 80 and media through 443 -- which should have a better chance of avoiding any of the port-specific restrictions. You can update the HAproxy config and match your new messaging/media settings on the app.
Previously identified this issue, some Android phones, especially Huawei, cannot connect to the media server, the connection fails. Recently, media servers on iOS in some regions have also begun to fail to connect.
WhatsApp proxy hasn't been updated for a long time and is outdated. When using curl to connect to port 587, WhatsApp's certificate is displayed, which seems relevant to your issue. According to your description, the session is using a self-signed certificate, while the media part is using WhatsApp's certificate. This situation might result in WhatsApp's certificate being intercepted by the Great Firewall (GFW) of China.
1. curel 433: `curl -k -v https://*.*.*.*:443
GET / HTTP/1.1 Host: ... User-Agent: curl/7.74.0 Accept: /
2. curl 587 `curl -k -v https://*.*.*.*:587
GET / HTTP/2 Host: ...:587 User-Agent: curl/8.5.0 Accept: /
`
I'm having this problem too.