Comments (7)
Aiiiiiii, it worked - with port :443
. So happy! Thank you @matchish - it was the host indeed!!
from laravel-scout-elasticsearch.
It's not the package issue. Stack overflow is the preferred and recommended way to ask support questions https://stackoverflow.com/questions/tagged/laravel-scout%20laravel%20elasticsearch
Feel free to add link to stackoverflow question to this issue
from laravel-scout-elasticsearch.
@bluelupin Were you able to resolve your issue? I am getting the same error.
I can ping AWS' elasticsearch endpoint in the browser and get a response for the cluster, but it doesn't work when added as the ELASTICSEARCH_HOST
.
I did some dumps inside the Elasticsearch\Connections\Connection:performRequest()
method and I see I'm getting an Failed to connect to _endpoint_ port 9200: Timed out
from laravel-scout-elasticsearch.
@denitsa-cm Often is a wrong host issue.
Like this https://stackoverflow.com/questions/56825683/why-am-i-getting-no-alive-nodes-found-in-your-cluster-using-laravel-and-docker/56847295?noredirect=1#comment108176650_56847295
from laravel-scout-elasticsearch.
@matchish Thanks for the link. There is no doubt I'm doing something wrong, but not sure it's the host :D
I'm taking the endpoint from AWS' elasticsearch domain, and setting it as ELASTICSEARCH_HOST
. I tried setting it with a slash in the end, without a slash, with port :9200
and :80
(clearing config cache inbetweeen), but no luck.
Hitting the endpoint in the browser gives me this. (my ip is whitelisted in the policy)
I'll read a bit more and put this on stackoverflow.
from laravel-scout-elasticsearch.
You have to try to reach the endpoint from the same machine (container) where is your laravel application not browser.
from laravel-scout-elasticsearch.
I'm running the app with valet, so I thought I should just be able to reach it.
P.S. I can also curl it locally.
from laravel-scout-elasticsearch.
Related Issues (20)
- [Feature] Change app namespace call in commands HOT 2
- [BUG] Call to a member function toCodeString() on null HOT 5
- [BUG] Bulk update error when saving with boolean HOT 1
- [BUG] NoNodeAvailableException: No alive nodes. All the 1 nodes seem to be down HOT 3
- [BUG] The attribute [routing] either does not exist or was not retrieved for model [App\Models\Track]. HOT 5
- [BUG] Possibly unexpected behaviour, when using additional callback in `search` HOT 3
- [Feature] Utilize custom "options" of a builder HOT 2
- configure stopwords HOT 1
- "current.health":"RED","message":"Cluster health status changed from [YELLOW] to [RED] HOT 1
- [BUG] ProgressBar updates are posted to stderr HOT 1
- [BUG] Class Elasticsearch\Client not found HOT 3
- [Feature] Add possibility to use RangeQuery and other terms instances as value for $scoutQuery->where() HOT 2
- php artisan scout:import error? Cannot use Encore\Admin\Form as Form because the name is already in use on line 21 HOT 10
- [Feature] Use SearchableScope instead PageScope HOT 4
- PHP 8.3 support HOT 2
- is there any way to revert to the previous index state before reindexing ? HOT 3
- Elastic has prefix restrictions on reads HOT 1
- How to use the latest version of this package with Elasticsearch 7? HOT 3
- PHP-Parser not in direct dependencies, PHP-Parser > 5.0 is incompatible HOT 1
- Why Can't I update the mapping with Laravel Scout?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-scout-elasticsearch.