Skip to content
New issue

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

$es_client->index($params) Response nginx 405 #1371

Open
Joycezhangw opened this issue Oct 8, 2023 · 1 comment
Open

$es_client->index($params) Response nginx 405 #1371

Joycezhangw opened this issue Oct 8, 2023 · 1 comment

Comments

@Joycezhangw
Copy link

Summary of problem or feature request

`
405 Not Allowed:

<title>405 Not Allowed</title>

405 Not Allowed


nginx

`

Code snippet of problem

/www/wwwroot/xxxxxx/vendor/elasticsearch/elasticsearch/src/Response/Elasticsearch.php line 65

System details

  • Operating System
  • PHP Version 7.4
  • ES-PHP client version ^8.10
  • Elasticsearch version ^8.10
@Joycezhangw Joycezhangw changed the title Response nginx 405 $es_client->index($params) Response nginx 405 Oct 9, 2023
@ezimuel
Copy link
Contributor

ezimuel commented Nov 3, 2023

@Joycezhangw sorry for my late reply. Can you copy & paste the code that you are using for the index() API? Moreover, are you using a local installation of Elasticsearch or Elastic Cloud? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants