Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [22:57] <@cweiske> Sound, http 404
- [22:57] <@till> helgi: i can pull up the channel.xml in my browser, but discover fails with 404
- [22:57] <@helgi> till: Same here
- [22:57] <Sound> helgi: I just tried multiple channels, including mediawiki and I always get that 404.
- [22:57] <@till> cweiske: ^^^^
- 01[22:57] <gregorycv> So really, we are already doing it right
- [22:57] <@helgi> I dont get it, I made it specifically work on his ZF channel and it was a damn breeze ugh!
- 02[22:58] * gregorycu (~bob@202.10.92.17) Quit (Ping timeout: 380 seconds)
- [22:58] <@helgi> gregorycv: In a way but still, you have a point - Which is why I wanted to expose the discussion with more people
- 01[22:58] <gregorycv> Alright, well, I will post this then
- [22:58] <Sound> maybe pear is doing a HTTP 1.0 request? i.e. without the Host: header
- 01[22:58] <gregorycv> Basicially I'm unsure now
- [22:58] <@cweiske> Sound, can you capture your http traffic with wireshark?
- [22:59] <Sound> cweiske: never used it, can you give me some quick and dirty instructions?
- 03[22:59] * gregorycv is now known as gregorycu
- [22:59] <@cweiske> 1) install wireshark
- [22:59] <@cweiske> 2) run it
- 01[22:59] <gregorycu> dump it
- [22:59] <@cweiske> 3) do your pear channel-disvover
- [22:59] <@cweiske> 4) search for the http request
- 01[23:00] <gregorycu> I do suggest you shutdown as much network related applications here
- 01[23:00] <gregorycu> To get less noise
- [23:00] <@cweiske> btw, I can reproduce it
- [23:00] <Sound> yeah, fortunately I was building a new box so there's nothing happening on it now
- 01[23:01] <gregorycu> Good, then the amount of traffic should be low, you basically want to start capturing the moment before doing your stuff
- [23:01] <@cweiske> aha!
- [23:01] <Sound> oh, wireshark requires a GUI. I'm working on a server via SSH
- 01[23:01] <gregorycu> And then stop it straight after
- [23:01] <@cweiske> pear adds :80 to the host
- [23:01] <@cweiske> Host: pear-smarty.googlecode.com:80\r\n
- [23:01] <@cweiske> that's probably what makes it fail
- [23:01] <Sound> cweiske: sure!
- 06[23:02] * Sound apt-get remove wireshark
- [23:02] <@cweiske> Sound, try to discover zustellzentrum.cweiske.de
- [23:02] <Sound> cweiske: succeeded
- [23:02] <@cweiske> ok
- [23:02] <@cweiske> then google's servers bitch around
- [23:03] <@cweiske> Sound, clearly a bug in pear
- 03[23:03] * richyy (richy_dib@a6.141.159.sattgate.net) has left #pear
- [23:03] <@cweiske> Sound, workaround:
- [23:03] <@cweiske> download the channel.xml file with wget
- [23:03] <@cweiske> and channel-add that file
- [23:03] <@cweiske> pear channel-add channel.xml
- [23:04] <Sound> oh nice, I was thinking about fixing the code but that seems reasonably easier ;)
- [23:04] <@helgi> cweiske: yeah it adds 80 for http unless you specifcy a port ya self :S
- [23:04] <@radagast> Sound: well, a patch would still be welcome ;-)
- [23:04] <@radagast> workarounds aren't bona fide fixes :D
- [23:05] <Sound> helgi: still, AFAIK the port number shouldn't be included in the Host header :)
- [23:05] <@till> get requests work against the file
- [23:05] <@helgi> I wonder why Google complains about that
- [23:05] <@till> -vvv doesn't do anything
- [23:05] <@till> so helpful
- [23:05] <@helgi> Sound: Is it in the host header??? Then that's a clear bug
- [23:05] <@cweiske> yep, it's in the host headre
- [23:05] <Sound> helgi: that's what cweiske just found
- [23:05] <@cweiske> Host: pear-smarty.googlecode.com:80\r\n
- [23:05] <@helgi> :80 should be only on the visual output and for the fopen port call
- [23:06] <@helgi> Can someone lodge a bug report?
- [23:06] <@helgi> Looks like I have to stop working on Pyrus for a bit and get PEAR back in shape :P
- [23:06] <@cweiske> doing taht now
- [23:06] <@helgi> Thanks mate
- [23:06] <Sound> cweiske: thanks from me too ;)
- [23:07] <Sound> cweiske: your workaround seems not to be working
- [23:07] <@cweiske> what do you get
- [23:07] <Sound> cweiske: I get "No releases available for package "pear-smarty.googlecode.com/svn/smarty"" when requesting pear install smarty/smarty
- [23:07] <@cweiske> http://pear.php.net/bugs/bug.php?id=17234
- [23:08] <Sound> maybe it's trying the download with the same bug in the HTTP request?
- [23:08] <@cweiske> yeah
- [23:08] <@cweiske> damn
- [23:08] <@cweiske> then do the following:
- [23:09] <@helgi> I can't fix this till Saturday I'm afraid
- [23:09] <@helgi> Tonight is out drinking in Dublin and tomorrow is Saint Patricks day and I'm in ... Dublin :D
- [23:09] <@helgi> and Thursday evening is out drinking with clients :S
- [23:09] <@cweiske> Sound, pear install http://pear-smarty.googlecode.com/svn/tags/Smarty/Smarty-2.6.24.tgz
- [23:09] <@cweiske> that works for me
- [23:09] <@radagast> helgi: I'll say a prayer for your liver :D
- [23:10] <Sound> cweiske: great, it worked flawlessly
- [23:10] <@helgi> radagast: I got a shouting at from a friend when I decided to relax last night and not drink
- [23:10] <Sound> cweiske: thank you very much
- [23:10] <@radagast> helgi: what are you doing Sat?
- [23:10] <@helgi> radagast: Being in London
- [23:10] <@radagast> arse
- [23:10] <@helgi> Yeah :S
- [23:10] <@radagast> we're heading up to Dub on Sat morning
- [23:10] <@helgi> radagast: I'm back for Funconf
- [23:10] <@helgi> End of April it is
- 03[23:10] * PEARgirl changes topic to 'http://pear.php.net/ | just ask your question | please use a pastebin for long lines of text, eg pastebin.com | 564 open bugs (1.03 bugs/package)'
- 06[23:11] * Sound found great and quick support in this channel
- 01[23:12] <gregorycu> You are lucky :)
- 01[23:12] <gregorycu> Help doesn't often come so quickly
- 01[23:12] <gregorycu> I'm writing up that email to the newsgroups
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement