=== EvilMTeck is now known as MTecknology [01:59] maxb: poolie saw something strange like that a while ago. [02:00] maxb: We didn't make the Authorization header connection, though. [02:00] It was noticed only as a difference between launchpad.net/api and api.launchpad.net... the reason now becomes obvious. [02:05] Ah, I see you found that bug. [02:28] I guess squid must be being crap. [06:29] wgrant: !cite [06:37] Aha, it worked. [06:38] I knew that would wake you up. [06:38] But it seems that requests going through squid are broken, requests not going through squid are not broken. [06:38] A bit suspicious. [06:39] or [06:39] it could be faulty interaction setup in anonymous api requests [06:40] Doesn't affect staging/dogfood/qastaging/dev. [06:40] interesting [06:40] Precisely. [06:40] so, lets get the squid config [06:40] That was the plan. [06:41] NFI what it could be. [06:41] also we should get squid (tiny cache) in front of qastaging with the analogous config [06:41] Was going to check appserver logs. [06:41] But they are big :( [06:41] gnar [06:41] 3% packet loss [06:41] Where? [06:42] hth am I meant to raid like this [06:42] my adsl [06:42] Bah, there's like a hunred appserver logs now. [06:42] (actually, it may be higher, its 3% on first hop pings; 5% second, 4% on the target server [06:42] oh -yay- [06:43] just observed a 20s rtt [06:43] Hm? [06:43] Yay [06:43] not ms [06:43] s [06:43] Yeah. [06:43] 2400ms stddev on ones internet is Not Good [06:44] :( [06:47] win [06:47] 3K [06:48] Grar devpad is still BST. [06:51] Ahhh [06:51] I think I may see. [06:55] Yeah. [06:55] Squid puts a port in the hostname. [06:55] 3128 [06:56] That breaks lazr.restful. [06:56] Somehow. [06:59] url_host_and_http_host_are_identical = ( [06:59] host == request_host and port == request_port) [06:59] if (not url_host_and_http_host_are_identical [06:59] or protocol != site_protocol or query is not None [06:59] or fragment is not None): [06:59] raise NotFound(self, url, self.request) [07:00] sigh [07:00] lazr.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] We should stop squid from inserting the :3128, I guess. [07:01] I'm just looking for the bug [07:01] As am I. [07:01] There we are. [07:02] u found it? [07:03] Bug #714038 [07:03] <_mup_> Bug #714038: strange "no such object" error on unauthenticated api calls with parameters referring to other objects < https://launchpad.net/bugs/714038 > [07:03] the squid bug [07:03] It's a squid bug, not an apache/squid config bug? [07:03] its a feature IIRC [07:03] Pardon? [07:04] exactly [07:05] https://bugs.launchpad.net/collective.buildout/+bug/438694 [07:05] <_mup_> Bug #438694: squid.conf and Squid 2.6 vs. Squid 2.7 < https://launchpad.net/bugs/438694 > [07:06] Hm, so we need to set vport? [07:07] thats my current wager [07:09] 2.7s7 [07:09] so yes [07:09] rt it? [07:09] Will do. [07:09] I've been seeing this :3128 crap showing up in OOPSes for a while, had been vaguely wondering what was going on. [07:10] iz apache bug I suspect [07:10] information is being lost along the way [07:10] still, vport=443 is appropriate [07:10] and should fix [07:39] well, yay :-) [07:39] Always nice to wake up to find a bug has been prepared for squishing :-) [07:40] haha [07:41] Right, so sending Cookie: bananas avoids the bug just as well as sending OAuth :-) [07:41] Yes. === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [22:42] jcsackett: sadly flask is not packaged on Lucid [22:49] however werkzeug is === _thumper_ is now known as thumper