From owner-freebsd-questions@freebsd.org Sat Nov 9 01:15:40 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09AFE16750C for ; Sat, 9 Nov 2019 01:15:40 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478zj64x4Cz49L9 for ; Sat, 9 Nov 2019 01:15:38 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-wr1-x443.google.com with SMTP id f2so8936625wrs.11 for ; Fri, 08 Nov 2019 17:15:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P5jNxzSru+iSyvC3JvdnOQcGF8qMfFPGVAC+XQ9alY8=; b=vDNr9NOfhoCRVePHsm7lbnOwBpgHSVkB1PfGdcRNBrvOAbMnOiiqOprUkuzkNvzM7j aq+eziQgDNV0TyZQe7Zd56FkH1MttJ6DKp2UEs1DnfRTG4uX/jB5E0KxV6jge8/CGvt+ 0cj+46rA0gTSx9LKg86VWxKNW4n/OETWlO87o8tmVHzUIEan4iygOaVJ4k5XhrA7029M Nz82K5PXWkg7J+Y+EGFOzdBdVB9Tk5NilJ2KE2SxOpMrzooeBff+SVJ8uHX9ZgT2QC/f kChpKEzMxWaq+JTs3akJY3hcJaNZden2zV3u5Oxo1ox7isUPEd35ilTm2QETdq7mkrnT Ue+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P5jNxzSru+iSyvC3JvdnOQcGF8qMfFPGVAC+XQ9alY8=; b=IVBS46IiejYAgdS2Wanxo8g4mEYv60lIlKRKPJ6Cx3fLwuNbuqWqAvCvdJPvqzCdRm piIesqiIp6bMorv9X7ZO3pnPCUYU2VXhrpXiu+qZXRXrxBs3xCxvQkUj47bYrSYvFVIM MGX/UCN6e7n0IZU+tP7qlYlVAEldCRsj/cfNGZN8JfEjZBE2U3LpxqhQF1N9TA5A/l4f mVOzDYrvCJ5ASh4H4xxm8eOM8S9GZXUNSGFZ7ij3AGKGwOlH9mFIU9TwVTSAB8pDZPj4 6T8fc46KE69Iclmcj1PxYPW41vTqkwHbLByxs68zJfOsJSMdocwoa6JQu5sOa6R/c3f4 7heQ== X-Gm-Message-State: APjAAAW0klVzc7FFGXnJWfGAH+usKqi3WSzNfFXaFTpnc+X0EbNjA8ge udmC2HV21J2w7F62nqOgfFru/U8QPI1Dz3pQKlo= X-Google-Smtp-Source: APXvYqxljvSZSGB2vwxko9ph2xDk/KexsmEaPc0Gen/WtHkMQdFu4wjMLyq/HDBY+LGEqnFFqjxjOuBF6h3Mjzv7xVQ= X-Received: by 2002:a5d:6b04:: with SMTP id v4mr2963789wrw.219.1573262136293; Fri, 08 Nov 2019 17:15:36 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a5d:4f90:0:0:0:0:0 with HTTP; Fri, 8 Nov 2019 17:15:35 -0800 (PST) In-Reply-To: References: From: David Mehler Date: Fri, 8 Nov 2019 20:15:35 -0500 Message-ID: Subject: Re: git with apache, a push returns code 22 To: jin guojun Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 478zj64x4Cz49L9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=vDNr9NOf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2a00:1450:4864:20::443 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.50), ipnet: 2a00:1450::/32(-2.75), asn: 15169(-2.01), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2019 01:15:40 -0000 Hello, Thanks for your reply. I get the same error message with both commands. It's also saying: fatal git-http-push failed Any ideas? Thanks. Dave. On 11/8/19, jin guojun wrote: > Can you try following? > > git push origin HEAD:refs/heads/master > or > git push origin HEAD:refs/for/master > > On Fri, Nov 8, 2019 at 10:16 AM David Mehler wrote: > >> Hello, >> >> I'm trying to run git on FreeBSD with Apache 2.4 as the web server. My >> issue is I can pull/clone from the repo via remote: >> >> git clone https://git.example.com/myrepo.git >> >> This works fine. The issue comes when I atempt to push changes: >> >> git commit -m "commit message" >> git push origin master >> >> This gives me an error message of can nnott access url return code 22. >> The git and apache versions i'm using are: >> >> apache24-2.4.41 >> git-2.24.0 >> >> >> >