{"id":187335,"date":"2014-10-09T15:29:57","date_gmt":"2014-10-09T15:29:57","guid":{"rendered":"http:\/\/www.merindab.com\/private\/2014\/10\/09\/chrome-only-xkit-servers-are-down\/"},"modified":"2014-10-09T15:29:57","modified_gmt":"2014-10-09T15:29:57","slug":"chrome-only-xkit-servers-are-down","status":"publish","type":"post","link":"https:\/\/www.merindab.com\/private\/2014\/10\/09\/chrome-only-xkit-servers-are-down\/","title":{"rendered":"(Chrome Only) XKit servers are down."},"content":{"rendered":"<p><a class=\"tumblr_blog\" href=\"http:\/\/xkit-extension.tumblr.com\/post\/99518199982\/chrome-only-xkit-servers-are-down\" target=\"_blank\">xkit-extension<\/a>:<\/p>\n<blockquote>\n<p><strong>I\u2019ve been working on this for about 5 hours now, but seems like I\u2019m back to <a href=\"http:\/\/xkit-extension.tumblr.com\/post\/96204680382\/chrome-back-to-square-1\" target=\"_blank\">square one again<\/a>, but this time, since it affects release version of Chrome, things are even worse.<\/strong><\/p>\n<p>To reiterate, Chrome now forces all connections to be made using HTTPS. To overcome this, I\u2019ve done two things: <strong>(1)<\/strong> move all files to a server that supports HTTPS <strong>(2)\u00a0<\/strong>wrote a small \u201cbridge\u201d that connects to a non-HTTPS page and serves it using HTTPS, so XKit can still use Tumblr API (which is required for many extensions, like Timestamps, TagViewer, ReplyViewer and more)<\/p>\n<p>The problem is, Tumblr API does not work with HTTPS. API v1 does not support HTTPS connections, and API v2 does not send a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Cross-origin_resource_sharing\" target=\"_blank\">CORS<\/a> header that allows XKit to use it, hence the need for a \u201cbridge\u201d. But the problem with the bridge is that now my servers need to handle millions of connections per second, which is impossible, hence the server crash.<\/p>\n<p>I\u2019ve pushed XKit 7.4.9, which disables the bridge that is bringing down the server, but it will be a while until everyone gets upgraded to that version so the server can start running properly again.<\/p>\n<p>After that, though, XKit will need a huge rewrite, and I\u2019m not sure if it can have the features it has right now, at least on Chrome. I\u2019m still trying to come up with a workaround for this problem, so if you have any ideas or suggestions, please let me know.<\/p>\n<p>For now, there is absolutely nothing I can do except recommend either uninstalling XKit or switching to Firefox and using it there.<\/p>\n<p>I\u2019m terribly, terribly sorry about this. I will keep you updated.<\/p>\n<p>Thank you for reading, and for your patience and support.<\/p>\n<p><em>(<strong>Short Version:\u00a0<\/strong>A recent Chrome change now requires me to do either impossible things or drop the majority of XKit features in order to actually work. I\u2019ve tried doing the impossible thing today and failed miserably, crashing the servers, and I\u2019m still searching for a workaround.)<\/em><\/p>\n<\/blockquote>\n<p>So this is why xkit isn&rsquo;t working right today. *shakes fist at chrome*<\/p>\n","protected":false},"excerpt":{"rendered":"<p>xkit-extension: I\u2019ve been working on this for about 5 hours now, but seems like I\u2019m back to square one again, but this time, since it affects release version of Chrome, things are even worse. To reiterate, Chrome now forces all connections to be made using HTTPS. To overcome this, I\u2019ve done two things: (1) move &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.merindab.com\/private\/2014\/10\/09\/chrome-only-xkit-servers-are-down\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;(Chrome Only) XKit servers are down.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[11604],"_links":{"self":[{"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/posts\/187335"}],"collection":[{"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/comments?post=187335"}],"version-history":[{"count":0,"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/posts\/187335\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/media?parent=187335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/categories?post=187335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.merindab.com\/private\/wp-json\/wp\/v2\/tags?post=187335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}