From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adithya Raman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64880: Tramp Failed To connect with error "too long for Unix domain socket" Date: Wed, 26 Jul 2023 15:07:52 -0400 Message-ID: Reply-To: Adithya Raman Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001f5ac606016891d7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36629"; mail-complaints-to="usenet@ciao.gmane.io" To: 64880@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 26 21:21:57 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 1qOk56-0009Lm-O7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jul 2023 21:21:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOjtc-0005XC-Lk; Wed, 26 Jul 2023 15:10: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 1qOjta-0005Wf-Td for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 15:10: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 1qOjta-0005QY-L9 for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 15:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOjta-0000zW-Gv for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 15:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adithya Raman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jul 2023 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64880 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16903985913786 (code B ref -1); Wed, 26 Jul 2023 19:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2023 19:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:50082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOjtO-0000yz-Re for submit@debbugs.gnu.org; Wed, 26 Jul 2023 15:09:51 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:45828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOjrq-0000wj-8P for submit@debbugs.gnu.org; Wed, 26 Jul 2023 15:08:15 -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 1qOjrk-0004se-Ok for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 15:08:08 -0400 Original-Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOjri-0004yN-6c for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 15:08:08 -0400 Original-Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-583d702129cso1520167b3.3 for ; Wed, 26 Jul 2023 12:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buffalo.edu; s=google1; t=1690398483; x=1691003283; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IRxATMgJgO+LjX3Jf/Z4DRcFAHNTDrvml4l/atVwV2k=; b=e23ql1P7eyLkXAi5bID1LRp2rISnzJtyDeEpMrrYIHMNLI6bBe8EnDaMoLI9WaEnhB daU7BEUeFDLQtwBSS+le4zK2OGeXnPzLPDoEGcMoQWW9trN+3O3+TrDeL1sng7SVYTuj XTCR2oE+GiiSBrlIPQpawhzQRVLTS8804SLE4NO+tMNT7ipkCuvqBW4WDfCY1EXKWQpq yoPaECWDAeizNgBRavdEzpaktBM1u51zpqaaDeg+eVEIGuhotmvF9uqi7I5zCOuo8TQ6 x7BKSgW5YhgUWNQbNVVB9aVZq8UFa3E58PtOWjgXuvESUQuoECabw3bhTha5Lghw+y2m ziNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690398483; x=1691003283; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IRxATMgJgO+LjX3Jf/Z4DRcFAHNTDrvml4l/atVwV2k=; b=YdmJ4mxjoYjckTUtHSYqBHeXq+twmQAyJPbF/CeyuiwP+IWNLJSfjDrZ6pVBzDmKym KsRJhzXEqySS55S8ubkMjUAhL3FlQaiSdku8hEfQjLFCB4ZLOxf8FiFDjhrlmZ2pU+4m phT0ep3bgrpw10v4DejJ1Dy/ZHlYaGy1+Swsy6EJGpJ1dtKq5pHqNFu0UmBxSxJGjWZr PneA+0qGD2zDMRRK43Vb/Zg+aptT9VTehMOdyspmmAcL68a3ak1wLydMyoC1Dlavf0qO AoGA2Wzet3AM47AtqoP+Bz7eZTVAaUIcHcOKsQCYwHVXGYpdfz6Fe1rgzA5BXk00MId5 2wjA== X-Gm-Message-State: ABy/qLY79uUnOYKor/bQiAXWPxzGngaII8y/Xi0bJv36T3fEoFkpd11W cWJ4JO3D3MyjHAbhH4vvxQp98L+ZvwStYWwgKlXDSR1ESVrGshvm5As= X-Google-Smtp-Source: APBJJlGB9QgWgi3mGPn1XMtrN3+li0AL/3JtX6N6MWFlfoOXBg64xbFEBa5Z5tWQzXUHlzjXeu/2nkKdnO7FqWUBx+Q= X-Received: by 2002:a0d:cc12:0:b0:561:d1ef:3723 with SMTP id o18-20020a0dcc12000000b00561d1ef3723mr3299659ywd.38.1690398483234; Wed, 26 Jul 2023 12:08:03 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::112b; envelope-from=araman5@buffalo.edu; helo=mail-yw1-x112b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Mailman-Approved-At: Wed, 26 Jul 2023 15:09:49 -0400 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:266140 Archived-At: --0000000000001f5ac606016891d7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: Adi To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Tramp Failed To connect with error "too long for Unix domain socket" --text follows this line-- 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.41ba1ef501273d38f2d= fe01a9fec13c3f3810be6.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. Regards, - Adithya Configured features: ACL GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Outline Minor modes in effect: shell-dirtrack-mode: t emms-mode-line-mode: t emms-playing-time-display-mode: t emms-playing-time-mode: t global-company-mode: t company-mode: t vertico-posframe-mode: t vertico-mode: t electric-pair-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow mail-extr emacsbug message yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tramp-cmds tramp-sh tramp-cache noutline outline time-stamp tramp rx tramp-loaddefs trampver tramp-integration files-x tramp-compat xdg shell pcomplete parse-time iso8601 ls-lisp display-line-numbers emms-mpris dbus emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-volume easy-mmode emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-lyrics emms-url time-date emms-streams emms-show-all emms-tag-editor format-spec emms-tag-tracktag emms-mark emms-mode-line emms-cache emms-info-native bindat emms-info-exiftool emms-info-tinytag emms-info-metaflac emms-info-opusinfo emms-info-ogginfo emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mpv emms-playing-time emms-info emms-later-do emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate dired dired-loaddefs emms-setup emms emms-compat wheatgrass-theme swiper cl-extra ivy delsel ivy-faces ivy-overlay colir color modus-vivendi-theme modus-themes cc-styles cc-align cc-engine cc-vars cc-defs eglot external-completion jsonrpc flymake-proc flymake thingatpt ert pp ewoc debug backtrace help-mode find-func filenotify warnings icons compile text-property-search comint ansi-osc ansi-color imenu company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase vertico-posframe vertico-multiform posframe vertico compat elec-pair finder-inf company-autoloads org-msg-autoloads htmlize-autoloads vertico-posframe-autoloads vertico-autoloads popup-autoloads swiper-autoloads ivy-autoloads posframe-autoloads emms-autoloads info compat-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 1895225 450202) (symbols 48 26181 11) (strings 32 154325 17446) (string-bytes 1 3879117) (vectors 16 50867) (vector-slots 8 683520 214101) (floats 8 257 567) (intervals 56 692423 30) (buffers 976 12)) -- --0000000000001f5ac606016891d7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: Adi <adithya@Adis-MacBook-Pro-2.local>
To: = bug-gnu-emacs@gnu.org
Subje= ct: 30.0.50; Tramp Failed To connect with error "too long for Unix dom= ain socket"
--text follows this line--

