• Resolved Boris

    (@ispacecrusader)


    Hi,
    I’ve tried creating a support ticket in the MainWP community, but apparently I am not allowed to do so as a new member ?? so I’ll post my support request here:

    I’ve used MainWP for years, and have around 50 sites connected for maintenance. Usually it all works fine, apart from the occasional connection issue. I’ve always managed to solve this by reconnecting or in the worst case, removing the MainWP child plugin and re-installing it.
    This time, I have lost connection to one of the sites, and I cannot get it working again. What I’ve tried:
    – Reconnecting.
    – Uninstalling and re-installing MainWP child.
    – Removing the site from the manager and attempt to add it again. Testing the connection is successfull.
    – I’ve checked the WordFence firewall for any blockings, but I don’t even see the connection attempt there.
    – Added the manager host IP to the IP whitelist in WordFence just in case.
    – Emptied the cache on the child site.
    – No plugins have been added or removed on the child site the last months, and connection was fine until two weeks ago.
    – disabled Verify SSL certificate.
    – Upon trying to re-add the site, I get the following message:
    MainWP Child plugin not detected or could not be reached! Ensure the MainWP Child plugin is installed and activated on the child site, and there are no security rules blocking requests. If you continue experiencing this issue, please review this [Knowledgebase document](https://kb.mainwp.com/docs/potential-issues/), and if you still have issues, please let us know in the [MainWP Community](https://managers.mainwp.com/c/community-support/5).
    Click [here](javascript:void(0)) to see response from the child site.

    I’ve checked everything in the KB article, but none of that has helped.
    The response from the child site:

    
    

    <!doctype html>
    <html>
    <head>
    <meta charset=”utf-8″>
    <meta name=”robots” content=”noindex, nofollow”>
    <title>One moment, please…</title>
    <style>
    body {
    background: #F6F7F8;
    color: #303131;
    font-family: sans-serif;
    margin-top: 45vh;
    text-align: center;
    }
    </style>
    </head>
    <body>
    <h1>Please wait while your request is being verified…</h1>
    <form id=”wsidchk-form” style=”display:none;” action=”/z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f” method=”get”>
    <input type=”hidden” id=”wsidchk” name=”wsidchk”/>
    </form>
    <script>
    (function(){
    var west=+((+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+![])+(+!+[]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![])),
    east=+((+!+[])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])),
    x=function(){try{return !!window.addEventListener;}catch(e){return !!0;} },
    y=function(y,z){x() ? document.addEventListener(“DOMContentLoaded”,y,z) : document.attachEvent(“onreadystatechange”,y);};
    y(function(){
    document.getElementById(‘wsidchk’).value = west + east;
    document.getElementById(‘wsidchk-form’).submit();
    }, false);
    })();
    </script>
    </body>
    </html>`
    `

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Bojan Katusic

    (@bojankatusic)

    Hey @ispacecrusader

    We may need to collect additional information in order to troubleshoot this issue. So can you please open a private Help Desk ticket so we can investigate further?

    Thread Starter Boris

    (@ispacecrusader)

    Hi @bojankatusic
    I will, thank you!

    Thread Starter Boris

    (@ispacecrusader)

    Unfortunately, I cannot submit a ticket. When I try to submit it, I get the following message:

    Sorry, you have been blocked
    You are unable to access mainwp.com

    Why have I been blocked?
    This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
    What can I do to resolve this?

    You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.`

    Plugin Support Bogdan Rapaic

    (@bogdanrapaic)

    Hi @ispacecrusader,

    Regarding the original issue with the connection to the child site, I noticed that the Error message that you get also shows you the response code:

    
    <!doctype html>
    <html>
    <head>
    <meta charset=”utf-8″>
    <meta name=”robots” content=”noindex, nofollow”>
    <title>One moment, please…</title>
    <style>
    body {
    background: #F6F7F8;
    color: #303131;
    font-family: sans-serif;
    margin-top: 45vh;
    text-align: center;
    }
    </style>
    </head>
    <body>
    <h1>Please wait while your request is being verified…</h1>
    <form id=”wsidchk-form” style=”display:none;” action=”/z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f” method=”get”>
    <input type=”hidden” id=”wsidchk” name=”wsidchk”/>
    </form>
    <script>
    (function(){
    var west=+((+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+![])+(+!+[]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![])),
    east=+((+!+[])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])),
    x=function(){try{return !!window.addEventListener;}catch(e){return !!0;} },
    y=function(y,z){x() ? document.addEventListener(“DOMContentLoaded”,y,z) : document.attachEvent(“onreadystatechange”,y);};
    y(function(){
    document.getElementById(‘wsidchk’).value = west + east;
    document.getElementById(‘wsidchk-form’).submit();
    }, false);
    })();
    </script>
    </body>
    </html>`
    `
    

    If you take this code to codepen.io and render it, you will notice that this is some security layer that says: Please wait while your request is being verified…

    After doing quick research, this seems to be Cloudflare bot protection that got triggered and started blocking Requests from your MainWP Dashboard.

    Please review your Cloudflare settings and add your MainWP Dashboard IP address to the Cloudflare whitelist, so all requests from your dashboard bypass the Cloudflare checks.

    Thread Starter Boris

    (@ispacecrusader)

    Hi @bogdanrapaic,
    thank you for checking. The strange thing is, there is no Cloudflare active on either the child website or the dashboard website. Perhaps the hosting provider is using some kind of Cloudflare service. I will check with them and let you know.

    Plugin Support Bogdan Rapaic

    (@bogdanrapaic)

    HI @ispacecrusader,

    It is very possible that your host is using some CF service. Let us know how it goes.

    We’re having this same issue and BOGDAN is blaming our servers. We are not using Cloudflare at all nor any kind of caching.

    • This reply was modified 2 years, 7 months ago by Jennifer Moss.
    Plugin Support Bogdan Rapaic

    (@bogdanrapaic)

    Hi @mossifer,

    The problem that you have reported may not be related to this one.

    In this case, we have explicit confirmation that Cloudflare is causing the problem.

    Thread Starter Boris

    (@ispacecrusader)

    Hi @bogdanrapaic,
    are you sure about Cloudflare? I’ve asked the hosting provider, and they tell me that they do not have any Cloudflare service in place.

    Plugin Support Bogdan Rapaic

    (@bogdanrapaic)

    Hi @ispacecrusader,

    Can you please show them the response code and have them double-check?

    Thread Starter Boris

    (@ispacecrusader)

    Hi @bogdanrapaic ,
    I’ve supplied the hosting party with the response code and had them double check. They insist they do not make any use of Cloudlfare. Also, the IP addresses I gave them (which are 2 IP addresses used by the server from where I run the MainWP management dashboard) do not show up in their firewall at all.
    I’ve just updated the MainWP dashboard plugin on the management server, and now I am able to connect. I’m not 100% sure that was it, as I didn’t try connecting again before updating the plugin.
    But in any event, the problem seems to be solved. Thanks for your help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Unable to connect child to Site manager: MainWP Child plugin not detected or cou’ is closed to new replies.