question

Netplay Solutions avatar image
Netplay Solutions asked

Message sent but not received

Hi: I've installed the ADMMessenger and follow all the instructions carefully. Now I have my Python server running correctly also, the API keys done, setup and everything seems fine. I run the ADMMessenger app in the Kindle Fire, and clicking in the top right menu "Register", the Python server receives correctly the registration of the device. Then I go to the page http://myserver:port/show-devices, and I see the correctly registered device. I select the device, put a message, and click in Send Button ... and I see: "Message sent." Also, in the python server output I see: {'data': {'timeStamp': '2013-09-28 11:37:59.488163', 'message': 'aaaaaaaa'}, 'consolidationKey': 'A consolidation key', 'expiresAfter': 3600, 'md5': 'rqksGAwglTqQ5IRk47qQUg=='} ADM server md5_checksum rqksGAwglTqQ5IRk47qQUg== Message sent. But the Kindle Fire receives correctly ... the first times? .... I received about 3 or 4 right, and then the next ones are lost (changing message and/or consolidation key). I didn't change anything ... I just wanted to test more messages and after the fourth or fifth, it stopped to work ... I reset the KindleFire, the Python server, but I can not get it to work anymore ... All actions are shown as "Message sent" and have a correct md5_checksum answer. What am I doing wrong ? What happened ? Thank you in advance !
amazon device messaging
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Netplay Solutions avatar image
Netplay Solutions answered
After resetting second time, and launch the ADMMessenger, I have received all of them at once ... I don't understand ...
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Netplayinfo, Thank you for writing to us. I have couple of followup questions. 1. Is this problem consistent? As you said in your second post that you were able to get all the undelivered messages at a time. Can you rerun the entire test (sending the message for 10 times and receiving it in the client) and reproduce the same issue. 2. While you are waiting to get the message that is successfully sent from your server, can you click on the 'sync' button in the drop down menu appears in the top of screen of Kindle fires? 3. Can you try to run the same app in different devices and see whether the problem occurs for all. I would appreciate the answers and these would help us to investigate the issue.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ChuckNorr avatar image
ChuckNorr answered
Hi Sujay ! I am facing the same issue on my all applications as push notifications are successfully being send from my server but my all applications are unable to receive Push notifications. Few days ago my all applications was receiving push from server . but now Push notifications are not being receive ?? . Please Help ! me out
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi ChuckNorr, We have another post regarding the same issue: https://forums.developer.amazon.com/forums/thread.jspa?threadID=1549 This is not normal behavior, but we have seen this happen when the device is behind a corporate firewall. There is a persistent connection keep with the device to send down push messages, but some firewalls will block this persistent connection. Could you please confirm whether you are inside a corporate firewall or not?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

appearbusiness avatar image
appearbusiness answered
same problem here.really don't know what to do, please help.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
@ChuckNorr & @appearbusiness, Can you please confirm whether you are inside a corporate firewall or not? Can you please capture the adb logs while you are waiting to receive the message in your app and send us back through ContactUs. Please mention there in the ContactUs regarding this thread ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=1556&tstart=0) Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.