After calling 'em= acs -Q', and attempting to open a remote file using
'tramp' = returns an error:
'
14:57:23.874236 tramp-process-actions (1) # F= ile error: Tramp failed to connect.=C2=A0 If this happens repeatedly, try=C2=A0 =C2=A0 =E2=80=98M-x tramp-cleanup-this-connection=E2=80=99
unix= _listener: path "/var/folders/2_/vd5b18917qqgs6zgs8s6w1h80000gn/T/tram= p.41ba1ef501273d38f2dfe01a9fec13c3f3810be6.iGYtFThWhG9Yvon8" too long = for Unix domain socket
14:57:29.281233 tramp-process-actions (3) # Waiti= ng for prompts from remote shell...failed
14:57:29.282797 tramp-maybe-op= en-connection (3) # Opening connection nil for uc using ssh...failed
= 9;

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 attemp= t to use tramp on my secondary
device which runs a Ubuntu20.04. So I bel= ieve this might an issue that
is unique to macOS.

I found a simil= ar 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 confu= sing.

Regards,
- Adithya

Configured features:
ACL GNUTL= S JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
SQLITE3 THREAD= S TOOLKIT_SCROLL_BARS WEBP ZLIB

Important settings:
=C2=A0 value = of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Maj= or mode: Outline

Minor modes in effect:
=C2=A0 shell-dirtrack-mod= e: t
=C2=A0 emms-mode-line-mode: t
=C2=A0 emms-playing-time-display-m= ode: t
=C2=A0 emms-playing-time-mode: t
=C2=A0 global-company-mode: t=
=C2=A0 company-mode: t
=C2=A0 vertico-posframe-mode: t
=C2=A0 ver= tico-mode: t
=C2=A0 electric-pair-mode: t
=C2=A0 tooltip-mode: t
= =C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric= -indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 column-numbe= r-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
= =C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 = auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

