We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Env
AWS_ACCESS_KEY_ID=**** AWS_SECRET_ACCESS_KEY=**** AWS_REGION=eu-central-1 AWS_ELASTICSEARCH_ENABLED=true ELASTICSEARCH_HOST=https://vpc-test-****.eu-central-1.es.amazonaws.com ELASTICSEARCH_PORT=9200 ELASTICSEARCH_SCHEME=https ELASTICSEARCH_USER= ELASTICSEARCH_PASS=
Usage
$data = [ 'body' => [ ], 'index' => 'products', 'type' => '_search', ]; $return = Elasticsearch::index($data);
Response
"exception" => GuzzleHttp\Exception\RequestException {#325 ▼ -request: GuzzleHttp\Psr7\Request {#322 ▶} -response: null -handlerContext: array:30 [▼ "errno" => 60 "error" => "" "appconnect_time" => 0.0 "url" => "https://vpc-test-****.eu-central-1.es.amazonaws.com/products/_search" ....
"url" => "https://vpc-test-****.eu-central-1.es.amazonaws.com/products/_search" As it can be understood from the error output, the port is not exist
"url" => "https://vpc-test-****.eu-central-1.es.amazonaws.com/products/_search"
current Factory.php
$psr7Request = new \GuzzleHttp\Psr7\Request( $request['http_method'], (new \GuzzleHttp\Psr7\Uri($request['uri'])) ->withScheme($request['scheme']) ->withHost($request['headers']['Host'][0]), $request['headers'], $request['body'] );
Fix Factory.php
$psr7Request = new \GuzzleHttp\Psr7\Request( $request['http_method'], (new \GuzzleHttp\Psr7\Uri($request['uri'])) ->withScheme($request['scheme']) ->withPort($host['port']) ->withHost($request['headers']['Host'][0]), $request['headers'], $request['body'] );
Fxied Response
"exception" => GuzzleHttp\Exception\RequestException {#325 ▼ -request: GuzzleHttp\Psr7\Request {#322 ▶} -response: null -handlerContext: array:30 [▼ "errno" => 60 "error" => "" "appconnect_time" => 0.0 "url" => "https://vpc-test-****.eu-central-1.es.amazonaws.com:9200/products/_search" ....
have you ever seen this problem? How can fix it?
The text was updated successfully, but these errors were encountered:
Sorry for the delay.
I've not encountered this issue before. Could you make a PR to add this fix, and I'll merge it in?
Sorry, something went wrong.
Fixed by #105
No branches or pull requests
Env
Usage
Response
"url" => "https://vpc-test-****.eu-central-1.es.amazonaws.com/products/_search"
As it can be understood from the error output, the port is not exist
current Factory.php
Fix Factory.php
Fxied Response
have you ever seen this problem? How can fix it?
The text was updated successfully, but these errors were encountered: