10up / distributor

Share content between your websites.
https://distributorplugin.com
GNU General Public License v2.0
628 stars 155 forks source link

Issue with Connecting Live Site to Beta Site - Assistance Needed #1154

Closed SeablazeWeb closed 8 months ago

SeablazeWeb commented 9 months ago

Describe your question

I hope this message finds you well. I am currently facing an issue while attempting to establish a connection from our live site to the beta site ).

Here is a summary of the steps I've taken to troubleshoot the problem:

Reconnection Attempt: Tried reconnecting from the live site to the beta site, but encountered no success.

WAF Configuration: Set the Beta site WAF to learning mode to rule out any potential issues. Unfortunately, this did not yield positive results, so I reverted the configuration back.

Wordfence Live Traffic Analysis: Reviewed the Beta site Wordfence Tools > Live traffic to identify potential connection issues. However, no relevant information appeared in the log.

Auto Connection: Attempted to use the auto connection feature again, but consistently received the following error: Error: Distributor not installed on remote site. The external site is private or not a Wordpress site (rest_api_uri_not_found)

Manual Connection: Manually attempted to establish a connection, resulting in the message "No connection found."

I am reaching out for assistance in resolving this matter. Your expertise and guidance in identifying and addressing the root cause of this connectivity issue would be greatly appreciated.

Thank you for your time and support.

Code of Conduct

jeffpaul commented 9 months ago

@SeablazeWeb that sounds like something on the site you're trying to connect to is blocking Distributor's attempt to connect via the REST API.

jeffpaul commented 9 months ago

Check this section of the Known Caveats/Issues in the readme:

Conflicts with Security plugins - Oftentimes the communication Distributor attempts to make across sites using the REST API will be flagged by various security plugins and surreptitiously blocked. If you run into an issue like this, please reach out to the support for your security plugin and ask about getting Distributor unblocked (here is an example for doing so with Wordfence).

SeablazeWeb commented 9 months ago

@jeffpaul

I have deactivated the "wordfence" plugin on both sites and then test it and here is the report.

"Limited connection established" while connecting beta site in the live site. And when we connecting live site on beta site it is showing this error "Distributor not installed on remote site. The external site is private or not a WordPress site. (rest_api_uri_not_found)"

jeffpaul commented 9 months ago

@SeablazeWeb sounds like the host perhaps might have that site behind some sort of firewall (or perhaps its not fully accessible via the public internet)?

github-actions[bot] commented 8 months ago

This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful.