No enabled connection on Cloudways

  • andreirebe
    Participant
    4 years, 10 months ago #12288

    Hi am am getting No enabled connection on Cloudways.

    View post on imgur.com

    I talked with the support and they told me it’s an plugin related problem.

    Did anyone got this error? How can I fix it?

    wpsolr
    Keymaster
    4 years, 10 months ago #12289

    Can I see your index settings in your WPSOLR admin?

    andreirebe
    Participant
    4 years, 10 months ago #12290
    wpsolr
    Keymaster
    4 years, 10 months ago #12291

    It looks fine.

    When do you get your error?

    andreirebe
    Participant
    4 years, 10 months ago #12292

    I get it from time to time. The website is loading very slowly (in 10 or more seconds) and and then it appears this errors on every product category page.

    wpsolr
    Keymaster
    4 years, 10 months ago #12295

    It should work fine.
    wpsolr.com is on Cloudways, with our plugin configured to use the local Elasticsearch service.

    Try to restart your Elasticsearch service in your Cloudways server console “Manage services”.

    andreirebe
    Participant
    4 years, 10 months ago #12296

    The moment I hit restart I got the same error. Is the server Elasticpress autorestarting maybe?

    andreirebe
    Participant
    4 years, 10 months ago #12297

    And exactly after I wrote the post above the error reappeared.

    wpsolr
    Keymaster
    4 years, 10 months ago #12298

    Try to connect to the index locally.

    1) ssh to the server (instruction are in the Cloudways panel, see https://support.cloudways.com/difference-between-master-credentials-and-application-credentials/#tab-2)
    2) execute the command line
    curl -XGET "https://localhost:9200/"

    you should get something like

    {
      "name" : "Iw0mu0h",
      "cluster_name" : "elasticsearch",
      "cluster_uuid" : "jcF4CSf3RXqb8Sv_ArZ5Jg",
      "version" : {
        "number" : "6.3.1",
        "build_flavor" : "default",
        "build_type" : "deb",
        "build_hash" : "eb782d0",
        "build_date" : "2018-06-29T21:59:26.107521Z",
        "build_snapshot" : false,
        "lucene_version" : "7.3.1",
        "minimum_wire_compatibility_version" : "5.6.0",
        "minimum_index_compatibility_version" : "5.0.0"
      },
      "tagline" : "You Know, for Search"
    }

    If not, contact the Cloudways support with this information.

    Perhaps also your server is too small to cope with both WordPress and Elasticsearch.

    andreirebe
    Participant
    4 years, 10 months ago #12299

    Ok, I did this and I get the same message.

    wpsolr
    Keymaster
    4 years, 10 months ago #12300

    Your Elasticsearch service has an issue apparently.

    andreirebe
    Participant
    4 years, 10 months ago #12301

    M. Muneeb 14:57
    we have check the logs and it seems that the issue is coming from the plugins
    plugins=wpsolr-pro/

    Andreirebe 14:57
    can you please give me some info regarding this to send to the support of WPSOLR?

    M. Muneeb 14:58

    This is the main message that WPSOLR : Couldn’t connect to host

    This is what I got from Cloudways support.

    andreirebe
    Participant
    4 years, 10 months ago #12302

    It did not let me to post the error above. Here they are:

    https://justpaste.it/2b6qb

    wpsolr
    Keymaster
    4 years, 10 months ago #12303

    Send to the support the result of curl -XGET "https://localhost:9200/"

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.