Skip to content

Instantly share code, notes, and snippets.

@roycehaynes
Created December 9, 2013 19:54
Show Gist options
  • Save roycehaynes/710280778aa292a567b0 to your computer and use it in GitHub Desktop.
Save roycehaynes/710280778aa292a567b0 to your computer and use it in GitHub Desktop.
2013-12-09 12:53:57-0700 [HTTPChannel,5,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/twisted/web/server.py", line 189, in process
self.render(resrc)
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/twisted/web/server.py", line 238, in render
body = resrc.render(self)
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/twisted/web/resource.py", line 250, in render
return m(request)
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/twisted/web/xmlrpc.py", line 172, in render_POST
d = defer.maybeDeferred(function, *args)
--- <exception caught here> ---
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/twisted/internet/defer.py", line 137, in maybeDeferred
result = f(*args, **kw)
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/pyapns/server.py", line 292, in xmlrpc_notify
aps_dict_or_list))
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/pyapns/server.py", line 194, in write
context = self.getContextFactory()
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/pyapns/server.py", line 184, in getContextFactory
return APNSClientContextFactory(self.cert_path)
File "/Users/roycehaynes/Sites/.virtualenvs/chrrp/lib/python2.7/site-packages/pyapns/server.py", line 64, in __init__
self.ctx.use_certificate_file(ssl_cert_file)
OpenSSL.SSL.Error: [('system library', 'fopen', 'File name too long'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system lib')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment