Describe the bug
All method work normally, but, after last update (I'm use 2.0.29), when I send a link (link with auto preview), the contact receive the link, but my application receive a timeout and the wa-automate stop of send message, with this I need restart instance to return work. Some days ago that method was working normally with 1.9.XXX versions.
create() code
This is the code you use to create the client. e.g
WA_CLIENT.CONNECTION.sendLinkWithAutoPreview(processData.chatId, BODY['link'], BODY['text']).then(function(Chat){
self.json({status:true, id: null, data: Chat});
});
Expected behavior
A clear and concise description of what you expected to happen.
DEBUG INFO
This is the info printed to the console when you start your app. It should look like this
Debug Info {
WA_VERSION: '2.2041.6',
PAGE_UA: 'WhatsApp/2.2037.6 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36',
WA_AUTOMATE_VERSION: '2.0.29',
BROWSER_VERSION: 'Chrome/85.0.4183.121'
}
Screenshots
If applicable, add screenshots to help explain your problem. Use headless: false to get screenshots
Host (please complete the following information):
Additional context
Add any other context about the problem here.
@paulocorcino I'm unable to reproduce your error. Can you provide example params where this issue happens? Everything seems to be working fine on this end. Can you try again and see if it is still happening?
@smashah Thank you.
So, I will try to go to explain my problem.
Code
This is the code I use to create the client. The version this code has some change to no return a timeout exception.
var getId = async function() {
var r = await WA_CLIENT.CONNECTION.sendLinkWithAutoPreview(processData.chatId, BODY['link'], BODY['text']);
console.log(r);
}
getId();
self.json({status:true, id: null});
When call in first time, the WhatsApp contact receive the link normally, but, when use a second time not work.

The first time recive ack normally

But, on second time, I run like first time, but no more return ack or another exception. This is point stranger, with this, I need restart instance to work again, because all method stop to work, they receive, but not have response.
@paulocorcino Try to update your open-wa to the latest version and please give me an example of a link that doesn't work.
@smashah I did update, but it continues with the problem. This fail happens with any URL, you can use this as sample https://www.facebook.com/esporteinterativo/. @smashah I did the same routine in another computer (Windows 2012) and receive the same behavior. Can you recommend points where I can make debug?
I am having this problem from last month and put this in our group too
@coolgovind @paulocorcino I'm pretty sure this has been fixed with the latest patch (462fadb) Please restart your sessions and try again. Report back results.
@smashah That's working!!!!
Thankful!!!!
Most helpful comment
@coolgovind @paulocorcino I'm pretty sure this has been fixed with the latest patch (462fadb) Please restart your sessions and try again. Report back results.