alexryasn / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

JavaAPN can't work on Windows but Mac OS is fine, why???? #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I using JavaAPN to push data to my IOS device.  JavaAPN works well on my MAC OS 
and My device can receive the notification when JavaAPN runs on Mac OS.

But when I test it on Windows 7 and 8.1, JavaAPN deliver the notification 
successfully but my device can't receive any data.

Please tell me how to make it work on Windows???????

Original issue reported on code.google.com by yidingbu...@gmail.com on 4 Nov 2014 at 8:14

GoogleCodeExporter commented 9 years ago
It is impossible to tell what's wrong without your logs.  Surely there is some 
hint of what is going on in the logs that JavaPNS produce.

Original comment by sype...@gmail.com on 12 Nov 2014 at 7:08

GoogleCodeExporter commented 9 years ago
The logs following:

2014-12-03 15:21:09 INFO  infolog:166 - INFOM:   -> ClassName : 
com.dps.web.controller.MessagesController method:IOSPushTest info :Find 
device:3567e79e266b5fc0da60f2aa7ad2cff3f9518d8a7fd681462170513353aa486s
2014-12-03 15:21:15 INFO  infolog:166 - INFOM:   -> ClassName : 
com.dps.web.controller.MessagesController method:IOSPushTest info 
:isSuccessfull: true
2014-12-03 15:21:15 INFO  infolog:166 - INFOM:   -> ClassName : 
com.dps.web.controller.MessagesController method:IOSPushTest info 
:Transmission Complete?:true
2014-12-03 15:21:15 INFO  infolog:166 - INFOM:   -> ClassName : 
com.dps.web.controller.MessagesController method:IOSPushTest info :success 
size 1
2014-12-03 15:21:15 INFO  infolog:166 - INFOM:   -> ClassName : 
com.dps.web.controller.MessagesController method:IOSPushTest info :fail size 0

when I tested the code on MAC OS and Window 8, the logs are exactly same and 
both shows the server deliver the data successfully.

 But my device didn't receive the notification when my code run on Windows 8.

Original comment by yidingbu...@gmail.com on 4 Dec 2014 at 12:34

GoogleCodeExporter commented 9 years ago
These are not log messages produced by JavaPNS...  Please see Troubleshooting 
wiki page on this site, and provide JavaPNS logging.

Original comment by sype...@gmail.com on 4 Dec 2014 at 8:19