Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twisted generates logs like crazy #34

Open
3zzy opened this issue Jun 5, 2012 · 4 comments
Open

Twisted generates logs like crazy #34

3zzy opened this issue Jun 5, 2012 · 4 comments

Comments

@3zzy
Copy link

3zzy commented Jun 5, 2012

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?

@riegie
Copy link

riegie commented Feb 22, 2013

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 :(

@dabeto
Copy link

dabeto commented Oct 30, 2014

@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.

@samuraisam
Copy link
Owner

You might need to update to 0.4.1.

@dabeto
Copy link

dabeto commented Oct 31, 2014

I started a new ec2 instance and it worked. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants