Closed prajeshmadhavi closed 7 years ago
Hi, I'm going through the same thing too.
When I send to an android device the image arrives however for an iphone does not arrive, is there any problem?
Sorry for english, google translate
I'm the same problem. Some iphone's device receive the image other not.
Please, try with jpeg and also with png images.
@jlguardi I tried with jpeg and png but neither worked I tried to send a video and audio but it returns me this error: AttributeError: type object 'DownloadableMediaMessageProtocolEntity' has no attribute 'fromFilePath'
I have the same problem
I updated whatsapp yesterday (iphone) to version 2.17.20
And now images sent by the bot do not arrive anymore
Same for geolocation
Same for newest Android Version
How can you solve it?
Could you provide debug logs with receipt, ack and read entities?
All looking normal, nothing fails. But WhatsApp App isn't recieving anything.
Ack is not received when you send an image, because the recipient receives nothing
As if the message was not sent
@AragurDEV @langioletto The same happens to me, I do not get ack because the application did not receive anything. The log is perfect, I executed the example with -d and everything is normal
@tgalal
I tried with iPhone and WhatsApp 2.17.7 and everything works regularly.
The image and position sent by the bot are received regularly.
The problem is with the latest versions of whatsapp released a couple of days ago
With me just messages are coming in iphone version 2.17.20
You said that official app receives nothing. How do you know? Probably it receives an invalid message and discards it.
@jlguardi And how can we proceed? What can we do?
debug:
Guys, the current version (2.17.20) of whatsapp for iphone has changed the photo structure (I think), as it will allow grouping of images in the chat. Should be why it gives error when sending photo to whatsapp on iphone and android works normally. https://goo.gl/vVmpM5
The message are coming, but the images not. Any solution about this?
If you update whatzapp on android does not work anymore there
Geolocation also does not work!!!
Not just the pictures!!
What is your version of whatsapp on android? Because my version is up to date and working, I even opened the play store to see if it had an update
A friend of Mine tryed on Iphone (whatsapp version 2.17.11) and works. But 6 Iphones with 2.17.20 version dont receive the image. Only text.
WhatsApp 2.17.7 works
WhatsApp 2.17.146 It's my version in Android
@langioletto do you mean about the android ou iphone version? And @leogaletti thats version is work on android?
This version is working on Android
my debug, send to iphone in version 2.17.20:
So on the latest Android Beta 2.17.160 this feature is also not working.
I've been sending text only (decrypted) messages and it does not receive by Iphone Whatsapp version 2.17.20? Is there any solution to this? Appreciate if anyone could kindly share the codes if there is a solution to this issue.
Hey guys. I have tested that this error is only there when u use this Parameter "-M" Without it works only for IOS. For Android i get the Message "Waiting for this Message..."
I updated my whatsapp to version 2.17.160 (android) and now it only works the messages. Any solution?
@fwmarcel
Where to remove parameter M?
@fwmarcel, here dont work without the "-M" parameter. Dont receive message on Android or iOS (whatsapp updated with last version)
IOS
If I kill whatsapp and send a picture from BOT I get the notification that I have received a new image
But when I open whatsapp in chat there is no new image
TRY
Kill whatsapp
/image send 44xxxxxxxxxxx /root/image.jpg
How can we figure out the possibly new message protocol? it seems to only affect multimedia messages, text seems to be fine, so it doesn't seem to be a complete overhaul of the protocol communication or structure EDIT: the activity events seems to indicate the client reports the message as seen, could be that or whatsapp server doing it, but it seems to me that the message gets to the client and then it even tries to display it, but the incorrect structure causes it to not show it.
The exact same thing here. The notification comes but there is no image at all. Using iPhone.
@CantuOSS maybe the structure for a received message is the same of a sent. So, we could try log these messages and compare what's different.
This is the message the library is sending:
<message type="media" id="1234" to="...@s.whatsapp.net">
<media type="image" mimetype="i" filehash="..." url="https://..." size="..." file="img.png" encoding="raw" width="100" height="100">
...binary data...
</media>
</message>
And this is the message when an image is received:
<message from="...@s.whatsapp.net" type="media" id="1234" t="5678" notify="Sender Name">
<enc mediatype="image" v="2" type="msg">
...binary data...
</enc>
</message>
I'll try to tweak and send messages in this format and what happens next.
@mniak I was thinking the same thing, i'll try to send messages with the new iOS client and check the recieved structure and post it when i can
@mniak @CantuOSS please test some group messages with the new iOS and Android Client. I cant receive messages from yowsup client in group. In normal chats i can receive it. I use yowsup from console and start it with a python script without the Parameter -M. When i use it with this Parameter the iOS client recieve nothing.
This problem occurs with the latest version of Whatsapp, in IOS and Android. Any solution?
@victorgt26 we are trying to figure out the changes in the media messsaging structure. Until we can figure out the new structure there is no way to send other than text messages
@CantuOSS normal text messages in groups arent working now.
@fwmarcel ok, didn't know that, individual text messages are working tho
@CantuOSS yeah. Normal private text messages are working, but text messages in groups not
My pull request above enables echoing IMAGE messages.
i still can't display the message under updated whatsapp client.
please help me the same problem. the image send and dont receive in whatsapp version 2.17.19 and post.
same problem!!! please help
@CantuOSS Is there any news regarding the solution of this problem?
facing same issue, yowsup says image is sent.. but not received on the recipient side
I am able to login to command line client. /L shows Connected /image send XXXXX /root/test/sample.jpg shows Sent. but image is not delivered to target number, I am not able to figure out even after checking the debug log.
Have anybody faced such issue before?