FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

ID: 17234
Comment by: comma
Reported By: mecommayou at gmail dot com
Summary: channel-discover adds port to HTTP Host header
Status: Open
Type: Bug
Package: PEAR
Package Version: 1.9.0
PHP Version: Irrelevant
New Comment:

Same problem but with a little bit different error message was detected
with PEAR 1.7.2


Previous Comments:
------------------------------------------------------------------------

[2010-03-16 13:03:13] cweiske

Description:
------------
$ pear channel-discover http://pear-smarty.googlecode.com/svn
Discovering channel http://pear-smarty.googlecode.com/svn over http://
failed with message: channel-add: Cannot open
"http://http://pear-smarty.googlecode.com/svn/channel.xml" (Connection
to `http:80' failed: php_network_getaddresses: getaddrinfo failed: Name
or service not known)

Wireshark reveals:
Host: pear-smarty.googlecode.com:80\r\n

this is plain wrong

------------------------------------------------------------------------

Search Discussions

  • Chrismattmann at Mar 22, 2010 at 10:04 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Comment by: chrismattmann
    Reported By: chris dot mattmann at gmail dot com
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    New Comment:

    Hey Guys,

    I'm seeing this too, and it's preventing me from doing some
    installation operations with the Zend PEAR channel on googlecode. Any
    idea why it's occurring, or where to start to fix the problem?

    Cheers,
    Chris Mattmann


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-17 05:41:38] comma

    Same problem but with a little bit different error message was detected
    with PEAR 1.7.2

    ------------------------------------------------------------------------

    [2010-03-16 13:03:13] cweiske

    Description:
    ------------
    $ pear channel-discover http://pear-smarty.googlecode.com/svn
    Discovering channel http://pear-smarty.googlecode.com/svn over http://
    failed with message: channel-add: Cannot open
    "http://http://pear-smarty.googlecode.com/svn/channel.xml" (Connection
    to `http:80' failed: php_network_getaddresses: getaddrinfo failed: Name
    or service not known)

    Wireshark reveals:
    Host: pear-smarty.googlecode.com:80\r\n

    this is plain wrong

    ------------------------------------------------------------------------
  • Cweiske at Mar 23, 2010 at 2:54 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Updated by: cweiske@php.net
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    cweiske:~/Documents/Streuben> pear channel-discover
    pear-smarty.googlecode.com/svn
    Discovering channel pear-smarty.googlecode.com/svn over http:// failed
    with message: channel-add: Cannot open
    "http://pear-smarty.googlecode.com/svn/channel.xml" (File
    http://pear-smarty.googlecode.com:80/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    ))
    Trying to discover channel pear-smarty.googlecode.com/svn over https://
    instead
    Discovery of channel "pear-smarty.googlecode.com/svn" failed
    (channel-add: Cannot open
    "https://pear-smarty.googlecode.com/svn/channel.xml" (File
    https://pear-smarty.googlecode.com:443/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    )))


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-22 22:58:44] chrismattmann

    Hey Guys,

    I'm seeing this too, and it's preventing me from doing some
    installation operations with the Zend PEAR channel on googlecode. Any
    idea why it's occurring, or where to start to fix the problem?

    Cheers,
    Chris Mattmann

    ------------------------------------------------------------------------

    [2010-03-17 05:41:38] comma

    Same problem but with a little bit different error message was detected
    with PEAR 1.7.2

    ------------------------------------------------------------------------

    [2010-03-16 13:03:13] cweiske

    Description:
    ------------
    $ pear channel-discover http://pear-smarty.googlecode.com/svn
    Discovering channel http://pear-smarty.googlecode.com/svn over http://
    failed with message: channel-add: Cannot open
    "http://http://pear-smarty.googlecode.com/svn/channel.xml" (Connection
    to `http:80' failed: php_network_getaddresses: getaddrinfo failed: Name
    or service not known)

    Wireshark reveals:
    Host: pear-smarty.googlecode.com:80\r\n

    this is plain wrong

    ------------------------------------------------------------------------
  • Cweiske at Mar 23, 2010 at 2:58 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Updated by: cweiske@php.net
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    The HTTP RFC actually allows adding the port:

    http://www.faqs.org/rfcs/rfc2616.html

    14.23 Host
    Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

    So google code is broken.


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-23 15:49:48] cweiske

    cweiske:~/Documents/Streuben> pear channel-discover
    pear-smarty.googlecode.com/svn
    Discovering channel pear-smarty.googlecode.com/svn over http:// failed
    with message: channel-add: Cannot open
    "http://pear-smarty.googlecode.com/svn/channel.xml" (File
    http://pear-smarty.googlecode.com:80/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    ))
    Trying to discover channel pear-smarty.googlecode.com/svn over https://
    instead
    Discovery of channel "pear-smarty.googlecode.com/svn" failed
    (channel-add: Cannot open
    "https://pear-smarty.googlecode.com/svn/channel.xml" (File
    https://pear-smarty.googlecode.com:443/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    )))

    ------------------------------------------------------------------------

    [2010-03-22 22:58:44] chrismattmann

    Hey Guys,

    I'm seeing this too, and it's preventing me from doing some
    installation operations with the Zend PEAR channel on googlecode. Any
    idea why it's occurring, or where to start to fix the problem?

    Cheers,
    Chris Mattmann

    ------------------------------------------------------------------------

    [2010-03-17 05:41:38] comma

    Same problem but with a little bit different error message was detected
    with PEAR 1.7.2

    ------------------------------------------------------------------------

    [2010-03-16 13:03:13] cweiske

    Description:
    ------------
    $ pear channel-discover http://pear-smarty.googlecode.com/svn
    Discovering channel http://pear-smarty.googlecode.com/svn over http://
    failed with message: channel-add: Cannot open
    "http://http://pear-smarty.googlecode.com/svn/channel.xml" (Connection
    to `http:80' failed: php_network_getaddresses: getaddrinfo failed: Name
    or service not known)

    Wireshark reveals:
    Host: pear-smarty.googlecode.com:80\r\n

    this is plain wrong

    ------------------------------------------------------------------------
  • Mecommayou at Mar 23, 2010 at 3:06 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Comment by: mecommayou@gmail.com
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    Maybe PEAR souldn't provide default port if it's not provided as param?
    For example I could run my server at 8080 port and then PEAR couldn't
    connect to it too?


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-23 15:53:16] cweiske

    The HTTP RFC actually allows adding the port:

    http://www.faqs.org/rfcs/rfc2616.html

    14.23 Host
    Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

    So google code is broken.

    ------------------------------------------------------------------------

    [2010-03-23 15:49:48] cweiske

    cweiske:~/Documents/Streuben> pear channel-discover
    pear-smarty.googlecode.com/svn
    Discovering channel pear-smarty.googlecode.com/svn over http:// failed
    with message: channel-add: Cannot open
    "http://pear-smarty.googlecode.com/svn/channel.xml" (File
    http://pear-smarty.googlecode.com:80/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    ))
    Trying to discover channel pear-smarty.googlecode.com/svn over https://
    instead
    Discovery of channel "pear-smarty.googlecode.com/svn" failed
    (channel-add: Cannot open
    "https://pear-smarty.googlecode.com/svn/channel.xml" (File
    https://pear-smarty.googlecode.com:443/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    )))

    ------------------------------------------------------------------------

    [2010-03-22 22:58:44] chrismattmann

    Hey Guys,

    I'm seeing this too, and it's preventing me from doing some
    installation operations with the Zend PEAR channel on googlecode. Any
    idea why it's occurring, or where to start to fix the problem?

    Cheers,
    Chris Mattmann

    ------------------------------------------------------------------------

    [2010-03-17 05:41:38] comma

    Same problem but with a little bit different error message was detected
    with PEAR 1.7.2

    ------------------------------------------------------------------------

    [2010-03-16 13:03:13] cweiske

    Description:
    ------------
    $ pear channel-discover http://pear-smarty.googlecode.com/svn
    Discovering channel http://pear-smarty.googlecode.com/svn over http://
    failed with message: channel-add: Cannot open
    "http://http://pear-smarty.googlecode.com/svn/channel.xml" (Connection
    to `http:80' failed: php_network_getaddresses: getaddrinfo failed: Name
    or service not known)

    Wireshark reveals:
    Host: pear-smarty.googlecode.com:80\r\n

    this is plain wrong

    ------------------------------------------------------------------------
  • Cweiske at Mar 23, 2010 at 3:09 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Updated by: cweiske@php.net
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    I posted a request to the google code group:
    http://groups.google.com/group/google-code-hosting


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-23 16:01:43] comma

    Maybe PEAR souldn't provide default port if it's not provided as param?
    For example I could run my server at 8080 port and then PEAR couldn't
    connect to it too?

    ------------------------------------------------------------------------

    [2010-03-23 15:53:16] cweiske

    The HTTP RFC actually allows adding the port:

    http://www.faqs.org/rfcs/rfc2616.html

    14.23 Host
    Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

    So google code is broken.

    ------------------------------------------------------------------------

    [2010-03-23 15:49:48] cweiske

    cweiske:~/Documents/Streuben> pear channel-discover
    pear-smarty.googlecode.com/svn
    Discovering channel pear-smarty.googlecode.com/svn over http:// failed
    with message: channel-add: Cannot open
    "http://pear-smarty.googlecode.com/svn/channel.xml" (File
    http://pear-smarty.googlecode.com:80/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    ))
    Trying to discover channel pear-smarty.googlecode.com/svn over https://
    instead
    Discovery of channel "pear-smarty.googlecode.com/svn" failed
    (channel-add: Cannot open
    "https://pear-smarty.googlecode.com/svn/channel.xml" (File
    https://pear-smarty.googlecode.com:443/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    )))

    ------------------------------------------------------------------------

    [2010-03-22 22:58:44] chrismattmann

    Hey Guys,

    I'm seeing this too, and it's preventing me from doing some
    installation operations with the Zend PEAR channel on googlecode. Any
    idea why it's occurring, or where to start to fix the problem?

    Cheers,
    Chris Mattmann

    ------------------------------------------------------------------------

    [2010-03-17 05:41:38] comma

    Same problem but with a little bit different error message was detected
    with PEAR 1.7.2

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17234
  • Cweiske at Mar 23, 2010 at 3:22 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Updated by: cweiske@php.net
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

    http://groups.google.com/group/google-code-hosting/browse_thread/thread/ada749f2cc291c4e


    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-23 16:09:04] cweiske

    Added #patch
    bug:17234;patch:bug-17234-quickfix.diff;revision:1269360544;.

    ------------------------------------------------------------------------

    [2010-03-23 16:04:34] cweiske

    I posted a request to the google code group:
    http://groups.google.com/group/google-code-hosting

    ------------------------------------------------------------------------

    [2010-03-23 16:01:43] comma

    Maybe PEAR souldn't provide default port if it's not provided as param?
    For example I could run my server at 8080 port and then PEAR couldn't
    connect to it too?

    ------------------------------------------------------------------------

    [2010-03-23 15:53:16] cweiske

    The HTTP RFC actually allows adding the port:

    http://www.faqs.org/rfcs/rfc2616.html

    14.23 Host
    Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

    So google code is broken.

    ------------------------------------------------------------------------

    [2010-03-23 15:49:48] cweiske

    cweiske:~/Documents/Streuben> pear channel-discover
    pear-smarty.googlecode.com/svn
    Discovering channel pear-smarty.googlecode.com/svn over http:// failed
    with message: channel-add: Cannot open
    "http://pear-smarty.googlecode.com/svn/channel.xml" (File
    http://pear-smarty.googlecode.com:80/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    ))
    Trying to discover channel pear-smarty.googlecode.com/svn over https://
    instead
    Discovery of channel "pear-smarty.googlecode.com/svn" failed
    (channel-add: Cannot open
    "https://pear-smarty.googlecode.com/svn/channel.xml" (File
    https://pear-smarty.googlecode.com:443/svn/channel.xml not valid
    (received: HTTP/1.1 404 Not Found
    )))

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17234
  • Helgith at Mar 25, 2010 at 12:59 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17234&edit=1

    ID: 17234
    Updated by: helgith@gmail.com
    Reported By: cweiske at php dot net
    Summary: channel-discover adds port to HTTP Host header
    -Status: Open
    +Status: Closed
    Type: Bug
    Package: PEAR
    Package Version: 1.9.0
    PHP Version: Irrelevant
    -Assigned To:
    +Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Closed
    -Assigned To:
    +Assigned To: dufuz
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on
    pear.php.net by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.




    Previous Comments:
    ------------------------------------------------------------------------

    [2010-03-23 16:17:12] cweiske

    http://groups.google.com/group/google-code-hosting/browse_thread/thread/ada749f2cc291c4e

    ------------------------------------------------------------------------

    [2010-03-23 16:09:04] cweiske

    Added #patch
    bug:17234;patch:bug-17234-quickfix.diff;revision:1269360544;.

    ------------------------------------------------------------------------

    [2010-03-23 16:04:34] cweiske

    I posted a request to the google code group:
    http://groups.google.com/group/google-code-hosting

    ------------------------------------------------------------------------

    [2010-03-23 16:01:43] comma

    Maybe PEAR souldn't provide default port if it's not provided as param?
    For example I could run my server at 8080 port and then PEAR couldn't
    connect to it too?

    ------------------------------------------------------------------------

    [2010-03-23 15:53:16] cweiske

    The HTTP RFC actually allows adding the port:

    http://www.faqs.org/rfcs/rfc2616.html

    14.23 Host
    Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

    So google code is broken.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17234

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 17, '10 at 4:48a
activeMar 25, '10 at 12:59a
posts8
users5
websitepear.php.net

People

Translate

site design / logo © 2022 Grokbase