From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 15 03:59:06 2012 Received: (at submit) by debbugs.gnu.org; 15 Nov 2012 08:59:06 +0000 Received: from localhost ([127.0.0.1]:43837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYvHt-0006pH-Ji for submit@debbugs.gnu.org; Thu, 15 Nov 2012 03:59:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55410) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYvHp-0006oy-Iw for submit@debbugs.gnu.org; Thu, 15 Nov 2012 03:59:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYvH8-0006Cj-KM for submit@debbugs.gnu.org; Thu, 15 Nov 2012 03:58:21 -0500 Received: from lists.gnu.org ([208.118.235.17]:46460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYvH8-0006Cf-Gn for submit@debbugs.gnu.org; Thu, 15 Nov 2012 03:58:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYvH5-0000nt-D5 for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 03:58:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYvH2-0006CA-B9 for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 03:58:15 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:47822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYvH1-0006C2-Tu for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 03:58:12 -0500 Received: by mail-lb0-f169.google.com with SMTP id gk1so1241995lbb.0 for ; Thu, 15 Nov 2012 00:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=WK2yAUqKQfZkQ64v4onE7eLpWwwtcIVwIn0mW2SsKlI=; b=AeDUbgV4rpkV1cdyYiECYVqaKrGUyKQJ040EdzSqaiP76m2GgJMEj24wmxHyO3p+/D 8+vmVonspLWhqnh5zMXJFuD8DRI7uM8j8N/gvfXPdNXOYYgheJGdt3Z/AT1uaW/BOjgB eZqmBEtJc7rzVqfD3qIlfYiWS0fdQZ2i2ynNJWQNFbUVL4BvNmTS34XPHUYZM0I63pRM 5QRl58+dCwQG0CMD41zeinmGBIAR4CSq7I1fDYh4iFpEydjrIK4w9rVD2Vnek5QO7nMT +dVBdZLuRI/inz/NEG+/U5f+1v4UnmL8sSWvNSXSQFvLecv2cDvLyqYk1d3i2j2i48HH uDmA== Received: by 10.152.114.65 with SMTP id je1mr398327lab.33.1352969890284; Thu, 15 Nov 2012 00:58:10 -0800 (PST) Received: from vbx ([178.252.98.87]) by mx.google.com with ESMTPS id sj3sm5946768lab.2.2012.11.15.00.58.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2012 00:58:09 -0800 (PST) From: Dmitry Gutov To: bug-gnu-emacs@gnu.org Subject: 24.2.50; url-retrieve fails for localhost Date: Thu, 15 Nov 2012 12:57:49 +0400 Message-ID: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I have an HTTP server running, started from an inferior process. If I evaluate (switch-to-buffer (url-retrieve-synchronously "http://localhost:24959/classes")), it brings me to an empty buffer which has "failed" in the mode line. If I call the asynchronous version, it passes this into the callback: ((:error (error connection-failed failed with code 111 :host localhost :service 24959))) Strangely, it works if I replace "localhost" with "127.0.0.1" or even "localhost.localdomain". But neither Firefox nor curl have a problem with reading from the first version of the URL. In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0) of 2012-11-15 on vbx Bzr revision: 110872 rgm@gnu.org-20121115061756-ncyfcon4pkq7ku57 Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.10 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: recentf-mode: t shell-dirtrack-mode: t helm-match-plugin-mode: t elisp-slime-nav-mode: t paredit-mode: t global-undo-tree-mode: t undo-tree-mode: t global-diff-hl-mode: t diff-hl-mode: t diff-auto-refine-mode: t savehist-mode: t yas-global-mode: t yas-minor-mode: t global-auto-revert-mode: t autopair-global-mode: t cua-mode: t winner-mode: t ido-ubiquitous-mode: t ido-everywhere: t show-paren-mode: t global-ethan-wspace-mode: t ethan-wspace-mode: t ethan-wspace-clean-many-nls-eof-mode: t ethan-wspace-clean-no-nl-eof-mode: t ethan-wspace-clean-eol-mode: t ethan-wspace-clean-tabs-mode: t eproject-mode: t eldoc-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent input: C-x C-g C-x C-g C-; g e m f M-: q M-x r v m M-: M-x z o s s i m a M-x z o s s i m a - j u m p M-x C-g M-x f i n d - l i b z o s s i m a l o c a l h o s t C-M-x C-x C-s M-. M-. M-x r e Recent messages: zossima.el [Gemfile] -scratch- Contacting host: localhost:24959 save-current-buffer: Search failed: " " Contacting host: localhost:24959 save-current-buffer: Search failed: " " Gemfile [zossima.el] -scratch- Load-path shadows: /home/gutov/.emacs.d/site-lisp/smartrep.el/smartrep hides ~/.emacs.d/site-lisp/smartrep /home/gutov/.emacs.d/elpa/magit-20121014.1043/.dir-locals hides /home/gutov/emacs-bzr/emacs-24/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mule-util find-func mail-utils network-stream starttls url-cache url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-auth zossima url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap json rvm debug unsafep flymake-ruby flymake-easy flymake ruby-electric ruby-tools subword inf-ruby ruby-mode helm-misc tramp-cache tramp-sh recentf tree-widget wid-edit bow helm-files image-dired tramp tramp-compat tramp-loaddefs shell pcomplete format-spec dired-x dired-aux thingatpt helm-tags helm-locate helm-help helm-external helm-bookmark helm-buffers helm-grep helm-regexp grep helm-elscreen helm-utils compile helm-match-plugin helm helm-config elisp-slime-nav etags paredit saveplace win-switch undo-tree diff diff-hl smartrep face-remap vc-hg vc-git vc-dir ewoc vc vc-dispatcher diff-mode savehist yasnippet autorevert autopair cua-base winner point-stack .emacs-loaddefs server auto-complete-autoloads autopair-autoloads clojure-mode-autoloads coffee-mode-autoloads expand-region-autoloads flymake-coffee-autoloads flymake-ruby-autoloads flymake-easy-autoloads helm-descbinds-autoloads iedit-autoloads iy-go-to-char-autoloads markdown-mode-autoloads move-text-autoloads popup-autoloads rainbow-mode-autoloads ruby-electric-autoloads ruby-tools-autoloads rvm-autoloads sass-mode-autoloads lisp-mnt finder-inf starter-kit-bindings-autoloads windmove starter-kit-lisp-autoloads elisp-slime-nav-autoloads starter-kit-autoloads smex starter-kit-misc warnings ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache url-vars ido-ubiquitous ido paren starter-kit-defuns uniquify magit-autoloads ido-ubiquitous-autoloads smex-autoloads find-file-in-project-autoloads idle-highlight-mode-autoloads paredit-autoloads switch-window-autoloads typing-autoloads undo-tree-autoloads wgrep-autoloads win-switch-autoloads yaml-mode-autoloads yasnippet-autoloads zossima-autoloads inf-ruby-autoloads package devenv eproject-extras ibuf-macs ibuf-ext ibuffer iswitchb ethan-wspace eproject derived easy-mmode esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util progmodes mmm mmm-auto mmm-vars mmm-compat cl-macs gv cl keys quail help-mode easymenu hippie hippie-exp comint ansi-color dired winring ring transpose-frame iflipb misc prefs help-at-pt cus-start cus-load edmacro kmacro defuns advice help-fns cl-lib advice-preload time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 21 22:03:53 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 03:03:53 +0000 Received: from localhost ([127.0.0.1]:54804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmFNQ-0000aA-M6 for submit@debbugs.gnu.org; Fri, 21 Dec 2012 22:03:53 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:35105) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmFNO-0000a2-DE for 12893@debbugs.gnu.org; Fri, 21 Dec 2012 22:03:51 -0500 Received: by mail-pa0-f48.google.com with SMTP id fa1so3166506pad.35 for <12893@debbugs.gnu.org>; Fri, 21 Dec 2012 19:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=ZEbL9tKQaKpWJMCZzZTPsP16u90ySaYTjIy3HjF4eEM=; b=JgGkvKCIEPMlP2JQfszGnWuJ5N9loTSebsI94a9jszjbPJjZwv9WyvxLFlocIR40/s BN9E0QWb0hN96Yx4Rw13s1Jibf0S17LAg925+bFgAN5YH3Lc2T6SYxrLPwBTBQMKHGyf mSVfqEobdHMZh1ks9dlQF3X7uNgUbG2BAb6R+nt/US8H1+Hd7WYIGOKFgKS6bCS1TTla wSDnDM8zvcHB8+IS9fZkKU5/Rq/c21DiTrjWgFDYq5mD+S3TXZn4ZpB8SsTD/RHszAzM lDau8J7S/S0omph1H9Gl5rSQFCkJrbDCQODjVRiCUIq70z2FC6iTrkU1EuSji+oelbdN Zlsg== X-Received: by 10.68.228.34 with SMTP id sf2mr45442025pbc.85.1356145413120; Fri, 21 Dec 2012 19:03:33 -0800 (PST) Received: from ulysses (cm107.delta179.maxonline.com.sg. [59.189.179.107]) by mx.google.com with ESMTPS id j9sm8437536paw.2.2012.12.21.19.03.28 (version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 19:03:31 -0800 (PST) From: Chong Yidong To: Dmitry Gutov Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> Date: Sat, 22 Dec 2012 11:03:26 +0800 In-Reply-To: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> (Dmitry Gutov's message of "Thu, 15 Nov 2012 12:57:49 +0400") Message-ID: <87sj6ylrep.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Dmitry Gutov writes: > I have an HTTP server running, started from an inferior process. > > If I evaluate (switch-to-buffer (url-retrieve-synchronously > "http://localhost:24959/classes")), it brings me to an empty buffer > which has "failed" in the mode line. > > If I call the asynchronous version, it passes this into the callback: > > ((:error (error connection-failed failed with code 111 > :host localhost :service 24959))) I think this may be the same as Bug#12374, which was just fixed by Takafumi Arakaki. Could you try again with latest trunk and see if the problem is still there? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 04:12:17 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 09:12:17 +0000 Received: from localhost ([127.0.0.1]:55004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmL7x-0001wO-Hd for submit@debbugs.gnu.org; Sat, 22 Dec 2012 04:12:17 -0500 Received: from mail-la0-f43.google.com ([209.85.215.43]:59092) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmL7u-0001wD-9s for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 04:12:15 -0500 Received: by mail-la0-f43.google.com with SMTP id z14so6402589lag.16 for <12893@debbugs.gnu.org>; Sat, 22 Dec 2012 01:11:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ZX08lQshLNPov/UQ3IxprTx3xJxor8R8MQoMgHLl3w8=; b=icOFA3UX9WCosAtXrLsR/5PhrEXAZG7OXQaYZkP8kYXJYa3JWvt+t6MgG0X5T8mFwr Fs0EXqXNWVsTIaHJQF0xV2fvHYsJWSbFRXLpd6Padipqlzo2cjvHC24RHuBTs52O409E 5YFVqoSy9lRyNFrQhQjrZq8/sZMKd711zB/rcWgU5DZrHbWC8ut3fyhM1v3g9aShEGUw cOk0X6Xzco5/6EX7Obt6WONgyWpqatcSXgs46+QpEUrKhcqVtBgOUglqhCqphrfbCJ1A cZYI+8R6Uytr8wBRURR2ZWls1ltT/BI2uIdZzXD/ZTaKRLtkirTdyb+AY1/0g5dQSq5P YDnw== X-Received: by 10.152.147.36 with SMTP id th4mr9571588lab.44.1356167514584; Sat, 22 Dec 2012 01:11:54 -0800 (PST) Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id ml1sm5448517lab.15.2012.12.22.01.11.52 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 01:11:53 -0800 (PST) Message-ID: <50D57959.3010108@yandex.ru> Date: Sat, 22 Dec 2012 13:11:53 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Chong Yidong Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> In-Reply-To: <87sj6ylrep.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) On 22.12.2012 7:03, Chong Yidong wrote: > Dmitry Gutov writes: > >> I have an HTTP server running, started from an inferior process. >> >> If I evaluate (switch-to-buffer (url-retrieve-synchronously >> "http://localhost:24959/classes")), it brings me to an empty buffer >> which has "failed" in the mode line. >> >> If I call the asynchronous version, it passes this into the callback: >> >> ((:error (error connection-failed failed with code 111 >> :host localhost :service 24959))) > > I think this may be the same as Bug#12374, which was just fixed by > Takafumi Arakaki. Could you try again with latest trunk and see if the > problem is still there? Tried it, still there. This might be a quirk of configuration (the OS is installed on a virtual machine), but the obvious other software works properly. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 04:45:10 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 09:45:10 +0000 Received: from localhost ([127.0.0.1]:55019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLdm-0002mB-4x for submit@debbugs.gnu.org; Sat, 22 Dec 2012 04:45:10 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:33321) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLdj-0002lz-ER for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 04:45:08 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YT1yS0Vwjz3hhjX; Sat, 22 Dec 2012 10:44:47 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YT1yR5pvszbbmF; Sat, 22 Dec 2012 10:44:47 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id yvt_ud8xuWFr; Sat, 22 Dec 2012 10:44:47 +0100 (CET) X-Auth-Info: VFm1DjCPc3OifqMBJQWK77baYpUu1r8iEMWz5g838WY= Received: from linux.local (ppp-88-217-127-54.dynamic.mnet-online.de [88.217.127.54]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 22 Dec 2012 10:44:47 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id B67791E541F; Sat, 22 Dec 2012 10:44:41 +0100 (CET) From: Andreas Schwab To: Dmitry Gutov Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> X-Yow: Mary Tyler Moore's SEVENTH HUSBAND is wearing my DACRON TANK TOP in a cheap hotel in HONOLULU! Date: Sat, 22 Dec 2012 10:44:39 +0100 In-Reply-To: <50D57959.3010108@yandex.ru> (Dmitry Gutov's message of "Sat, 22 Dec 2012 13:11:53 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Dmitry Gutov writes: > On 22.12.2012 7:03, Chong Yidong wrote: >> Dmitry Gutov writes: >> >>> I have an HTTP server running, started from an inferior process. >>> >>> If I evaluate (switch-to-buffer (url-retrieve-synchronously >>> "http://localhost:24959/classes")), it brings me to an empty buffer >>> which has "failed" in the mode line. >>> >>> If I call the asynchronous version, it passes this into the callback: >>> >>> ((:error (error connection-failed failed with code 111 >>> :host localhost :service 24959))) >> >> I think this may be the same as Bug#12374, which was just fixed by >> Takafumi Arakaki. Could you try again with latest trunk and see if the >> problem is still there? > > Tried it, still there. Why did localhost:24959 refuse connection? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 04:49:19 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 09:49:19 +0000 Received: from localhost ([127.0.0.1]:55023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLhm-0002sF-Py for submit@debbugs.gnu.org; Sat, 22 Dec 2012 04:49:19 -0500 Received: from mail-la0-f47.google.com ([209.85.215.47]:55676) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLhk-0002s5-U3 for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 04:49:17 -0500 Received: by mail-la0-f47.google.com with SMTP id u2so6436252lag.34 for <12893@debbugs.gnu.org>; Sat, 22 Dec 2012 01:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=l2mDVQ6Vr+acRNsUjFsJDqdhwOmR/FoIZZ7ql3wlLLo=; b=Xby9Zt9w9nPjRl+H/KObQxSoPKPa0jU1Z6LWahg5e3Mx0fSjrxgNsXgVXRhaKpdCcz nzF+DK763m+Fy9qqkJOCUx1ddmCq54kEXctrj0YH+JQgYtJX/wwz49BXJ9e9VfxGJsf5 t5BTWCdZCOBI45DFVg0spQ+e/GlJ44G0BAsQ7h52oDLiOri+yuLvKQC0SQKyfbICIsnr GyIqH8HscClZDtrLCqbHQv+hpJCsWVdrLx473cGU9/Nbu5mRgv1XeEMNUnvIarglu52g CFV/tUB9ASLH2nYlRXIdfkLK50ufjaHf5THT2UFqcUWE9Uy2ssXeC/yWVDjjjjT8qCcv v5Yw== X-Received: by 10.152.121.212 with SMTP id lm20mr14667919lab.42.1356169737708; Sat, 22 Dec 2012 01:48:57 -0800 (PST) Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id gr12sm5484682lab.3.2012.12.22.01.48.55 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 01:48:56 -0800 (PST) Message-ID: <50D58209.3000101@yandex.ru> Date: Sat, 22 Dec 2012 13:48:57 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) On 22.12.2012 13:44, Andreas Schwab wrote: > Dmitry Gutov writes: > >> On 22.12.2012 7:03, Chong Yidong wrote: >>> Dmitry Gutov writes: >>> >>>> I have an HTTP server running, started from an inferior process. >>>> >>>> If I evaluate (switch-to-buffer (url-retrieve-synchronously >>>> "http://localhost:24959/classes")), it brings me to an empty buffer >>>> which has "failed" in the mode line. >>>> >>>> If I call the asynchronous version, it passes this into the callback: >>>> >>>> ((:error (error connection-failed failed with code 111 >>>> :host localhost :service 24959))) >>> >>> I think this may be the same as Bug#12374, which was just fixed by >>> Takafumi Arakaki. Could you try again with latest trunk and see if the >>> problem is still there? >> >> Tried it, still there. > > Why did localhost:24959 refuse connection? How can I find out the answer? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 05:07:41 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 10:07:41 +0000 Received: from localhost ([127.0.0.1]:55027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLzY-0003JO-Rn for submit@debbugs.gnu.org; Sat, 22 Dec 2012 05:07:41 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51282) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmLzX-0003JF-40 for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 05:07:40 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YT2SS2hM9z3hhZV; Sat, 22 Dec 2012 11:07:20 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YT2SS2781zbbbq; Sat, 22 Dec 2012 11:07:20 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id T7GDNHq3tK2S; Sat, 22 Dec 2012 11:07:19 +0100 (CET) X-Auth-Info: Gu8UFcCnEmNfiz1ZnG8NbBQSdsWzurzSvD6H//90OLQ= Received: from linux.local (ppp-88-217-127-54.dynamic.mnet-online.de [88.217.127.54]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 22 Dec 2012 11:07:19 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id 1F7D41E5274; Sat, 22 Dec 2012 11:07:11 +0100 (CET) From: Andreas Schwab To: Dmitry Gutov Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> <50D58209.3000101@yandex.ru> X-Yow: Now I need a suntan, a tennis lesson, Annette Funicello and two dozen Day-Glo orange paper jumpsuits!! Date: Sat, 22 Dec 2012 11:07:10 +0100 In-Reply-To: <50D58209.3000101@yandex.ru> (Dmitry Gutov's message of "Sat, 22 Dec 2012 13:48:57 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Dmitry Gutov writes: > On 22.12.2012 13:44, Andreas Schwab wrote: >> Dmitry Gutov writes: >> >>> On 22.12.2012 7:03, Chong Yidong wrote: >>>> Dmitry Gutov writes: >>>> >>>>> I have an HTTP server running, started from an inferior process. >>>>> >>>>> If I evaluate (switch-to-buffer (url-retrieve-synchronously >>>>> "http://localhost:24959/classes")), it brings me to an empty buffer >>>>> which has "failed" in the mode line. >>>>> >>>>> If I call the asynchronous version, it passes this into the callback: >>>>> >>>>> ((:error (error connection-failed failed with code 111 >>>>> :host localhost :service 24959))) >>>> >>>> I think this may be the same as Bug#12374, which was just fixed by >>>> Takafumi Arakaki. Could you try again with latest trunk and see if the >>>> problem is still there? >>> >>> Tried it, still there. >> >> Why did localhost:24959 refuse connection? > > How can I find out the answer? Look at the server log? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 05:24:03 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 10:24:03 +0000 Received: from localhost ([127.0.0.1]:55049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmMFO-0003ic-QX for submit@debbugs.gnu.org; Sat, 22 Dec 2012 05:24:03 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:63766) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmMFM-0003iD-6c for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 05:24:01 -0500 Received: by mail-la0-f42.google.com with SMTP id s15so6477824lag.15 for <12893@debbugs.gnu.org>; Sat, 22 Dec 2012 02:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=PsXR/gPqlmk6UCEcTmsm6xDL9VrZ6kksHs9o/yb5Ilo=; b=IuuXNkoKthQmeJ6g1KQVTqy056ww8vV3YuT/5bomjqhsY51gPiUgPXYArKkhzLoT0l YzGwpR0EXGX064I5wK9E067FM9fEYFGlVMUs4A5S+V0eirABAMbXFpGOUB6aFGSGcVhY 5gt2P5gZP3tYjgQB8IPrryM+ib4bb2ef0L6+SmpBvOVVZ+HaxRhorvKIB8PYBf8deYNv vGCHsaOOl7ULfpQiHZ8Oro+2VQO8NsFEk7GUWxKW43s8+j7lrXvKf+9KT2KADDa+OOfI 5HGtZ9BAwfEVw5CJYDy0ZCBK6Fa7o/Zq0eGr8Wk60zkX1LSV83qjbENJU/eEfMR8dN3u UwLw== X-Received: by 10.152.108.37 with SMTP id hh5mr15000871lab.52.1356171820759; Sat, 22 Dec 2012 02:23:40 -0800 (PST) Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id fj2sm5368871lbb.6.2012.12.22.02.23.38 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 02:23:39 -0800 (PST) Message-ID: <50D58A2C.7030102@yandex.ru> Date: Sat, 22 Dec 2012 14:23:40 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> <50D58209.3000101@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) On 22.12.2012 14:07, Andreas Schwab wrote: > Dmitry Gutov writes: > >> On 22.12.2012 13:44, Andreas Schwab wrote: >>> Dmitry Gutov writes: >>> >>>> On 22.12.2012 7:03, Chong Yidong wrote: >>>>> Dmitry Gutov writes: >>>>> >>>>>> I have an HTTP server running, started from an inferior process. >>>>>> >>>>>> If I evaluate (switch-to-buffer (url-retrieve-synchronously >>>>>> "http://localhost:24959/classes")), it brings me to an empty buffer >>>>>> which has "failed" in the mode line. >>>>>> >>>>>> If I call the asynchronous version, it passes this into the callback: >>>>>> >>>>>> ((:error (error connection-failed failed with code 111 >>>>>> :host localhost :service 24959))) >>>>> >>>>> I think this may be the same as Bug#12374, which was just fixed by >>>>> Takafumi Arakaki. Could you try again with latest trunk and see if the >>>>> problem is still there? >>>> >>>> Tried it, still there. >>> >>> Why did localhost:24959 refuse connection? >> >> How can I find out the answer? > > Look at the server log? The access log is empty. And there's nothing printed to stderr. When connecting from Emacs to "localhost", that is. I'll try to concoct a minimal example a bit later. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 07:15:43 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 12:15:44 +0000 Received: from localhost ([127.0.0.1]:55107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmNzT-0006Rh-N0 for submit@debbugs.gnu.org; Sat, 22 Dec 2012 07:15:43 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:60024) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmNzR-0006Ra-Fc for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 07:15:42 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YT5J90z1Sz4KK6p; Sat, 22 Dec 2012 13:15:21 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YT5J906SJzbbmj; Sat, 22 Dec 2012 13:15:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id C2wMI86Nb2cZ; Sat, 22 Dec 2012 13:15:20 +0100 (CET) X-Auth-Info: utjBeW08vrNh+Z1YdP07TO/5I9InEOk66L76Ncazi4Q= Received: from igel.home (ppp-88-217-127-54.dynamic.mnet-online.de [88.217.127.54]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 22 Dec 2012 13:15:20 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 03768CA2A2; Sat, 22 Dec 2012 13:15:18 +0100 (CET) From: Andreas Schwab To: Dmitry Gutov Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> X-Yow: Tex SEX! The HOME of WHEELS! The dripping of COFFEE!! Take me to Minnesota but don't EMBARRASS me!! Date: Sat, 22 Dec 2012 13:15:17 +0100 In-Reply-To: <50D57959.3010108@yandex.ru> (Dmitry Gutov's message of "Sat, 22 Dec 2012 13:11:53 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Do you have a proxy configured? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 07:23:59 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 12:23:59 +0000 Received: from localhost ([127.0.0.1]:55111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmO7T-0006dz-GP for submit@debbugs.gnu.org; Sat, 22 Dec 2012 07:23:59 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:45257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmO7Q-0006dr-M3 for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 07:23:57 -0500 Received: by mail-la0-f48.google.com with SMTP id m13so6407634lah.7 for <12893@debbugs.gnu.org>; Sat, 22 Dec 2012 04:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=m7qI4A/n5hf6m8/61IRjHUOtr+tkrpIK8t2U4D2bo+I=; b=crpEWXvoNNuLC/o3s2/nTQu40A5nI9BZKpqLIMgACUohdtVf5uMYU2ljqCgjv8b2wo +y0aJRbYatDn10DESMKjVhNo4vTLm/Sh/1S+tJdPL63kZ4lSypN0fB7UVFobl8/1vXcf 1HrWoQtiVBQjrs37gLFdSSeW4+cnXvCujwF/GjrMEyEr7V7cl+p2dKkyFexdcCrSVTXq I+h39uxtwdI0e6bwPRonIKtkaf+DxGBaYUNCEYSZRIgOdf7dn3aa6cUt16dyGvKfl9pC TNybwkAxLcZGsits1nwbqMr9QCOV/O+DMCHlLKMUdb/syEE7X27efF1r/GQPfgsisJQ/ qqJw== X-Received: by 10.152.114.66 with SMTP id je2mr14939293lab.40.1356179016828; Sat, 22 Dec 2012 04:23:36 -0800 (PST) Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id gr12sm5604720lab.3.2012.12.22.04.23.34 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 04:23:35 -0800 (PST) Message-ID: <50D5A649.4090109@yandex.ru> Date: Sat, 22 Dec 2012 16:23:37 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) On 22.12.2012 16:15, Andreas Schwab wrote: > Do you have a proxy configured? gutov@vbx:~$ env | grep -i proxy UBUNTU_MENUPROXY=libappmenu.so gutov@vbx:~$ cat ~/.curlrc cat: /home/gutov/.curlrc: No such file or directory From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 08:52:43 2012 Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 13:52:43 +0000 Received: from localhost ([127.0.0.1]:55137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmPVJ-0001FQ-E1 for submit@debbugs.gnu.org; Sat, 22 Dec 2012 08:52:43 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:37249) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmPVE-0001FE-20 for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 08:52:37 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YT7Rz6vNvz4KK65; Sat, 22 Dec 2012 14:52:15 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YT7Rz626fzbbkg; Sat, 22 Dec 2012 14:52:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id K_MaOwG90F20; Sat, 22 Dec 2012 14:52:15 +0100 (CET) X-Auth-Info: MP6m76/GBP76SvslooRlnkZZcVFftNEy8TPg6gRIdV0= Received: from igel.home (ppp-88-217-127-54.dynamic.mnet-online.de [88.217.127.54]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 22 Dec 2012 14:52:15 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id B0E7ACA2A2; Sat, 22 Dec 2012 14:52:14 +0100 (CET) From: Andreas Schwab To: Dmitry Gutov Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> <50D5A649.4090109@yandex.ru> X-Yow: It's the RINSE CYCLE!! They've ALL IGNORED the RINSE CYCLE!! Date: Sat, 22 Dec 2012 14:52:14 +0100 In-Reply-To: <50D5A649.4090109@yandex.ru> (Dmitry Gutov's message of "Sat, 22 Dec 2012 16:23:37 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) You need to look at the url-proxy-services variable. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 22 19:25:25 2012 Received: (at 12893) by debbugs.gnu.org; 23 Dec 2012 00:25:25 +0000 Received: from localhost ([127.0.0.1]:56004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmZNb-0008Nw-7r for submit@debbugs.gnu.org; Sat, 22 Dec 2012 19:25:24 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:53606) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmZNY-0008Nm-Mk for 12893@debbugs.gnu.org; Sat, 22 Dec 2012 19:25:21 -0500 Received: by mail-la0-f42.google.com with SMTP id s15so7106950lag.1 for <12893@debbugs.gnu.org>; Sat, 22 Dec 2012 16:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=IitgPkOLOBJ1T1sd3oWY+zz/MRGQXZ5j6Uzw5rQ93Bg=; b=NR/Vv/QIbFqDRT9IrOQs48PxgcaWjeOcjMwrgT2rqJiM4UzGSEk6FB8EYJaCqSq4aq d5DINe25FgUOXijlPJpzIz477g+3czt0A8xhCpocjbjeKWMvJiDHADFk5kS+Sixfzcec tKDuN8aWE2+UM1eJWFnyB6CkgMb+AVx087oRQ5ajvC3TG/4hlApPg9VgsWD9VnhnpLkF XeJp1MxmY2AQP4MJzgeFbdMppz/4SVIV3luodjbKqbsyfK0aKz5ewQ1O9swzmT0CM5I3 8OCBp4PDh1Un5e9EeVe/FLqZQWrLyNASezaIhsC6zvq8KtHvgyulw8TgnDCjW74JTB6s NQzg== X-Received: by 10.152.111.166 with SMTP id ij6mr16541687lab.47.1356222297914; Sat, 22 Dec 2012 16:24:57 -0800 (PST) Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id ox6sm6181886lab.16.2012.12.22.16.24.55 (version=SSLv3 cipher=OTHER); Sat, 22 Dec 2012 16:24:56 -0800 (PST) Message-ID: <50D64F57.6020407@yandex.ru> Date: Sun, 23 Dec 2012 04:24:55 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87sj6ylrep.fsf@gnu.org> <50D57959.3010108@yandex.ru> <50D5A649.4090109@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 12893 Cc: Chong Yidong , 12893@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) On 22.12.2012 17:52, Andreas Schwab wrote: > You need to look at the url-proxy-services variable. > It has the default value of nil. So, here's the small example of a web server in Ruby: ``` require 'webrick' class Server < WEBrick::HTTPServer def initialize(port) super(Port: port) mount("/", Handler) end class Handler < WEBrick::HTTPServlet::AbstractServlet def do_GET(req, res) res["Content-Type"] = "text/html" res.status = 200 res.body = "Hello!\n" raise WEBrick::HTTPStatus::OK end end end server = Server.new(54321) %w(INT TERM).each { |s| trap(s) { server.stop } } server.start ``` When I run it (ruby server.rb), I see the following output: [2012-12-23 04:12:53] INFO WEBrick 1.3.1 [2012-12-23 04:12:53] INFO ruby 1.9.3 (2012-11-10) [x86_64-linux] [2012-12-23 04:12:53] WARN TCPServer Error: Address already in use - bind(2) [2012-12-23 04:12:53] INFO Server#start: pid=4838 port=54321 The third line probably hints at problem with the system, but curl http://localhost:54321/ outputs the expected "Hello!", and running lsof -i TCP:54321 doesn't show anything when the server isn't running. Now, when the server is running, evaluating (switch-to-buffer (url-retrieve-synchronously "http://localhost:54321/")) shows an empty buffer, whereas (switch-to-buffer (url-retrieve-synchronously "http://127.0.0.1:54321/")) shows the expected contents. Now, I couldn't reproduce the problem on my Windows machine, so the test case is probably not very useful. If you tell me where to poke to solve the "address already in use" warning, I'll be sure to do that. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 13 12:59:46 2014 Received: (at 12893) by debbugs.gnu.org; 13 Jul 2014 16:59:46 +0000 Received: from localhost ([127.0.0.1]:53862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X6N7p-0007os-Vb for submit@debbugs.gnu.org; Sun, 13 Jul 2014 12:59:46 -0400 Received: from korolev.univ-paris7.fr ([194.254.61.138]:44670) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X6N7l-0007oY-QV for 12893@debbugs.gnu.org; Sun, 13 Jul 2014 12:59:42 -0400 Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/46573) with ESMTP id s6DGxbRO003839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <12893@debbugs.gnu.org>; Sun, 13 Jul 2014 18:59:37 +0200 Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/46573) with ESMTP id s6DGxbOV023857 for <12893@debbugs.gnu.org>; Sun, 13 Jul 2014 18:59:37 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 0F94D2C3AC2 for <12893@debbugs.gnu.org>; Sun, 13 Jul 2014 18:59:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id RuQUVe7hNHRA for <12893@debbugs.gnu.org>; Sun, 13 Jul 2014 18:59:36 +0200 (CEST) Received: from ijon.pps.univ-paris-diderot.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 2064B2C3AC0 for <12893@debbugs.gnu.org>; Sun, 13 Jul 2014 18:59:36 +0200 (CEST) Received: from jch (uid 1000) (envelope-from jch@pps.univ-paris-diderot.fr) id c001e0 by ijon.pps.univ-paris-diderot.fr (DragonFly Mail Agent v0.9); Sun, 13 Jul 2014 18:59:51 +0200 Date: Sun, 13 Jul 2014 18:59:51 +0200 Message-ID: <87ion1i48o.wl-jch@pps.univ-paris-diderot.fr> From: Juliusz Chroboczek To: Dmitry Gutov , 12893@debbugs.gnu.org Subject: Re: 24.2.50; url-retrieve fails for localhost In-Reply-To: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Wanderlust/2.15.9 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Sun, 13 Jul 2014 18:59:37 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Sun, 13 Jul 2014 18:59:37 +0200 (CEST) X-Miltered: at korolev with ID 53C2BAF9.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 53C2BAF9.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 53C2BAF9.002 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 53C2BAF9.001 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 53C2BAF9.002 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 53C2BAF9.001 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-j-chkmail-Status: Ham X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12893 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > If I evaluate (switch-to-buffer (url-retrieve-synchronously > "http://localhost:24959/classes")), it brings me to an empty buffer > which has "failed" in the mode line. [...] > Strangely, it works if I replace "localhost" with "127.0.0.1" or even > "localhost.localdomain". But neither Firefox nor curl have a problem > with reading from the first version of the URL. This might be a duplicate of #17976. If localhost points at both ::1 and 127.0.0.1, then attempting to connect localhost will first try the IPv6, and if the server is only listening on IPv4, it will trigger #17976. -- Juliusz From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 08:19:15 2014 Received: (at 12893-done) by debbugs.gnu.org; 14 Dec 2014 13:19:15 +0000 Received: from localhost ([127.0.0.1]:45358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y094t-00062C-BS for submit@debbugs.gnu.org; Sun, 14 Dec 2014 08:19:15 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35462) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y094r-00061y-0X for 12893-done@debbugs.gnu.org; Sun, 14 Dec 2014 08:19:13 -0500 Received: by mail-wi0-f171.google.com with SMTP id bs8so6461681wib.16 for <12893-done@debbugs.gnu.org>; Sun, 14 Dec 2014 05:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=mf7NVbJ8Ot1HNJRzEBcdxRumRTUaN2WCCxA/bmWYCh4=; b=myCj+QjG6D20BHYWFILiES8xyW5EDZ0E8zC2Dwo8Rw0EPnySTsCesFyrn8sTE/XksJ I+NbS02BZSRnzW0cVpSwsGyERez64pw1+mp6jg1wERz4vytKkJqob/+2JCUWP8vU6J25 6RtO4s5LJZiCKVQXv7utFWz7VzCiQyLhBiP4MpX0E5bvbFaglmOi7bs51n9mWGKUl5u+ Mlnya8S+zq6W9dDnqveF1OvhMOQwTbwRnHIxmwkzY8JSCQ82G/0eOxzz+Wm7lhC2HWF1 IXZ1eq18zN71eO96g0SjYoSNDW2uOwaewuIdL+zC5GGk4P9+0EVIojEySb4zOdwuY9Rm vs+w== X-Received: by 10.180.91.36 with SMTP id cb4mr23086409wib.30.1418563147568; Sun, 14 Dec 2014 05:19:07 -0800 (PST) Received: from axl ([82.102.93.58]) by mx.google.com with ESMTPSA id hz9sm9153766wjb.17.2014.12.14.05.19.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 14 Dec 2014 05:19:06 -0800 (PST) From: Dmitry Gutov To: Juliusz Chroboczek Subject: Re: bug#12893: 24.2.50; url-retrieve fails for localhost References: <877gpn5jle.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <87ion1i48o.wl-jch@pps.univ-paris-diderot.fr> Date: Sun, 14 Dec 2014 15:19:01 +0200 In-Reply-To: <87ion1i48o.wl-jch@pps.univ-paris-diderot.fr> (Juliusz Chroboczek's message of "Sun, 13 Jul 2014 18:59:51 +0200") Message-ID: <868uianzcq.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 12893-done Cc: 12893-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) Juliusz Chroboczek writes: > This might be a duplicate of #17976. If localhost points at both ::1 and > 127.0.0.1, then attempting to connect localhost will first try the IPv6, > and if the server is only listening on IPv4, it will trigger #17976. Thanks, that's probably it. I can't confirm that, though, since the system I saw this on is long gone. Better close this. From unknown Sun Jun 22 17:12:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Jan 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator