/srv/irclogs.ubuntu.com/2011/05/22/#launchpad-dev.txt

=== EvilMTeck is now known as MTecknology
wgrantmaxb: poolie saw something strange like that a while ago.01:59
wgrantmaxb: We didn't make the Authorization header connection, though.02:00
wgrantIt was noticed only as a difference between launchpad.net/api and api.launchpad.net... the reason now becomes obvious.02:00
wgrantAh, I see you found that bug.02:05
wgrantI guess squid must be being crap.02:28
lifelesswgrant: !cite06:29
wgrantAha, it worked.06:37
wgrantI knew that would wake you up.06:38
wgrantBut it seems that requests going through squid are broken, requests not going through squid are not broken.06:38
wgrantA bit suspicious.06:38
lifelessor06:39
lifelessit could be faulty interaction setup in anonymous api requests06:39
wgrantDoesn't affect staging/dogfood/qastaging/dev.06:40
lifelessinteresting06:40
wgrantPrecisely.06:40
lifelessso, lets get the squid config06:40
wgrantThat was the plan.06:40
wgrantNFI what it could be.06:41
lifelessalso we should get squid (tiny cache) in front of qastaging with the analogous config06:41
wgrantWas going to check appserver logs.06:41
wgrantBut they are big :(06:41
lifelessgnar06:41
lifeless3% packet loss06:41
wgrantWhere?06:41
lifelesshth am I meant to raid like this06:42
lifelessmy adsl06:42
wgrantBah, there's like a hunred appserver logs now.06:42
lifeless(actually, it may be higher, its 3% on first hop pings; 5% second, 4% on the target server06:42
lifelessoh -yay-06:42
lifelessjust observed a 20s rtt06:43
wgrantHm?06:43
wgrantYay06:43
lifelessnot ms06:43
lifelesss06:43
wgrantYeah.06:43
lifeless2400ms stddev on ones internet is Not Good06:43
wgrant:(06:44
lifelesswin06:47
lifeless3K06:47
wgrantGrar devpad is still BST.06:48
wgrantAhhh06:51
wgrantI think I may see.06:51
wgrantYeah.06:55
wgrantSquid puts a port in the hostname.06:55
wgrant312806:55
wgrantThat breaks lazr.restful.06:56
wgrantSomehow.06:56
wgrant        url_host_and_http_host_are_identical = (06:59
wgrant            host == request_host and port == request_port)06:59
wgrant        if (not url_host_and_http_host_are_identical06:59
wgrant            or protocol != site_protocol or query is not None06:59
wgrant            or fragment is not None):06:59
wgrant            raise NotFound(self, url, self.request)06:59
lifelesssigh07:00
wgrantlazr.restful turns the path into a URL by appending it to the service root. Then it checks that the URL matches the request.07:00
wgrantWe should stop squid from inserting the :3128, I guess.07:00
lifelessI'm just looking for the bug07:01
wgrantAs am I.07:01
wgrantThere we are.07:01
lifelessu found it?07:02
wgrantBug #71403807:03
_mup_Bug #714038: strange "no such object" error on unauthenticated api calls with parameters referring to other objects <api> <Launchpad itself:Triaged> < https://launchpad.net/bugs/714038 >07:03
lifelessthe squid bug07:03
wgrantIt's a squid bug, not an apache/squid config bug?07:03
lifelessits a feature IIRC07:03
wgrantPardon?07:03
lifelessexactly07:04
lifelesshttps://bugs.launchpad.net/collective.buildout/+bug/43869407:05
_mup_Bug #438694: squid.conf and Squid 2.6 vs. Squid 2.7 <collective.buildout:New> < https://launchpad.net/bugs/438694 >07:05
wgrantHm, so we need to set vport?07:06
lifelessthats my current wager07:07
lifeless2.7s707:09
lifelessso yes07:09
lifelessrt it?07:09
wgrantWill do.07:09
wgrantI've been seeing this :3128 crap showing up in OOPSes for a while, had been vaguely wondering what was going on.07:09
lifelessiz apache bug I suspect07:10
lifelessinformation is being lost along the way07:10
lifelessstill, vport=443 is appropriate07:10
lifelessand should fix07:10
maxbwell, yay :-)07:39
maxbAlways nice to wake up to find a bug has been prepared for squishing :-)07:39
maxbhaha07:40
maxbRight, so sending Cookie: bananas avoids the bug just as well as sending OAuth :-)07:41
wgrantYes.07:41
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelessjcsackett: sadly flask is not packaged on Lucid22:42
lifelesshowever werkzeug is22:49
=== _thumper_ is now known as thumper

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!