mattdrown
Forum Replies Created
-
I realized I probably wasn’t clear on the description of delays in the previous message.
normally it seemed to add 1, maybe 2 seconds (ie a successful connection with a tcp rtt). While testing things out it suddenly hit more like 5+ seconds between every click, at which point I disabled the plugin. I ran without the plugin for the past 5 or so days, and just re-enabled it again to do the test above, and saw the 1 second roughly delay compared to not having it.In the past in my testing I went as far as deleting the plugin, reinstalling, and then disabling every option from the “single-page” configuration, and saw the same lag issue.
@kraftbj – I have had it disabled for the past week, and searching for alternatives to the features I used. I have installed it again, re-connected, and the info is below. I have disconnected it after this test. My admin delays were initially just 1-2 seconds between click, annoying, but ok. When I disabled it, it became 5+ seconds in my experience, any page on the admin side (and went away with just disabling jetpack). Today when I tested, it seemed “normal”.
Debug Info
jQuery version: 1.12.4CLIENT_ID: xxxxxxxxxxxxxxx
BLOG_TOKEN: #XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
MASTER_USER: 1
CERT: 0
TIME_DIFF: 0
VERSION: 7.1.1:1552012150
OLD_VERSION: 7.1.1:1552012150
PUBLIC: 1
USER_ID: 1
USER_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PHP_VERSION: 7.2.10
WORDPRESS_VERSION: 5.1.1
JETPACK__VERSION: 7.1.1
JETPACK__PLUGIN_DIR: /xxxxxxxxxx/2ontherun.com/wordpress/wp-content/plugins/jetpack/
SITE_URL: https://2ontherun.com/wordpress
HOME_URL: https://2ontherun.com
PLAN: JetpackPlanfree— SYNC Status —
Jetpack Sync Full Status: `
Array
(
[started] => Tue, 26 Mar 2019 18:06:41 +0000
[queue_finished] => Tue, 26 Mar 2019 18:06:41 +0000
[send_started] => Tue, 26 Mar 2019 18:06:55 +0000
[finished] => Tue, 26 Mar 2019 18:06:55 +0000
[sent] => Array
(
[constants] => 1
[functions] => 1
[options] => 1
[users] => 1
)[queue] => Array
(
[constants] => 1
[functions] => 1
[options] => 1
[users] => 1
)[config] => Array
(
[options] => 1
[functions] => 1
[constants] => 1
[users] => Array
(
[0] => 1
))
[total] => Array
(
[constants] => 1
[functions] => 1
[options] => 1
[users] => 1
))
`
Sync Queue size: 32
Sync Queue lag: 22 seconds
Full Sync Queue size: 0
Full Sync Queue lag: 0 seconds
Sync IDC URLs: {“home”:”https:\/\/2ontherun.com”,”siteurl”:”https:\/\/2ontherun.com\/wordpress”,”WP_HOME”:””,”WP_SITEURL”:””}
Sync error IDC option: false
Sync IDC Optin: 1HTTP_HOST: 2ontherun.com
SERVER_PORT: 443
HTTPS: on
REMOTE_ADDR: 67.161.56.183
PROTECT_TRUSTED_HEADER: {“trusted_header”:”REMOTE_ADDR”,”segments”:1,”reverse”:false}TEST RESULTS:
FAILED TESTS!
test__wpcom_self_test: Jetpack.com detected an error.
Array
(
[0] => Array
(
[name] => test__check_if_connected
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[1] => Array
(
[name] => test__master_user_exists_on_site
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[2] => Array
(
[name] => test__master_user_can_manage_options
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[3] => Array
(
[name] => test__xml_parser_available
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[4] => Array
(
[name] => test__outbound_http
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[5] => Array
(
[name] => test__outbound_https
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[6] => Array
(
[name] => test__identity_crisis
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[7] => Array
(
[name] => test__wpcom_connection_test
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[8] => Array
(
[name] => test__server_port_value
[pass] => 1
[message] => Test Passed!
[resolution] =>
[group] => Array
(
[0] => default
))
[9] => Array
(
[name] => test__wpcom_self_test
[pass] =>
[message] => Jetpack.com detected an error.
[resolution] => Visit the Jetpack.com debugging page for more information or contact support.
[group] => Array
(
[0] => default
))
)
jetpack.com/support/debug shows things are working, while “/wordpress/wp-admin/admin.php?page=jetpack-debugger” fails the self_check as above. I’ve just ignored it in the past.
I’ve now pulled jetpack and looking for alternatives due to incredible lag in the admin pages. The lag was there before but has gotten a lot worse recently. I suspect it’s doing some sort of connection that is timing out, and pausing while this time out occurs. This doesn’t happen on other wordpress blogs on the same host (same server, same host), so I assume there is a config problem. Uninstalled and reinstalled the jetpack plugin did not solve the problem. I have not tried to delete/clean any jetpack database bits.
@kraftbj you may have missed earlier, the post.php problem seems to only happen with nextgen gallery & jetpack is connected. If jetpack is active and not connected, and nextgen gallery is active, then it doesn’t happen. I have an active ticket with nextgen over this right now. Additionally the admin UI becomes “slow”, with what appears to be large multi-second latency.
Thanks for the tip on checking the response, I tracked down in the chrome debugging window, and it appears to be related to the nonce system.
{"code":"wp_die","message":"The link you followed has expired.<\/p><p><a href="\/wordpress\/wp-admin\/post.php?post=1460&action=edit">Please try again.<\/a>","data":{"status":403},"additional_errors":[]}It’s not server related, because I’ve been able to replicate the exact error after copying the blog to a different hosting provider that using NGINX instead of apache (and obviously a different system).
The next problem seems to be that https://2ontherun.com/ fails the jetpack selftest for some reason. And does if I disable every plugin but jetpack. But otherwise appears to be connected and responding correctly.
- This reply was modified 7 years, 5 months ago by mattdrown.
No security plugins on apache or worpdress. The 405 error from xmlrpc.php is from wordpress core responding to a GET instead of a PUT.
What is the “test__wpcom_self_test” doing? that may make it easier for me to debug.
Any other testing suggestions for this?
You get a 405 doing a GET against xmlrpc.php from this error most likely:
In file wp-includes/IXR/class-IXR-server.php
if (!$data) { if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] !== 'POST') { if ( function_exists( 'status_header' ) ) { status_header( 405 ); // WP #20986 header( 'Allow: POST' ); } header('Content-Type: text/plain'); // merged from WP #9093 die('XML-RPC server accepts POST requests only.');No server side errors, no mod_security, no error logs for apache, access logs look like this when i go to the jetpack debugging page (tokens and nonce removed):
- - [12/Mar/2019:14:55:29 -0700] "POST /wordpress/xmlrpc.php?for=jetpack&token=xxxxxxxxxxxxxxxxxx×tamp=1552427729&nonce=xxxxxx&body-hash=xxxxxxxxxxxD&signature=xxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 131 - - [12/Mar/2019:14:55:32 -0700] "GET /wordpress/xmlrpc.php HTTP/1.1" 405 42 - - [12/Mar/2019:14:55:28 -0700] "GET /wordpress/wp-admin/admin.php?page=jetpack-debugger HTTP/1.1" 200 21397 - - [12/Mar/2019:14:55:33 -0700] "GET /wordpress/wp-admin/admin-ajax.php?action=atd_settings&ver=20150715 HTTP/1.1" 200 236 - - [12/Mar/2019:14:55:36 -0700] "GET /wp-json/jetpack/v4/jitm?message_path=wp%3Aadmin_page_jetpack-debugger%3Aadmin_notices&query=page%253Djetpack-debugger&_wpnonce=xxxxx HTTP/1.1" 200 2mattdrown.com is connected
2ontherun.com is not connectedboth are in the /wordpress directory
I have disconnected and reconnected both.
# curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello</methodName></methodCall>' https://2ontherun.com/wordpress/xmlrpc.php <?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param> <value> <string>Hello!</string> </value> </param> </params> </methodResponse>I also just disabled all plugins except jetpack, and then disconnected/reconnected, and am still getting the selftest error above.
If you switch to HTTPS that responds correctly, AND go to the correct directory which is /wordpress/xmlrpc.php, since wordpress is located, not at the top level. Is that the problem?
https://mattdrown.com/xmlrpc.php = does not work
https://mattdrown.com/wordpress/xmlrpc.php = worksI have wordpress in the /wordpress folder, do I need to redirect /xmlrpc.php to /wordpress/xmlrpc.php?
Jetpack debugging page reports I’m connected on mattdrown.com:
mattdrown.com…/wordpress/wp-admin/admin.php?page=jetpack-debugger
Debugging Center
Testing your site’s compatibility with Jetpack…
Your Jetpack setup looks a-okay!The 2ontherun.com site reports “test__wpcom_self_test” fail, with no other information.
Both show up on wordpress.com stats, including information about today.
Quick update, the 403 error doesn’t occur if jetpack is installed, but not connected.
- This reply was modified 7 years, 5 months ago by mattdrown.
I just re-tested everything, and I may have found the issue with the mix of nextgen-gallery and jetpack. I had tested no plugins but jetpack and could reproduce, but I don’t appear to be able to reproduce right now. I will update if this changes.
The other issues of jetpack reporting an error on connection, I have no idea. I’ve gone through the process a couple different times, including deleting and re-installing jetpack, and clearing out the jetpack connections. It never reports a proper connection (including with all plugins deactivated). The debugging page seems to imply that I pass all the tests except #9, as below. 0-8 report “test passed”.
[9] => Array
(
[name] => test__wpcom_self_test
[pass] =>
[message] => Jetpack.com detected an error.
[resolution] => Visit the Jetpack.com debugging page for more information or contact support.
[group] => Array
(
[0] => default
))
I notice that Jetpacks “free” support is “temporarily” down when I went to file a bug about this. Is that something that is normal, or should I expect to be able to file something about this in the near future?
I’ve also now tried deleting and re-installing the plugin with no change in behavior (other than having to reconfigure the jetpack setup).
You can look at https://2ontherun.com/ or https://neeleydrown.com/ same error.
Manage Site Connection tells me that I’m connected. But I disconnected, and reconnected. And re-tested, same issue.