[00:50] wgrant: yeah, it helps if the system gave an OOPS ID - it got a red "Sorry, there was a timeout try again" message, no OOPS ID [00:50] looked like it resolved itself though [00:55] Hello! Anyone here to ask about the Launchpad OpenID authentication? [00:56] had something changed in the OpenID setup on login.launchpad.net? [01:02] Evgeny: That's not technically part of Launchpad, but I may be able to help. What's the problem? [01:02] Nothing has changed recently. [01:03] wgrant: Thank you, we have LP openid authentication incorporated into ask.openstack.org [01:04] wgrant: which worked in the past, now we are getting "DiscoveryFailure" exception from the python openid library. [01:04] openid https://login.ubuntu.com/ works [01:04] Evgeny: Ah, the certificate was changed a week ago. [01:05] wgrant: thanks, what does this mean to the admin of the site providing login via LP? [01:05] Evgeny: Nothing at all if you are using any normal client. [01:06] When did you first observe the breakage? [01:06] wgrant: I'd think this week [01:06] wgrant: rather within past week [01:07] wgrant: which certificate changed? [01:07] Evgeny: Have you contacted StackExchange about this? [01:07] wgrant: ssl? [01:07] SSL, yes. [01:08] wgrant: no, I haven't. Ok, I'll see where this info leads. [01:08] The certificate configuration of login.ubuntu.com and login.launchpad.net is identical apart from the obvious hostname difference. [01:08] There is no difference in the chain. [01:08] So if one works but the other doesn't, the certificate change is probably unrelated. [01:09] I've tried several other consumers with login.launchpad.net, and they work fine -- even other StackExchange sites. [01:09] Evgeny: How exactly is that button configured? [01:10] wgrant: using python-openid and https://login.launchpad.net/ as endpoint [01:10] Oh, that's not StackExchange, oops. [01:10] Hmm [01:10] Evgeny: I'd step through python-openid and see where it fails. [01:11] But changing login.launchpad.net to login.ubuntu.com works fine? [01:11] Is it possible you have a firewall in place with out of date IP addresses? [01:11] wgrant: Yes, login.ubuntu.com works and the id's are the same [01:12] no, it's on a public net [01:12] Is there a quick way to verify that the certificate has all the bundle set up? [01:12] The chains on both sites are identical and correct. [01:12] It could be that the python-openid can't verify the certificate [01:12] ok [01:13] Evgeny: You'll need to convince python-openid to give you a better error. [01:14] wgrant, just adding more food for thought: "Server denied check_authentication" https://bugs.launchpad.net/openstack-community/+bug/1406202/comments/1 [01:14] Launchpad bug 1406202 in OpenStack Community Project "Can't login to ASK OpenStack: OpenID https://login.launchpad.net/ is invalid" [Critical,Confirmed] [01:14] wgrant, yes I'll look into this, thanks. [01:14] unfortunately I have to go now ... :) [01:15] i'll check the logs later [01:15] FWIW we have dozens of internal apps using python-openid to authenticate against https://login.launchpad.net/, so it's not a general problem. [01:16] But it's possibly an issue with the statless vs. stateful mode. [01:17] We ran into a bug with python-openid years ago, IIRC, where stateless requests on login.launchpad.net were failing because the GET string got too long and it fell back to POST, which failed, or something. [01:17] It was a long time ago and I forget the details and the fix. [01:17] (it only broke on login.launchpad.net because "launchpad" is slightly longer than "ubuntu") [01:18] Aha [01:18] https://bugs.launchpad.net/launchpad/+bug/676372 [01:18] Launchpad bug 676372 in Launchpad itself ""Server denied check_authentication" from bazaar.launchpad.net private branch since 11926 deployed" [Critical,Fix released] [01:18] https://bugs.launchpad.net/launchpad/+bug/676372/comments/5 was what I was thinking of [01:28] Huh, different error now [01:28] "OpenID https://login.launchpad.net/ is invalid: Error fetching XRDS document:" [01:28] Is someone hacking the code live? [01:30] I hope so, or you have an XSS hole :P [01:31] "No route to host", anyway [01:31] That really sounds a bit like a network/DNS issue at ask.openstack.org's end. [01:35] yes, I've just made it print wholly [01:35] wgrant: ping login.launchpad.net give "destination unreachable" from that host [01:35] Evgeny: What does it resolve to? [01:35] It moved to a new network a couple of weeks ago. [01:36] wgrant: 91.189.93.244 [01:36] erm [01:36] Check your /etc/hosts :) [01:36] Should be on 162.213.32.0/22 somewhere [01:37] bingo! Thanks! [01:37] Heh, any idea how it ended up manually set? [01:37] Ooh it even works now. [01:38] I've done it myself before, I think there were issues on massive dns queries if I remember correctly [01:38] maybe I've overdone the /etc/hosts file [01:38] Perhaps have a local caching resolver, but hardcoding things in /etc/hosts is only going to bring you pain as things move around. [01:41] wgrant: Thank you, mystery solved. Bye. [01:41] Excellent. [01:42] thanks for the advice === JoseeAntonioR is now known as jose