From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#12893: 24.2.50; url-retrieve fails for localhost Date: Sat, 22 Dec 2012 14:23:40 +0400 Message-ID: <50D58A2C.7030102@yandex.ru> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356171899 15995 80.91.229.3 (22 Dec 2012 10:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2012 10:24:59 +0000 (UTC) Cc: Chong Yidong , 12893@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 22 11:25:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TmMGU-0001ch-VL for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2012 11:25:11 +0100 Original-Received: from localhost ([::1]:46869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmMGF-0004yD-Ms for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2012 05:24:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmMG8-0004xn-Jp for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2012 05:24:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmMG4-0007Cz-6M for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2012 05:24:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmMG4-0007Cj-37 for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2012 05:24:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TmMGM-0003ju-3i for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2012 05:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Dec 2012 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12893 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12893-submit@debbugs.gnu.org id=B12893.135617184314302 (code B ref 12893); Sat, 22 Dec 2012 10:25:02 +0000 Original-Received: (at 12893) by debbugs.gnu.org; 22 Dec 2012 10:24:03 +0000 Original-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 Original-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 Original-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) Original-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) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68896 Archived-At: 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.