• Resolved simonbassett

    (@simonbassett)


    Hi there,

    We seem to have lost our connection to jetpack.

    I have gone through all the forum posts on this topic and have covered everything i can find..

    removing / re- installing
    checking the /xmlrpc.php
    Disabled all plugins
    switched theme

    The debug tool shows XML-RPC is not responding correctly ( 200 )

    However i have contacted the host and they allow all jetpack traffic through and said the following..

    I can see the connection on my end, and it looks like it’s giving a 200 response (success) like jetpack is expecting

    /var/log/haproxy/l7lb5.lhr.stackcp.net.log:Jun 9 15:47:41 l7lb5.lhr.stackcp.net haproxy[23409]: 192.0.86.35:50384 [09/Jun/2022:15:47:41.266] proxyfroml4~ challenge_captcha/stackprotect3 0/0/5/6/11 200 1571 – – —- 989/989/0/0/0 0/0 {www.justlead.co.uk|US|2635||Jetpack by WordPress.com|} “POST /xmlrpc.php?for=jetpack HTTP/1.1”

    I have also removed the connection / app from within
    https://wordpress.com/me/security

    I feel like ive exhausted all options

    The site address is https://www.justlead.co.uk

    Kind Regards

    Simon

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @simonbassett

    I looked at this and we’re being blocked by a JavaScript bot check:

    
    HTTP/1.1 200 OK
    server: nginx/1.16.1
    date: Fri, 10 Jun 2022 14:14:36 GMT
    content-type: text/html; charset=UTF-8
    transfer-encoding: chunked
    x-powered-by: PHP/7.1.25
    cache-control: Private
    x-backend-server: stackprotect3
    x-via: ASH1
    connection: close
    
    <html>
        <head>
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    	<script src="https://www.google.com/recaptcha/api.js?render=6LdZXJwUAAAAAE1ERIs8cDyw2wNhHNuMxBJWG0Aa"></script>
            <title>Bot Verification</title>
            <script>
    		function stackProtect() {
    			grecaptcha.ready(function() {
    				grecaptcha.execute('6LdZXJwUAAAAAE1ERIs8cDyw2wNhHNuMxBJWG0Aa', {}).then(function(token) {
    					document.getElementById('token').value = token
    					document.getElementById('stackprotectform').submit()
    				});
    			});
    		}
    		setInterval(stackProtect, 5000);
            </script>
        </head>
        <body>
            <div class="text-center">
    	<br><br>
                    <p>To help us keep this website secure, please wait while we verify you're not a robot! It will only take a few seconds...</p>
    		<div class="spinner-border m-5" role="status">
    			<span class="sr-only">Loading...</span>
    		</div>
            <form action="" method="post" id="stackprotectform">
    		<input type="hidden" id="token" name="g-recaptcha-response" value="">
                            </form>
    
            </div>
        </body>
    </html>
    

    This appears to be coming from StackPath. I would recommend reaching out to them to see if they can add Jetpack’s IPs to their allowlist:

    https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/

    You can reach StackPath here:

    https://www.stackpath.com/

    Thread Starter simonbassett

    (@simonbassett)

    Hi There,

    Thank you for the quick responce, I have spoken to the hosting company.

    They said that jetpack’s ips are already whitelisted.

    I have asked that stackprotect is removed from this package, but i still cannot connect.

    The cache has been cleared on server and my browser cache but still no luck.

    the debug page still reads XML-RPC is not responding correctly ( 200 )

    And when I try to connect I get the error “An error occurred. Please try again.”

    Your help is greatly appriciated.

    Hi @simonbassett

    I’ve taken a second look into your website, and I can confirm that Jetpack is still unable to query your XML-RPC endpoint, as it’s not getting any captcha bot anymore, and is getting a strict “Forbidden 403” error.

    To resolve this, I’d highly suggest having Jetpack’s IP ranges specifically whitelisted for that endpoint, so it can get access to it and also make cURL requests. If it persists, it’s worth removing that security altogether and trying to reconnect Jetpack.

    Let us know how this goes.

    Thread Starter simonbassett

    (@simonbassett)

    Hi,

    I have spoken to the hosting company again and their responce was:

    We not able to see any connections at all from Jetpack giving a 403 in our logs.

    Wierdly when i log into jetpack the apps have reapeared in the security section.. i had deleted these a few days ago thinking it maybe the issue.

    The site also flashed up the following after i ininstalled and reinstalled..

    The registration secrets sent by your site do not match the ones the Jetpack server has on record.

    The jetpack username is justleadworkshop

    Also just a note i have multiple sites with this hosting company and they all work fine with jetpack..

    Its all a bit odd..

    Thanks again for your help.

    Reagrds

    Simon

    Thread Starter simonbassett

    (@simonbassett)

    Hi Again, Im not sure if this will help, i have just run a site health plugin and it came back with the following:

    Diagnostic information helpful to your Jetpack Happiness team(opens in a new tab)
    
    Jetpack Site ID
    Jetpack SSL Verfication Bypass
    No
    Offset between Jetpack server's time and this server's time.
    0
    Current Jetpack Version Option
    Previous Jetpack Version
    Jetpack Site Public
    Private
    Jetpack Master User
    No master user set.
    Current User
    #1 admin
    Tokens defined
    None
    Blog Public Key
    Not set.
    User Public Key
    Not set.
    Jetpack Version
    11.0
    Jetpack Directory
    /home/sites/4a/f/fde0203923/public_html/wp-content/plugins/jetpack/
    Plan Type
    free
    Server Variable HTTP_HOST
    www.justlead.co.uk
    Server Variable SERVER_PORT
    80
    Server Variable HTTPS
    on
    Server Variable HTTP_X_FORWARDED_FOR
    2a02:c7f:5a28:a800:e05c:d23:54c2:7048
    Server Variable REMOTE_ADDR
    2a02:c7f:5a28:a800:e05c:d23:54c2:7048
    Trusted IP
    {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false}
    Full Sync Status
    {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]}
    Sync Queue Size
    0
    Sync Queue Lag
    0 seconds
    Full Sync Queue Size
    0
    Full Sync Queue Lag
    0 seconds
    IDC URLs
    {"home":"https:\/\/www.justlead.co.uk","siteurl":"https:\/\/www.justlead.co.uk","WP_HOME":"","WP_SITEURL":""}
    IDC Error Option
    false
    IDC Opt-in
    1
    Connection Tests
    All Pass.

    Hi @simonbassett

    Could you deactivate temporarily the bot check layer in front of your site and try to reconnect the site to the Jetpack, please?

    Note that Jetpack requires that the connection returns code 200, and your site is returning code 400, probably because of the bot check layer.

    Let me know if you have any questions.

    My best regards,

    Michelle

    Thread Starter simonbassett

    (@simonbassett)

    Hi @deathlynotes @muffinpeace @lastsplash

    I wanted to drop you a note to say im now connected.

    It turns out the site was under attach and the hosting company bot protection that been automatically re-enabled in its most secure state due to the site being “Under Attack”.

    I cant thankyou enough for all your help with assisting me on this, its much appriciated.

    Kind Regards

    Simon

    Plugin Support Animesh Gaurav

    (@bizanimesh)

    Hi Simon,

    I’m glad to hear you have managed to solve the issue.

    Thanks for letting us know. 🙂

    Now I’m marking this topic as resolved. But If you have any further questions or need some more help, you’re welcome to reply here or open another thread.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Cannot re connect to Jetpack’ is closed to new replies.