You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the email I have attached an excel file with around 5000 contacts.
upload it. What it will do is read all the contacts in that excel file and initiate sending of SMS to Africa's Talking
In the terminal listening on worker logs check the logs. The exception is been raised randomly. So be patient and wait for it to be raised.
You will see the exception am talking about.
Partly we failed to catch this because it does not show up while sending single SMSes. But sending bulk at once it showed up.
To understand why i think it might affect other people who fail to realise it early. In the lib.AfricasTalkingGateway.py file. Uncomment the send_message function and comment the send_message function which we have handled the exception.
You will notice if the BadStatusLine is raised. The active thread will fail causing messages not to be sent which is something to worry about.
I think we missed to catch it because your doc's in some place mentions that all gateway exceptions will be handled. Which I think is not true.
Here are some links for people who bumped into the same issue.