-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I have been using your lib without error for a few months until it recently stopped working. We are using Apex (for Lambda) and simply redeployed the function that included 'gobiko.apns' in our requirements.txt
The error is;
GoAway frame could not be sent: 'NoneType' object has no attribute 'sendall'
and the traceback is;
local variable 'res' referenced before assignment: UnboundLocalError
Traceback (most recent call last):
File "/var/task/main.py", line 79, in handle
send_ios_push(params, developer_id, ios_devices, bundle_id)
File "/var/task/main.py", line 149, in send_ios_push
extra=formatted_params['extra']
File "/var/task/gobiko/apns/client.py", line 78, in send_bulk_message
return res
UnboundLocalError: local variable 'res' referenced before assignment
I think it may be failing to establish an SSL connection but not sure how to fix it.
AWS Lambda runs on python 2.7.12.
asleea88
Metadata
Metadata
Assignees
Labels
No labels