As reported at [[https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#logout_slow_and_failed_due_to_http|Enwiki's VPT]] ([[https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=905551478#logout_slow_and_failed_due_to_http|permalink]])
> I was trying to log out one day but the step was slow. It said, "You are being logged out, please wait". Then it said, "Cannot log out now: http". Eventually I was logged out.
> Why so long? Does it mean that I must have been using a slow network? If I close my browser while waiting, is that good enough?
In discussion in IRC, a dev noted that:
* the relevant code is at https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.page.ready.js#L57-L77
* @Ladsgroup wrote the js code there https://github.com/wikimedia/mediawiki/commit/8f033911030d26759c327145403f91ac6b1c5e66
I'm filing a task
* in case it comes up again
* in case the error message can be improved/clarified