From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#64880: Tramp Failed To connect with error "too long for Unix domain socket" Date: Thu, 27 Jul 2023 09:43:24 +0200 Message-ID: <87mszh3ilf.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39282"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: araman5@buffalo.edu To: 64880@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 27 10:04:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qOvyw-0009uZ-It for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jul 2023 10:04:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOvfI-0007NV-5d; Thu, 27 Jul 2023 03:44:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOvfG-0007Mp-5I for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 03:44:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOvfF-0006bl-Sl for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 03:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOvfF-0000Sv-Od for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 03:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2023 07:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64880 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Adithya Raman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 64880@debbugs.gnu.org, Adithya Raman Original-Received: via spool by submit@debbugs.gnu.org id=B.16904438281755 (code B ref -1); Thu, 27 Jul 2023 07:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2023 07:43:48 +0000 Original-Received: from localhost ([127.0.0.1]:40661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOvf2-0000SE-3P for submit@debbugs.gnu.org; Thu, 27 Jul 2023 03:43:48 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:44616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOvf0-0000S1-Cm for submit@debbugs.gnu.org; Thu, 27 Jul 2023 03:43:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOvev-0007HL-3X for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 03:43:41 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOvet-0006Zw-7a for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 03:43:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1690443807; x=1691048607; i=michael.albinus@gmx.de; bh=y/W10yiBZEk3zQLlE4mFyCpFOov3dFmJ8jduA1Eq1kM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=uV6/LsfbpsPkTjx7F7jDDo37doqwICH8A1KCMY4alSC8KDpOPT3f+OXYfrjjo32wwAZrQIQ hO0ZY6CbvCJNv565iw7SZQrUcylIY27kbBGK6VWUiPLHhPE3zIxjElIL5VhUymwxvTS7MopHm dBf1thpV12QKDcsQbVPaeHHY/ILvFFLvgndvraP6DVBU290CKPORLk2KVzP6+hk6QO6IFQ2aA ZCHnNDBBKzVMoqdwxbrvOYOCVyzUihHfFQD4VfwvsIeoNBuGIII+dcUuepH+iXyqjZLxh8lqk 5io05xTnEoXA/UqkHcoabu+5nEK53GdgPli4eAcT4S5NYC35e59Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.27]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MFKKh-1qeayk0gZN-00FgHN; Thu, 27 Jul 2023 09:43:27 +0200 In-Reply-To: (Adithya Raman via's message of "Wed, 26 Jul 2023 15:07:52 -0400") X-Provags-ID: V03:K1:RYXirS1NwJm2Wrr8Y8SllB/xYjFns00m11kyumHxCOAoM7Z2Ca8 pJT8DCEprrjSy4L7JFfVm6e7RCjv3zDqfAoqHpLfe0ivahb+83RkAOgZE4fwSUcGhc4J1ZE 2kW4mHVgovoJXuAeLsh8+wtbjzMs9UlaFT4SX8LqxdoyQuC/5V0QkmrjDzXeVI1wIWNx9Vo R/LV9XAnCHYydLlZcsEYg== UI-OutboundReport: notjunk:1;M01:P0:J02ZxXuj6JQ=;+nj6gcWv34ZkqtIffwgji5ZJpbM 5+sJTjQV/pVsMqxlgAiqe9ZrgBLr5whFjlyMqraxsr0HMtXv4eMREEOSnO87yHQwnPBDVnJkt kJHPdpUYpYfmWfndfwtpfDlQ0Onf0pgCtiIlavxbyPltyYiyGiCELwcKn1oYFWZdEBKTBPYrU WBYZCOooKad/ks5fWoi3n006y/xIlimySRg19rxTRl2MtjYERpUvbrDCG5DKbn7QTZKLtdCk9 DdDZZ2Yg8EW4cspDQtV23+fmZleAvZvMi9HjrAkgaayoDCBFo15hMf0RIeNIC5plo9n0gSdEd aGPS9NApMqq6QK9XbNMjAZ/A5SMbYqtMerqxoj6vfAd98G66ip46W6sFKLs7IMmsGMasgzMre zlBBUXDVDhezp7ssgRHoo8A8B+MEQWUIn4pA8jZI31M5CP7FLVVjaXFh0MTbymwoITPrdo7XJ T9GzdhNVZgEdU6Y/eziscfS/6loP7hPqkASTa3l02eFuUqOqW4ROdNv8qMKc5bhlXEWcJ2q4B Tu4bWQAyHBV1+GAInV86tAan548OxfkIODb98f9ZrGpZafeuouOImr5pMqAz540ALeE1fubKX 619TyX+ZxV/NjWJSIR40McCOa0dG/7W5+bXumkmVSYiHbuuPjztSQzlSD9vWF0RXVoLqzGcQN qFENPS4BxbF7Nqio4GDSBfvn3kfMnhDe0x36QtRbTlDMjWxSHZ0UFF4WMmIl+ZkhvW88Gx2h7 NB1+P7P/EM7Omxf1ddbG6cOFTnnXQfNKypFVe9pRM8JOU3AMaSwh/GNW2Wl/Wbw7bzdfIFW2 Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266167 Archived-At: Adithya Raman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: Hi Adithya, > After calling 'emacs -Q', and attempting to open a remote file using > 'tramp' returns an error: > ' > 14:57:23.874236 tramp-process-actions (1) # File error: Tramp failed > to connect. If this happens repeatedly, try > =E2=80=98M-x tramp-cleanup-this-connection=E2=80=99 > unix_listener: path > "/var/folders/2_/vd5b18917qqgs6zgs8s6w1h80000gn/T/tramp.41ba1ef501273d38f= 2dfe01a9fec13c3f3810be6.iGYtFThWhG9Yvon8" > too long for Unix domain socket > 14:57:29.281233 tramp-process-actions (3) # Waiting for prompts from > remote shell...failed > 14:57:29.282797 tramp-maybe-open-connection (3) # Opening connection > nil for uc using ssh...failed > ' > > I am running emacs version 30.0.50 and tramp version 2.7.0-pre on a > macOS Ventura 13.4.1 > > I don't face this error when I attempt to use tramp on my secondary > device which runs a Ubuntu20.04. So I believe this might an issue that > is unique to macOS. > > I found a similar bug in > https://lists.gnu.org/archive/html/bug-gnu-emacs/2015-02/msg00394.html > but details on how it was resolved were a bit confusing. Well, this is bug#19702, finally. I forgot about this problem on macOS when I made a recent change. Fixed on the master branch (plus a comment in order to remember next time :-) Could you, pls, check? > Regards, > - Adithya Best regards, Michael.