0

A client told me that one of their admin accounts wouldn't load the Posts page. I tried it myself and experienced the same issue (it hangs for almost a minute, then throws a 502 error). Strangely, other admin accounts are able to load it just fine. I removed all plugins from the site and tried it again, but the issue persisted.

Here's the error page that it produces:

502
The page request was canceled because it took too long to complete
What can I do?

Site visitors: There was an issue serving your request, please try again in a few minutes.

Site Owners: A request for either a page, script, process, or query has taken too long to complete and has been cancelled due to a bad gateway. You should visit your error log for more information.

I checked the error log but it didn't seem to be producing any actual errors. However, there's also a massive file called __wpe_admin_ajax.log that seems to be outputting a giant list of posts whenever that account accesses a page.

** Mon, 19 Mar 2018 13:29:11 +0000 | (ip address) | (my site).com/wp-admin/admin-ajax.php \nArray
(
    [data] => Array
        (
            [wp-refresh-post-lock] => Array
                (
                    [post_id] => 259236
                )

            [wp-refresh-post-nonces] => Array
                (
                    [post_id] => 259236
                )

        )

    [interval] => 60
    [_nonce] => 617d46d4af
    [action] => heartbeat
    [screen_id] => post
    [has_focus] => false
)
\nArray
(
    [data] => Array
        (
            [wp-refresh-post-lock] => Array
                (
                    [post_id] => 259236
                )

            [wp-refresh-post-nonces] => Array
                (
                    [post_id] => 259236
                )

        )

    [interval] => 60
    [_nonce] => 617d46d4af
    [action] => heartbeat
    [screen_id] => post
    [has_focus] => false
    [tk_ai] => jetpack:ALWfTRQyRoMKYrjWuswofaKP
    [wordpress_d9e1149bc5621e159e66a6b0e743ee09] => (username)|1521631424|FUYnPKoMg7poVzF3BxBSKFkFAr8jzQ6c2dek7S14EdD|e3b0dc3b09616eb2ff84204ecea88fc2be00acf0720a831ffc24b5f57cf5dd0f
    [csbwfs_show_hide_status] => active
    [wordpress_logged_in_d9e1149bc5621e159e66a6b0e743ee09] => (username)|1521631424|FUYnPKoMg7poVzF3BxBSKFkFAr8jzQ6c2dek7S14EdD|c310b52c2d84a90ee9e908b7f226d6193eb9e7dfa472b5ffbbbe6973291d39d4
    [wordpress_test_cookie] => WP Cookie check
    [wp-settings-1] => editor=tinymce&libraryContent=browse&imgsize=full&hidetb=1
    [wp-settings-time-1] => 1521462429
    [wpe-auth] => f96cf801220c76242f9419c65b92426a
)
\n


** Mon, 19 Mar 2018 13:29:58 +0000 | (ip address) | (my site).com/wp-admin/admin-ajax.php \nArray
(
    [data] => Array
        (
            [wp-check-locked-posts] => Array
                (
                    [0] => post-259194
                    [1] => post-259157
                    [2] => post-259120
                    [3] => post-259121
                    [4] => post-259216
                    [5] => post-259197
                    [6] => post-259214
                    [7] => post-259212
                    [8] => post-259208
                    [9] => post-259177
                    [10] => post-259042
                    [11] => post-258750
                    [12] => post-259184
                    [13] => post-259179
                    [14] => post-259107
                    [15] => post-259175
                    [16] => post-259154
                    [17] => post-259171
                    [18] => post-259158
                    [19] => post-259166
                    [20] => post-259168
                    [21] => post-259106
                    [22] => post-259163
                    [23] => post-259149
                    [24] => post-259159
                    [25] => post-259122
                    [26] => post-259123
                    [27] => post-259124
                    [28] => post-259125
                    [29] => post-259155
                    [30] => post-259152
                    [31] => post-259153
                    [32] => post-259129
                    [33] => post-259142
                    [34] => post-259138
                    [35] => post-259130
                    [36] => post-259139
                    [37] => post-259040
                    [38] => post-259131
                    [39] => post-259127
                    [40] => post-259117
                    [41] => post-259105
                    [42] => post-259088
                    [43] => post-259113
                    [44] => post-259069
                    [45] => post-259112
                    [46] => post-258660
                    [47] => post-259104
                    [48] => post-259101
                    [49] => post-259093
                )

            [wp-auth-check] => true
        )

    [interval] => 60
    [_nonce] => c98144586b
    [action] => heartbeat
    [screen_id] => edit-post
    [has_focus] => false
)
\nArray
(
    [data] => Array
        (
            [wp-check-locked-posts] => Array
                (
                    [0] => post-259194
                    [1] => post-259157
                    [2] => post-259120
                    [3] => post-259121
                    [4] => post-259216
                    [5] => post-259197
                    [6] => post-259214
                    [7] => post-259212
                    [8] => post-259208
                    [9] => post-259177
                    [10] => post-259042
                    [11] => post-258750
                    [12] => post-259184
                    [13] => post-259179
                    [14] => post-259107
                    [15] => post-259175
                    [16] => post-259154
                    [17] => post-259171
                    [18] => post-259158
                    [19] => post-259166
                    [20] => post-259168
                    [21] => post-259106
                    [22] => post-259163
                    [23] => post-259149
                    [24] => post-259159
                    [25] => post-259122
                    [26] => post-259123
                    [27] => post-259124
                    [28] => post-259125
                    [29] => post-259155
                    [30] => post-259152
                    [31] => post-259153
                    [32] => post-259129
                    [33] => post-259142
                    [34] => post-259138
                    [35] => post-259130
                    [36] => post-259139
                    [37] => post-259040
                    [38] => post-259131
                    [39] => post-259127
                    [40] => post-259117
                    [41] => post-259105
                    [42] => post-259088
                    [43] => post-259113
                    [44] => post-259069
                    [45] => post-259112
                    [46] => post-258660
                    [47] => post-259104
                    [48] => post-259101
                    [49] => post-259093
                )

            [wp-auth-check] => true
        )

    [interval] => 60
    [_nonce] => c98144586b
    [action] => heartbeat
    [screen_id] => edit-post
    [has_focus] => false
    [wordpress_d9e1149bc5621e159e66a6b0e743ee09] => drew|1521576695|0Of2huOJ3pT830H8Hqros6ugzyf1SMo0LnYlIZgKTbx|3a890bbbaf99aee519887bade2b67411674d30d559cbe72bb302aa790da296e4
    [csbwfs_show_hide_status] => active
    [wordpress_test_cookie] => WP Cookie check
    [wordpress_logged_in_d9e1149bc5621e159e66a6b0e743ee09] => drew|1521576695|0Of2huOJ3pT830H8Hqros6ugzyf1SMo0LnYlIZgKTbx|9414e5f40dd6e96297748b40bfc2f6a220ef791fa113a686c3ad821e5b0a746f
    [wpe-auth] => f96cf801220c76242f9419c65b92426a
    [wp-settings-time-107] => 1521412494
    [wp-settings-107] => libraryContent=browse&hidetb=1&editor=tinymce&editor_plain_text_paste_warning=2&align=center&imgsize=large&posts_list_mode=excerpt&post_dfw=off&urlbutton=none
)
\n

I have no idea what that is but the file was 8GB (!) large and was full of that kind of output. I renamed the file so that it would start fresh with a new one to see if that stopped the timeouts, but it had no effect.

For now, I told the client to use the new admin account as a workaround. But what could be causing this? They're using WPEngine, by the way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.