• Resolved oldteaseller

    (@oldteaseller)


    Hi Jetpack,

    Our hosting provider tells us that wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data tries to load in the backend on each page view, but fails every time causing our site to slow down.

    It looks like a problem related to Jetpack. At our site, we also try to use the Woocommerce iOS app, but continues to get “unable to load” error messages in the app. I guess this is connected with the problem above?

    Is there a fix for this?

    Kind regards,

    Simon

    • This topic was modified 3 years, 10 months ago by oldteaseller.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @oldteaseller,

    Thanks for reaching out about that:

    Our hosting provider tells us that wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data tries to load in the backend on each page view, but fails every time causing our site to slow down.

    Can you right-click and check in the Inspect browser > Console tab to see if you spot any related errors in red at all?

    I can also see that Jetpack isn’t able to connect as expected due to some blocks happening at your server’s end at the moment – seems like a timeout error: http_request_failed cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received

    Could you please kindly report this to your host as well? Also, check for any security/caching plugin you may have enabled, and try temporarily disable them, to see if it fixes the problem. You may also want to search for any firewall on your server-side that might be blocking the communication with Jetpack – your host should be able to help you with that too.

    Once Jetpack is well connected we should be able to investigate better on this – let me also know what you found out about the Console errors.

    Thanks!

    Thread Starter oldteaseller

    (@oldteaseller)

    Thank you for your reply, Stef.

    When I’m logged into WP I get following error messages in Chrome Console:

    ?v=2.0:6 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
    g @ ?v=2.0:6
    admin-ajax.php:1 Failed to load resource: the server responded with a status of 503 ()
    admin-ajax.php:1 Failed to load resource: the server responded with a status of 503 ()
    admin-ajax.php:1 Failed to load resource: the server responded with a status of 503 ()
    ?v=2.0:6 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
    g @ ?v=2.0:6
    T @ ?v=2.0:6
    j @ ?v=2.0:6
    DevTools failed to load SourceMap: Could not load content for https://www.io-te.dk/wp-content/plugins/jetpack/css/dashboard-widget.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    I do not get error messages in Console when viewing the site incognito.

    I tried disabling the firewall, but we keep getting the same errors.

    My hosting provider asks me to ask you if you can see which call is getting the timeout?

    Thank you,

    Simon

    Hi Simon!

    Thanks for sharing what you get in the Console. This is actually a known issue and it’s been around for a few years now:

    https://github.com/Automattic/notifications-panel/issues/250

    I’m also seeing an error in the site’s connection to Jetpack at the moment. It seems that when Jetpack tries to access the site’s XML-RPC file via cURL, we’re getting denied. That is likely the cause of the trouble here. If you can open up cURL access to Jetpack, that should fix the connection and resolve this error.

    Let us know how that goes ??

    Thread Starter oldteaseller

    (@oldteaseller)

    Hi Tracy,

    Thanks for your reply!

    Our hosting provider says he can’t identify anything that seems to block calls to XML-RPC. Would you kindly inform me what call Jetpack makes?

    Then our hosting provider will try to replicate the error.

    Kind regards,

    Simon

    Plugin Support MadHatter (a11n)

    (@madhattersez)

    Sure, Simon. The exact call goes like this:

    curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://www.io-te.dk/xmlrpc.php' && echo

    What’s coming back currently is:

    Forbidden
    
    Access to this resource on the server is denied!
    
    This page is generated by CDN on the NA-US-DFW-85 server.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Constant public API errors’ is closed to new replies.