Skip to content
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

Improve warning messages when a remote connection cannot be established #45

Open
jakemgold opened this issue Dec 10, 2017 · 2 comments
Open
Labels
help wanted type:enhancement New feature or request.
Milestone

Comments

@jakemgold
Copy link
Member

Setting up remote connections is causing some confusion with early testers; I think our warning messages might be a bit too vague.

Can we be a bit more specific in catching and explaining common failure use cases? Like the REST API not being available, not finding a secure connection (even linking to a recommended auth plugin), Distributor not being detected on the other end... ?

@jakemgold jakemgold added the type:question Further information is requested. label Dec 10, 2017
@tlovett1 tlovett1 added type:enhancement New feature or request. and removed type:question Further information is requested. labels Jul 28, 2018
@helen helen added this to the 1.4 milestone Nov 13, 2018
@jeffpaul jeffpaul modified the milestones: 2.0.0, 1.5.0 Mar 15, 2019
@helen helen modified the milestones: 1.5.0, 1.6.0 Jul 17, 2019
@helen
Copy link
Contributor

helen commented Jul 17, 2019

I'm gonna connect this with #368, moving to 1.6.

@peterwilsoncc
Copy link
Collaborator

peterwilsoncc commented Sep 13, 2022

To get some recent notes on testing external connections:

Automatic setup

These seem pretty good. Somewhat geek oriented with the curl error IDs but I don't this that's entirely a bad thing.

  • DNS error
    Unable to connect to site.
    cURL error 28: Connection timed out after 5001 milliseconds (http_request_failed)
  • Not WordPress
    Unable to connect to site. The external site is private or not a WordPress site. (rest_api_uri_not_found)
  • Distributor not installed
    Distributor not installed on remote site.
  • REST API Requires Authentication -- error message is inaccurate
    Distributor not installed on remote site.
  • HTTPS certificate error (self signed in testing)
    Unable to connect to site.
    cURL error 60: SSL certificate problem: self-signed certificate (http_request_failed)

Manual setup

These could still do with some work but I suspect they're not seen very frequently as manual set up is behind an additional link.

  • DNS error
    No connection found.
  • Not WordPress
    No connection found.
  • Distributor not installed
    Limited connection established. Distributor not installed on remote site.
    -Push distribution unavailable.
    -Pull distribution limited to basic content, i.e. title and content body.
  • REST API Requires Authentication -- no auth
    As above, limited connection
  • HTTPS certificate error (self signed in testing)
    No connection found.

@jeffpaul jeffpaul modified the milestones: 2.0.0, 2.1.0 Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted type:enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

6 participants