git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Juston Li <juston.h.li@gmail.com>
To: git@vger.kernel.org
Subject: git send-email Connection Closed
Date: Tue, 14 Jul 2015 22:11:13 -0700	[thread overview]
Message-ID: <CAFow2F9ZFNcBdoc7YTCeGT_PA-UvMyfcKWE4K4ufGMyFXJd5Uw@mail.gmail.com> (raw)

Hello

Recently, I have had trouble using git send-email to send a patchset.
After the confirmation to send the email I get the following:
Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
[Net::SMTP::SSL] Connection closed at /usr/lib/git-core/git-send-email
line 1320.
fatal: 'send-email' appears to be a git command, but we were not
able to execute it. Maybe git-send-email is broken?

This message first appeared when I tried to send a 19 commit patchset
via 'git send-email HEAD~19'. It also fails when I try to format-patch
and send the patchset separately via 'git send-email 0001...'
Oddly enough, it works when I send anything other than 19 commits
for example 'git send-email HEAD~1' or 'git send-email HEAD~20'

I thought it was something with the gmail servers but I was able to send
the patchset by downgrading a couple perl packages
warning: downgrading package perl (5.22.0-1 => 5.20.2-1)
warning: downgrading package perl-net-ssleay (1.68-2 => 1.67-1)

Note perl-net-ssleay depends on perl 5.22 so I can't isolate which
package but I can consistently get the failure with the newest packges
and it works fine with the downgraded packages.

Running Arch Linux
git 2.4.5
perl 5.22.0
perl-authen-sasl 2.16
perl-mime-tools 5.505
perl-net-smtp-ssl 1.03

.gitconfig
[sendemail]
    smtpEncryption = tls
    smtpServer = smtp.gmail.com
    smtpUser = juston.h.li@gmail.com
    smtpServerPort = 587

Regards
Juston

             reply	other threads:[~2015-07-15  5:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-15  5:11 Juston Li [this message]
2015-07-15 22:00 ` git send-email Connection Closed Mike Rappazzo
2015-07-16  2:43   ` Juston Li
2015-07-24 12:59 ` Stefan Agner
2015-07-24 14:26   ` Stefan Agner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFow2F9ZFNcBdoc7YTCeGT_PA-UvMyfcKWE4K4ufGMyFXJd5Uw@mail.gmail.com \
    --to=juston.h.li@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).