/srv/irclogs.ubuntu.com/2015/01/02/#launchpad.txt

=== Laney is now known as Guest13167
MikaelaHi, is it known issue that Launchpad cannot import repositories through CloudFlare (SSL)?11:23
Mikaelahttps://code.launchpad.net/~progval/limnoria/testing imports from https://git.mikaela.info/Limnoria.git and import fails with error "bzrlib.errors.CertificateError: Certificate error: hostname 'git.mikaela.info' doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'" while the ceritifcate is valid for *.mikaela.info https://paste.mikaela.info/view/b70bcadd#L56 (in Finnish11:23
Mikaelasorry)11:23
wgrant_Mikaela: That error is correct; you can reproduce it in a browser.11:31
=== wgrant_ is now known as wgrant
wgrantMikaela: The certificate presented by CloudFlare doesn't match the hostname.11:32
Mikaelawgrant: I am unable to reproduce it in browser while CloudFlare is enabled, it's currently temporarily disabled11:32
Mikaelaenabled again, should start going through cloudflare in 5 minutes11:32
Mikaelawgrant: paste.mikaela.info should have same certificate, are you able to reproduce this error there?11:33
wgrantMikaela: paste.mikaela.info works.11:37
Mikaelagit.mikaela.info should have no issues either and Chrome here doesn't complain. I can also try other browser11:37
wgrantAh, works now.11:37
wgrantI suspect CloudFlare replication latency.11:38
Mikaelahttps://launchpadlibrarian.net/193888435/progval-limnoria-testing.log is still failing though11:39
Mikaelabzrlib.errors.CertificateError: Certificate error: hostname 'git.mikaela.info' doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'11:39
wgrantSure, it works from a node in what looks like Sydney.11:39
wgrantI presume they document the worst-case certificate replication times somewhere.11:39
MikaelaSo it should start working after that certificate is replicated?11:39
wgrantRemember that CloudFlare has numerous frontends all over the world, and they won't all update instantly when you change the configuration.11:40
wgrantHm, where did that branch go?11:40
MikaelaI am just wondering why that error message doesn't list all domains, it looks like it has the same certificate11:40
wgrantThe certificate that was presented by CloudFlare was for just those three domains.11:41
MikaelaLaunchpad https://code.launchpad.net/~progval/limnoria/testing and it goes to https://git.mikaela.info/Limnoria.git/11:41
wgrantThat would have been from a CloudFlare node in London somewhere, which presumably doesn't have the certificate yet.11:41
Mikaelaweird, you should see more certificates in the web browser11:41
wgrant*I* do.11:41
wgrantI'm not in Launchpad's datacentre.11:41
wgrantYou need to wait for the certificate to replicate throughout CloudFlare's infrastructure.11:41
MikaelaFrom what I see in my web browser, that certificate was issued in 2014-10-02 and expires 2015-10-0111:42
Mikaelait's now using http11:42
Mikaelaand now it cannot find the branch11:43
wgrantWhen did you create that vhost on CloudFlare?11:47
Mikaela13:15+020011:47
Mikaelaand now I disabled it again as it's using http and I don't have valid certificate.11:48
wgrantWhat does CloudFlare say about normal replication delays?11:48
Mikaelaor if you mean mikaela.info (the certificate is valid for *.mikaela.info), that was probably early 201411:48
wgrantAnyway, this isn't a Launchpad problem. Once CloudFlare becomes consistent it will all work.11:48
wgrantThe creation date of the certificate isn't relevant. What matters is when the configuration for that vhost on CloudFlare changed.11:49
MikaelaI am unable to find any delays documented11:49
Mikaelaeven if the certificate is for *.mikaela.info not git.mikaela.info?11:49
wgrantIf a CloudFlare server in London doesn't know that git.mikaela.info exists, it's not going to know to return that certificate for it.11:49
MikaelaI actually happen to have VPS in London and I can check whaat it returns11:50
Mikaelait reports self signed certificate so disabling cloudflare probably has propagated or if it's what you think it was never enabled there11:52
wgrantEnabling/disabling CloudFlare would presumably incur DNS cache timeouts.11:53
MikaelaThis current error is even more unclear to me https://launchpadlibrarian.net/193889024/progval-limnoria-testing.log11:53
Mikaelahttps://www.whatsmydns.net/#A/git.mikaela.info appears to say that London nameserver finds nothing11:53
wgrantThat's *probably* a 404, but it's difficult to say.11:53
Mikaelabut as that nameserver doesn't find google.fi either, I wouldn't rely on it11:54
wgrantI'd configure CloudFlare how you wantit, wait an hour or so, and try the HTTPS URL again.11:54
MikaelaThanks, I will try that now11:54
wgrantAlways remember that services like CloudFlare are eventually consistent11:54
wgrantYou can't atomically update servers across the world like that.11:54
MikaelaIt has been surprisingly fast around the world and Launchpad is the only place where I have had any issues using it11:55
wgrantPerhaps certificates replicate more slowly.11:55
Mikaelaprobably possible, I am trying again in hour11:56
Mikaelawhich seems to be 15+020011:56
Mikaelain case you are interested, diral.mikaela.info which is VPS on DigitalOcean London 1 datacenter is currently receiving valid certificate11:57
Mikaelawhen curling git.mikaela.info11:58
wgrantNone of my London hosts on unrelated networks are seeing a valid cert yet.11:59
wgrantMikaela: Oh, the "No branch found at location" is because there's no git smart HTTP server at that URL.12:01
wgrantOnly the long-deprecated dumb HTTP protocol.12:01
wgranthttp://git-scm.com/book/be/v2/Git-on-the-Server-Smart-HTTP12:02
wgrantWe removed support for git over dumb HTTP several years ago.12:02
MikaelaI see, I will now also start invitigating that12:03
wgrant(it's deprecated for a reason, too -- pulls over the dumb protocols are terrifyingly slow)12:03
MikaelaI hope this also exists for nginx as I am not going to learn Apach12:04
Mikaelait does12:04
=== Guest13167 is now known as Laney
=== seelaman` is now known as seelaman
candreahey there -- this user https://bugs.launchpad.net/~gamal-m-oha-med122000 has started creating some bug reports containing spam, could you please stop him?16:45
=== yofel_ is now known as yofel
=== lifeless_ is now known as lifeless

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