Load-path= shadows:
None found.

Features:
(shadow mail-extr emacsbug mes= sage yank-media puny rfc822 mml mml-sec
epa derived epg rfc6068 epg-conf= ig gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev= gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-p= rsvr mail-utils tramp-cmds
tramp-sh tramp-cache noutline outline time-st= amp tramp rx tramp-loaddefs
trampver tramp-integration files-x tramp-com= pat xdg shell pcomplete
parse-time iso8601 ls-lisp display-line-numbers = emms-mpris dbus
emms-librefm-stream xml emms-librefm-scrobbler emms-play= list-limit
emms-i18n emms-history emms-score emms-stream-info
emms-me= taplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon
emms-browser= sort emms-volume easy-mmode emms-volume-sndioctl
emms-volume-mixerctl e= mms-volume-pulse emms-volume-amixer
emms-playlist-sort emms-last-played = emms-player-xine emms-player-mpd tq
emms-lyrics emms-url time-date emms-= streams emms-show-all
emms-tag-editor format-spec emms-tag-tracktag emms= -mark emms-mode-line
emms-cache emms-info-native bindat emms-info-exifto= ol emms-info-tinytag
emms-info-metaflac emms-info-opusinfo emms-info-ogg= info
emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mp= v
emms-playing-time emms-info emms-later-do emms-player-mplayer
emms-= player-simple emms-source-playlist emms-source-file locate dired
dired-l= oaddefs emms-setup emms emms-compat wheatgrass-theme swiper
cl-extra ivy= delsel ivy-faces ivy-overlay colir color
modus-vivendi-theme modus-them= es cc-styles cc-align cc-engine cc-vars
cc-defs eglot external-completio= n jsonrpc flymake-proc flymake thingatpt
ert pp ewoc debug backtrace hel= p-mode find-func filenotify warnings
icons compile text-property-search = comint ansi-osc ansi-color imenu
company-oddmuse company-keywords compan= y-etags etags fileloop generator
xref project ring company-gtags company= -dabbrev-code company-dabbrev
company-files company-clang company-capf c= ompany-cmake company-semantic
company-template company-bbdb company pcas= e vertico-posframe
vertico-multiform posframe vertico compat elec-pair f= inder-inf
company-autoloads org-msg-autoloads htmlize-autoloads
verti= co-posframe-autoloads vertico-autoloads popup-autoloads
swiper-autoloads= ivy-autoloads posframe-autoloads emms-autoloads info
compat-autoloads p= ackage browse-url url url-proxy url-privacy url-expand
url-methods url-h= istory url-cookie generate-lisp-file url-domsuf
url-util mailcap url-han= dlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cac= he json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddef= s cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify edif= f-hook vc-hooks lisp-float-type
elisp-mode mwheel term/ns-win ns-win ucs= -normalize mule-util
term/common-win tool-bar dnd fontset image regexp-o= pt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mod= e register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer sele= ct
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors<= br>frame minibuffer nadvice seq simple cl-generic indonesian philippine
= cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
= korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
euro= pean ethiopic indian cyrillic chinese composite emoji-zwj charscript
cha= rprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-= preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files w= indow text-properties overlay sha1 md5 base64 format env
code-pages mule= custom widget keymap hashtable-print-readable backquote
threads kqueue = cocoa ns lcms2 multi-tty make-network-process emacs)

Memory informat= ion:
((conses 16 1895225 450202)
=C2=A0(symbols 48 26181 11)
=C2= =A0(strings 32 154325 17446)
=C2=A0(string-bytes 1 3879117)
=C2=A0(ve= ctors 16 50867)
=C2=A0(vector-slots 8 683520 214101)
=C2=A0(floats 8 = 257 567)
=C2=A0(intervals 56 692423 30)
=C2=A0(buffers 976 12))

-- --0000000000001f5ac606016891d7--