From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 2 07:00:22 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC3B1065672 for ; Wed, 2 May 2012 07:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 22BEE8FC14 for ; Wed, 2 May 2012 07:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4270KtU055136 for ; Wed, 2 May 2012 07:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4270KhW055135; Wed, 2 May 2012 07:00:20 GMT (envelope-from gnats) Resent-Date: Wed, 2 May 2012 07:00:20 GMT Resent-Message-Id: <201205020700.q4270KhW055135@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C298D1065672 for ; Wed, 2 May 2012 06:56:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AED518FC0C for ; Wed, 2 May 2012 06:56:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q426uB9v021899 for ; Wed, 2 May 2012 06:56:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q426uBYn021897; Wed, 2 May 2012 06:56:11 GMT (envelope-from nobody) Message-Id: <201205020656.q426uBYn021897@red.freebsd.org> Date: Wed, 2 May 2012 06:56:11 GMT From: Michael To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167517: Git failed to resolve dns X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 07:00:22 -0000 >Number: 167517 >Category: ports >Synopsis: Git failed to resolve dns >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 02 07:00:20 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Michael >Release: FreeBSD 9.0 Release >Organization: >Environment: FreeBSD local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Git (https & http pull/push)will failed to resolve dns when curl compiled with c-ares binding. Log : www# telnet github.com 80 Trying 207.97.227.239... Connected to github.com. Escape character is '^]'. get index.html 400 Bad Request

400 Bad Request


nginx/1.0.13
Connection closed by foreign host. www# git clone https://github.com/nodejitsu/forever.git test Cloning into 'test'... error: Could not resolve host: github.com (Timeout while contacting DNS servers) while accessing https://github.com/nodejitsu/forever.git/info/refs fatal: HTTP request failed www# ping github.com PING github.com (207.97.227.239): 56 data bytes 64 bytes from 207.97.227.239: icmp_seq=0 ttl=52 time=78.045 ms 64 bytes from 207.97.227.239: icmp_seq=1 ttl=52 time=78.399 ms 64 bytes from 207.97.227.239: icmp_seq=2 ttl=52 time=79.670 ms ^C --- github.com ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 78.045/78.705/79.670/0.698 ms Affected version: curl-7.24.0 c-ares-config-1.8.0 git-1.7.9.6 >How-To-Repeat: Compile curl with c-ares binding, and recompile git. It will failed to resolve dns when using http & https protocol, while through git:// protocol it will be able to resolve and continue to pull or push. >Fix: Recompile curl without c-ares and recompile git. >Release-Note: >Audit-Trail: >Unformatted: