Closed mwkirk closed 11 years ago
Original author: chencong...@163.com (December 06, 2012 12:42:15)
在MAC下布了一台推送服务器跑起来很正常,发送消息也正常。
12-12-6 17:48:46 DEBUG (javapns.notification.Payload:219) - Adding alert [1210007] 12-12-6 17:48:46 DEBUG (javapns.communication.ConnectionToAppleServer:94) - Creating SSLSocketFactory 12-12-6 17:48:46 DEBUG (javapns.communication.ConnectionToAppleServer:149) - Creating SSLSocket to gateway.sandbox.push.apple.com:2195 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:111) - Initialized Connection to Host: [gateway.sandbox.push.apple.com] Port: [2195]: 2e879860[SSL_NULL_WITH_NULL_NULL: Socket[addr=gateway.sandbox.push.apple.com/17.149.34.66,port=2195,localport=52843]] 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:538) - Building Raw message from deviceToken and payload 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:617) - Built raw message ID 1 of total length 72 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:396) - Attempting to send notification: {"aps":{"alert":"1210007"}} 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:397) - to device: 04148cdde764f05ba7fb368df18998c5324449d466c8aee7afd130b0b8361f52 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:415) - Flushing 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:417) - At this point, the entire 72-bytes message has been streamed out successfully through the SSL connection 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:420) - Notification sent on first attempt 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:222) - Reading responses 12-12-6 17:48:54 DEBUG (javapns.notification.PushNotificationManager:200) - Closing connection
我把服务器布署到liunx下之后就不正常了,不发送了。 12-12-6 16:42:28 DEBUG (javapns.notification.Payload:219) - Adding alert [1212100212] 12-12-6 16:42:28 DEBUG (javapns.communication.ConnectionToAppleServer:94) - Creating SSLSocketFactory 12-12-6 16:42:28 DEBUG (javapns.communication.ConnectionToAppleServer:149) - Creating SSLSocket to gateway.sandbox.push.apple.com:2195 12-12-6 16:42:28 DEBUG (javapns.notification.PushNotificationManager:111) - Initialized Connection to Host: [gateway.sandbox.push.apple.com] Port: [2195]: 5a940f82[SSL_NULL_WITH_NULL_NULL: Socket[addr=gateway.sandbox.push.apple.com/17.149.34.66,port=2195,localport=36547]] 12-12-6 16:42:28 DEBUG (javapns.notification.PushNotificationManager:222) - Reading responses 12-12-6 16:42:35 DEBUG (javapns.notification.PushNotificationManager:200) - Closing connection
can you help me!!!
Original issue: http://code.google.com/p/javapns/issues/detail?id=157
This issue is a duplicate of #158
Original author: chencong...@163.com (December 06, 2012 12:42:15)
在MAC下布了一台推送服务器跑起来很正常,发送消息也正常。
12-12-6 17:48:46 DEBUG (javapns.notification.Payload:219) - Adding alert [1210007] 12-12-6 17:48:46 DEBUG (javapns.communication.ConnectionToAppleServer:94) - Creating SSLSocketFactory 12-12-6 17:48:46 DEBUG (javapns.communication.ConnectionToAppleServer:149) - Creating SSLSocket to gateway.sandbox.push.apple.com:2195 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:111) - Initialized Connection to Host: [gateway.sandbox.push.apple.com] Port: [2195]: 2e879860[SSL_NULL_WITH_NULL_NULL: Socket[addr=gateway.sandbox.push.apple.com/17.149.34.66,port=2195,localport=52843]] 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:538) - Building Raw message from deviceToken and payload 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:617) - Built raw message ID 1 of total length 72 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:396) - Attempting to send notification: {"aps":{"alert":"1210007"}} 12-12-6 17:48:48 DEBUG (javapns.notification.PushNotificationManager:397) - to device: 04148cdde764f05ba7fb368df18998c5324449d466c8aee7afd130b0b8361f52 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:415) - Flushing 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:417) - At this point, the entire 72-bytes message has been streamed out successfully through the SSL connection 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:420) - Notification sent on first attempt 12-12-6 17:48:49 DEBUG (javapns.notification.PushNotificationManager:222) - Reading responses 12-12-6 17:48:54 DEBUG (javapns.notification.PushNotificationManager:200) - Closing connection
我把服务器布署到liunx下之后就不正常了,不发送了。 12-12-6 16:42:28 DEBUG (javapns.notification.Payload:219) - Adding alert [1212100212] 12-12-6 16:42:28 DEBUG (javapns.communication.ConnectionToAppleServer:94) - Creating SSLSocketFactory 12-12-6 16:42:28 DEBUG (javapns.communication.ConnectionToAppleServer:149) - Creating SSLSocket to gateway.sandbox.push.apple.com:2195 12-12-6 16:42:28 DEBUG (javapns.notification.PushNotificationManager:111) - Initialized Connection to Host: [gateway.sandbox.push.apple.com] Port: [2195]: 5a940f82[SSL_NULL_WITH_NULL_NULL: Socket[addr=gateway.sandbox.push.apple.com/17.149.34.66,port=2195,localport=36547]] 12-12-6 16:42:28 DEBUG (javapns.notification.PushNotificationManager:222) - Reading responses 12-12-6 16:42:35 DEBUG (javapns.notification.PushNotificationManager:200) - Closing connection
can you help me!!!
Original issue: http://code.google.com/p/javapns/issues/detail?id=157