-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External Connection #689
Comments
@j0HnC0untry assuming you're set up on a multisite, you do not need to create External Connections. Distributor will automatically detect sites within a network setup. |
Jeff. it is not a multi site so that is why I setup the external connection |
@j0HnC0untry can you provide more details on your WordPress and Distributor setup, perhaps via your Site Health Info export so I can better triage? |
This is on the site that I am pushing content from |
` wp-coreversion: 5.6 wp-paths-sizeswordpress_path: /home/oeg64cbos841/test2.com wp-active-themename: Astra Child (astra-child) wp-parent-themename: Astra (astra) wp-mu-plugins (1)installatron_hide_status_test.php: author: (undefined), version: (undefined) wp-plugins-active (15)Advanced TinyMCE Configuration: version: 1.6, author: Andrew Ozz wp-plugins-inactive (2)Print-O-Matic: version: 1.7.13, author: twinpictures wp-mediaimage_editor: WP_Image_Editor_Imagick wp-serverserver_architecture: Linux 2.6.32-954.3.5.lve1.4.64.el6.x86_64 x86_64 wp-databaseextension: mysqli wp-constantsWP_HOME: undefined wp-filesystemwordpress: writable distributor0: 1.6.1
` |
@j0HnC0untry when setting up the External Connection, did you follow the auth wizard or manually create the connections? |
I set it up manually following the sites directions |
@j0HnC0untry are the instructions you followed these from the plugin readme.md file? https://github.com/10up/distributor/#setup-external-connections-using-application-passwords If so, did you run into errors at any point in those steps? Also, you might give the auth wizard a shot as it should automate much of those manual steps and hopefully setup the External Connections properly for you. |
Yes those are the instructions. Where in the app is the Auth Wizard. I didn't see it |
@j0HnC0untry from the |
Sorry. Yes I did use this to set it up |
@j0HnC0untry and you're saying you completed that approval flow and are not seeing a valid, complete External Connection? Or was there an error somewhere in the final auth wizard approval steps? |
I tried it again and it locks on the Authorize Application screen after I click on the "Yes, I approve of this connection". The button is grayed out and nothing happens after that |
@j0HnC0untry can you please check and see if there are any console errors in your browser on that page? |
I get this message in the console JQMIGRATE: Migrate is installed, version 3.3.2 |
I tried the wizard and got this error Unable to connect to site. |
The error is NOT showing up anymore and I think godaddy tech support fixed the issue. On the Authorize Application page where there is a button that says "Yes, I approve of this connection" the button is grayed out when I click it but nothing happens afterwards. The web address also redirects to the page that I am trying to connect. Below is the address string and there is a failure message on it I am running php 7.2 and I have upped all the memory, processing time etc |
@j0HnC0untry was there something GoDaddy changed on the server side of things? Have they shared any details that can help us identify if there's an issue with a specific environment setup or something we can share with others in the community that have similar problems? |
Godaddy increase all the server limits is all they did. I ran the setup wizard with them on the phone and they did not see any server errors. Beyond that because it is a third party plugin they said there was nothing else they could do. Any help on setting this up would be appreciated. I have spend about 8 hours researching and testing this and almost ready to give up and try to find another plugin |
@j0HnC0untry you noted that there was a failure message on the page you get redirected to from the "Yes, I approve of this connection". Can you share what that message was? |
The error message was before the Yes I approve this connection page was fixed by godaddy But the message is below Unable to connect to site. |
@j0HnC0untry ok if that error message isn't occurring for you any more, then where in the set up flow are you running into errors/issues? |
When I click on the "Yes, I approve of this connection" the site is redirected to site 2 that I am connecting with and stalls. The above button is grayed out but nothing happens. In the address browser this is what shows up |
Is there a solution or should I look for another plugin? |
I also faced the same issue with two of my external sites due to that "grayed out- Yes, I approve of this connection) button. and found that this issue is due to WordPress 5.6, when i downgraded/rollbacked my WordPress to 5.5.3 it make connection working to two external sites. regards |
@anilpainuly121 Thank you! Does this mean you are not able to upgrade your version of Wordpress? @jeffpaul Is there going to be a fix for this? |
@j0HnC0untry Yep, for a while until there is no solutions, it is working upto wordpress 5.5.3 last stable release |
@jeffpaul is this correct? There is no fix for this for the current version of WP? Are you guys working on a update? |
@j0HnC0untry @anilpainuly121 Thanks both for the feedback here. I was able to reproduce this issue using Distributor v1.6.1 and WordPress v5.6, though no issue exists in WordPress v5.5.3. The issue I'm seeing is when using the connection wizard, I'm properly taken to the remote site but when clicking the approve button, that button becomes grayed out and nothing happens after (this is due to a JS error). For some background, Distributor has always recommended the use of the Application Passwords plugin to handle authentication. Since v1.6.0, that plugin has been bundled with Distributor in an attempt to simplify external connection setup. But in WordPress v5.6, they brought that plugin into core, which can cause conflicts with the version Distributor loads. We've been working on a fix for this (see #676, #681 and #682). Those first two have been merged into the We'll work on getting these fixes into a release but in the mean time, you should still be able to set up external connections using the manual setup process. If you go to the Add New External Connection screen (URL should be something like This will then give you all the fields you can manually fill out to get the connection going. You'll need to go to your external site, go to your profile and then add a new Application Password. Then take that password and enter it into the manual connection screen, along with your username and the URL of that external site. |
@dkotter I will test this later on today and update here on status. Thank you for your reply to this thread. I appreciate it! |
@j0HnC0untry @anilpainuly121 we pushed our version 1.6.2 yesterday, please see if that helps resolve your issues... thanks! |
@jeffpaul OMG this is so exciting! It worked and I tested a pull and everything seems to be working perfectly on first glance. I will run some more tests next week. Thank you for such timely response! |
@jeffpaul Thanks for the update! It is now working again as before. :-) |
Marking this as closed, but feel free to re-open add comments if you run into related issues and we'll triage as best we can... thanks! |
This is working now with Wordpress 5.6, updated my sites to WP 5.6.. |
I have 2 different subdomains (site1: learning.sitename.com and site 2: employee.sitename.com) that I am trying to connect.
External connections on both sites use /wp-json
U/P is the primary admin in profile page
User is admin on both sites
I am getting the following message
External Connection URL
http://learning.sitename.com/wp-json
Limited connection established.
Authentication failed due to invalid credentials.
Push distribution unavailable.
Pull distribution limited to basic content, i.e. title and content body.
I have reviewed all the posts about how to fix this issue and can not figure out a solution.
Can someone provide me some guidance please
The text was updated successfully, but these errors were encountered: