10up / distributor

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

Issue on adding a External Connection #1173

Closed michaelasg closed 7 months ago

michaelasg commented 8 months ago

Remote site is on Hostinger Webhosting

When I try to add New External Connection on the origin Site I get this:

Distributor not installed on remote site. cURL error 56: Recv failure: Connection reset by peer (http_request_failed)

Needless to say the plug is installed and there is no obvious way why this request is somehow blocked. rest API is up, WP JSON is up

Any ideas?

jeffpaul commented 8 months ago

@michaelasg is there a security plugin active on the remote site? Does Hostinger have some sort of firewall or other access restriction that's blocking access to the REST API? If you try yourdomain.com/wp-json/ on the remote site while not logged in there, do you see anything? Can you provide a Site Health Info export from both of the sites to better help triage?

michaelasg commented 8 months ago

I kinda figured it out, it wasn't Hostinger. It's something blocking on the origin WP site. Rest API is open on Origin, I don't see anything regarding problematic plugins. In the hosting panel (iBrave hosting for the origin) there is nothing that catches my eye What could it be? I should probably talk to their support. What ports should be open?

I tried between two WPs on Hostinger and it worked well, no issues. Now I need to figure out the iBrave site.... something is blocking it to reach the outside WPs

github-actions[bot] commented 7 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.