krakenjs / post-robot

Cross domain post-messaging on the client side using a simple listener/client pattern.
Apache License 2.0
741 stars 92 forks source link

Postrobot fails after 2000ms because of failed ack sending #81

Closed ffbesnikcelaj closed 4 years ago

ffbesnikcelaj commented 5 years ago

It seems like the communication between a window that uses version 10.0.14 and one that uses 10.0.18 doesn't work. An error occurs that says: "ERROR Error: No ack for postMessage XXXX in https://localhost:3000 in 2000ms" when i try to send a message from the higher version to the lower one. I downgraded the higher version to 10.0.14 and it worked. Seems like there is some Breaking Behavior in between those versions.

peteringram0 commented 5 years ago

Also getting this. Downgrade to 10.0.14 fixed for me also.

droidenator commented 4 years ago

I did some debugging on this issue and it appears to occur any time you have a version mis-match. That is, both windows should use the same version. If the versions match, you should be able to use the latest version without issue.

mstuart commented 4 years ago

Sorry for the late reply. We're ramping up support for our open-source repos. Feel free to re-open this if @droidenator's suggestion doesn't work for you. Thanks!

giscafer commented 1 year ago

different version

this waste me a lot time!!!!!