sfreiberg / gotwilio

Twilio library for Go (golang).
BSD 2-Clause "Simplified" License
342 stars 136 forks source link

EOF #40

Closed markschmid closed 5 years ago

markschmid commented 6 years ago

We're running into intermittent "EOF" errors using Twilio.CallWithUrlCallbacks() . err looks like this:

Post https://api.twilio.com/2010-04-01/Accounts/<an_account_id>/Calls.json: EOF

Not sure why this happens. Some posts suggest it could have to do with the Go http client wanting to reuse connections and for some reason the server has already closed the connection. Or, that the server is rate limited (too many concurrent connections).

Any ideas? Help greatly appreciated.

markschmid commented 5 years ago

Probably caused by us using wrongly encoded XML-entities. Did not happen lately, so closing.