Closed sp-clariondoor closed 2 years ago
@cviebrock it took me forever to figure it out....
in Factory.php
https://github.com/cviebrock/laravel-elasticsearch/blob/626e428497a87bb96d743fa40a25620d24225a4b/src/Factory.php#L109
you added this line inside the AWS
ES block (if host is AWS) . not sure why AWS URL needs a port! but if it's needed you should add a comment for the config file to not add port number inside the config file
to solve the issue with the current code, we should use port=>null
instead of port=>9200
or remove line 109 in the Factory.PHP if it's not needed
@cviebrock, any updates on this?
Quite an impeding problem for a newcomer or someone who accidentally leaves the port included in the config.
Added the comments in 8.0.6
I recently updated our laravel application to php8.0 and
cviebrock/laravel-elasticsearch
complained about it and updated the following packages:but I got the error as :
and after more digging into the code, I found this function doesn't return any response and end up with a timeout
any idea how I can fix this issue?
Thanks