Support » How-To and Troubleshooting » [Resolved] Error when trying to logout

[Resolved] Error when trying to logout

  • I get this error when trying to logout of WordPress 3.0.1 & 3.0.2:

    "This webpage is not available. The webpage at http://my.site.com/wp-login.php?action=logout&_wpnonce=12c23f0af8 might be temporarily down or it may have moved permanently to a new web address."


    "Error 101 (net::ERR_CONNECTION_RESET): Unknown error."

    in Google Chrome and

    "The connection was reset"

    in Firefox. Both browsers running on Windows XP SP3. I tested this on another computer running Windows XP SP3 (different ISP) and got the same error in Firefox.

    Strangely, I do not get these errors at all on my Mac, in both Chrome and Firefox; they both logout correctly. It also works correctly on my iPhone.

    I’ve tried cleaning cache and cookies in both browsers, reseting my sub-domain in my host’s control panel, changing to the default theme; none of which worked at all.

    Anyone have an ideas? I’ve seen other posts regarding similar issues but with no resolution.

Viewing 15 replies - 1 through 15 (of 75 total)
  • esmi


    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    I tried all the things you mentioned and they all didn’t work. After I reset the plugins folder by FTP, logging out worked correctly one or two times and has not worked since. Logging out still works correctly every time on my Mac in both Chrome and Firefox though.


    Any developers care to comment on this?



    Forum Moderator

    Try contacting your hosts in case it’s a server issue.

    Why would it be a server problem when it works perfectly every time on a mac, and yet produces an error every time on multiple PCs?

    So i guess this is just an unresolved issue? Is their a place I can place a bug report?



    Forum Moderator

    I am have the same issue – anybody any ideas?

    Interesting. I have seen many posts regarding this but no response from the developers. Seems like a confirmed bug to me.

    Recently installed a WordPress site and having the same logout problem as interconnect describes.

    My installation…
    Host Provider: IPOWER
    Wordpress 3.0.2
    Theme: Flexx Professional
    Plugins: Akismet, Easy Gravatars, Gravity Forms, s2Member, Sidebar Login, WP Super Cache

    My testing…
    -Works on all Mac machines (Safari, Firefox and Chrome)
    -Works on all Windows machines (Chrome)
    -Fails on all Windows machines (XP,Vista,7) with IE and Firefox
    -Still fails on clean install of FireFox with no add-ons

    Based on this post, it does not appear to be a plugin issue. Has anyone come up with a work-a-round solution for this problem?

    I use IPOWER as well, although other reports of this issue had people with all different hosting providers, so I’m not sure if the host has anything to do with it. Seems unlikely, given that it DOES work on certain OS’s. My testing is the same as yours, although I could not logout successfully using Chrome in Windows XP.

    After further research and testing, I was able to get Firefox working.
    For some reason on my Windows Vista test machine, Mozilla Firefox was not enabled under the Windows Firewall Exceptions tab. After adding Mozilla Firefox, I was able to consistently log out of WordPress with no “The connection reset…” errors.

    Still having intermittent logout problems with IE8.

    Celebrated too soon. Firefox worked for about 4 or 5 login/logout iterations…then stopped working again. Even turned Windows Firewall off and still get the error.

    As a workaround to the issue, I ended up changing the wp-login.php file as follows:

    $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'login';
    // logout issue work-a-round start
    if ($action == "logout") {
    	$redirect_to = !empty( $_REQUEST['redirect_to'] ) ?
                           $_REQUEST['redirect_to'] :
    	wp_safe_redirect( $redirect_to );
    // logout issue work-a-round end
    $errors = new WP_Error();

    WordPress logout now works in all browsers on the PC and Mac.

Viewing 15 replies - 1 through 15 (of 75 total)
  • The topic ‘[Resolved] Error when trying to logout’ is closed to new replies.