blomstra / flarum-ext-search

MIT License
11 stars 7 forks source link

Indexing First Time Returns Error With Elasticseach Cloud #11

Open cybereality opened 1 year ago

cybereality commented 1 year ago

If I run this: php flarum blomstra:search:index or this php flarum blomstra:search:index --recreate it loads for about 5 minutes, then returns a PHP error message:

In StaticNoPingConnectionPool.php line 64: No alive nodes found in your cluster

I am using the Elasticsearch cloud with the elastic user and correct password.

I also whitelisted the IP of my Flarum server in the Elasticsearch admin page.

Any idea why this doesn't work?

luceos commented 1 year ago

Your settings might be wrong. What settings (without password) did you use?

cybereality commented 1 year ago

Endpoint https://4ebcd6e64a3a4020b4713217c94f676c.us-central1.gcp.cloud.es.io

Username elastic

Index search-gforums

Language english

Seach Titles On Search Comments On