Open 3zzy opened 12 years ago
I'm also having this same issue! If anyone has a solution, I would greatly appreciatedit! I was able to send push notifications before but now it's not working :(
@riegie yesterday my Pyapns started to giveme this errors, and is not sending the puhes. However when I run twisted in my mac works like a charm. Did you solved? I need to solve it in my production instance.
You might need to update to 0.4.1.
I started a new ec2 instance and it worked. Thank you.
Hi,
Although I can send push notifications just fine from both sandbox and production, but twisted generates logs like crazy (50 x 1mb files in 2 days):
2012-06-05 11:20:30-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSProtocol connectionLost 2012-06-05 11:20:30-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSClientFactory clientConnectionLost reason=[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion. ] 2012-06-05 11:20:30-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] <twisted.internet.tcp.Connector instance at 0x186f248> will retry in 2 seconds 2012-06-05 11:20:30-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] Stopping factory <pyapns.server.APNSClientFactory instance at 0x186f3b0> 2012-06-05 11:20:33-0500 [-] Starting factory <pyapns.server.APNSClientFactory instance at 0x19e6e60> 2012-06-05 11:20:33-0500 [-] APNSClientFactory startedConnecting 2012-06-05 11:20:33-0500 [Uninitialized] APNSProtocol connectionMade 2012-06-05 11:20:33-0500 [-] Starting factory <pyapns.server.APNSClientFactory instance at 0x186f3b0> 2012-06-05 11:20:33-0500 [-] APNSClientFactory startedConnecting 2012-06-05 11:20:33-0500 [Uninitialized] APNSProtocol connectionMade 2012-06-05 11:20:33-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSProtocol connectionLost 2012-06-05 11:20:33-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSClientFactory clientConnectionLost reason=[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion. ] 2012-06-05 11:20:33-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] <twisted.internet.tcp.Connector instance at 0x19e6f38> will retry in 2 seconds 2012-06-05 11:20:33-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] Stopping factory <pyapns.server.APNSClientFactory instance at 0x19e6e60> 2012-06-05 11:20:34-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSProtocol connectionLost 2012-06-05 11:20:34-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] APNSClientFactory clientConnectionLost reason=[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion. ] 2012-06-05 11:20:34-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] <twisted.internet.tcp.Connector instance at 0x186f248> will retry in 2 seconds 2012-06-05 11:20:34-0500 [APNSProtocol (TLSMemoryBIOProtocol),client] Stopping factory <pyapns.server.APNSClientFactory instance at 0x186f3b0>
Am i doing something wrong?