s-ichikawa / laravel-sendgrid-driver

This library can add sendgrid driver into the laravel's mail configure.
MIT License
391 stars 91 forks source link

Error sending email cURL error 18: transfer closed with 116 #137

Closed atiladelcanton closed 3 years ago

atiladelcanton commented 4 years ago

Good Morning!

Recently I started to have a problem with sending e-mail with sendgrid, it just has a time that it will not and returns the following error:

cURL error 18: transfer closed with 116 bytes remaining to read (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) {"exception":"[object] (GuzzleHttp\\Exception\\RequestException(code: 401): cURL error 18: transfer closed with 116 bytes remaining to read (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) at /var/www/html/app.fontecred.com.br/system/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186)

can you help me?

twarkie commented 4 years ago

I got this exact message when I accidentally used the incorrect key. Worth a double check.

atiladelcanton commented 3 years ago

It has already been seen, the key has been changed and time goes by and time for this error. :(

s-ichikawa commented 3 years ago

This issue has been reported several times before. but this cause may be on the network layer or your server setting. so it is difficult to resolve in this library. If it happens very frequently, you should ask your SRE or infra team. Sorry, I can't help...