PyAPNs icon indicating copy to clipboard operation
PyAPNs copied to clipboard

Python2.6 SSL write error

Open azhai opened this issue 11 years ago • 2 comments

File "/var/www/apns-proxy-server/lib/python2.6/site-packages/apns.py", line 526, in send_notification_multiple
    return self.write(frame.get_frame())
  File "/var/www/apns-proxy-server/lib/python2.6/site-packages/apns.py", line 260, in write
    return self._connection().write(string)
  File "/usr/lib64/python2.6/ssl.py", line 148, in write
    return self._sslobj.write(data)
TypeError: write() argument 1 must be string or read-only buffer, not bytearray

azhai avatar Sep 16 '14 11:09 azhai

Hi

I am also getting same error.Please let me know if you found any solution for this?

riteshbabu avatar Nov 10 '14 10:11 riteshbabu

Hi, someone already solved this problem?

Salgado82 avatar Oct 07 '16 22:10 Salgado82