Meilisearch plugin results in error 405
See original GitHub issueBug report
Installing the latest version of the medusa-plugin-meilisearch, and the latest version of Meilisearch, results in both platforms reporting Method not allowed.
Describe the bug
Medusa reports:
⠙ Initializing pluginsError [MeiliSearchCommunicationError]: Method Not Allowed
at /Users/pzehle/Sites/Repos/sellsly/sellsly-shop/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:181:21
at step (/Users/pzehle/Sites/Repos/sellsly/sellsly-shop/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:81:27)
at Object.throw (/Users/pzehle/Sites/Repos/sellsly/sellsly-shop/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:62:57)
at rejected (/Users/pzehle/Sites/Repos/sellsly/sellsly-shop/node_modules/meilisearch/dist/bundles/meilisearch.umd.js:53:69)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
type: 'MeiliSearchCommunicationError',
errno: undefined,
code: undefined
}
Meilisearch reports:
[2022-08-29T01:22:48Z INFO actix_web::middleware::logger] 127.0.0.1 "POST /indexes/products/settings HTTP/1.1" 405 0 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" 0.000341
System information
Medusa version (including plugins): ^1.3.5 Medusa plugin meilisearch: 0.2.5 Node.js version: 16.14.2 Database: Postgres 14 Operating system: MacOS
Steps to reproduce the behavior
- Install medusa as per the documentation.
- Install meilisearch.
- Restart medusa.
- Check both errors.
Expected behavior
Medusa should be able to send the indexes and Meilisearch should be able to receive them. Both platforms should work as expected.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
POST requests error to 405 · Issue #2619 · meilisearch ...
Describe the bug every POST request sent to meilisearch errors out to 405 To Reproduce Steps to reproduce the behavior: Install and run ......
Read more >Settings | Meilisearch Documentation v0.30
Settings. The /settings route allows you to customize search settings for the given index. You can either modify all of an index's settings...
Read more >Why your Website is giving an HTTP 405 Method Not Allowed ...
When a response has the status code 405, the client attempted to access a resource using an HTTP method that is not permitted...
Read more >How to Fix the 405 Method Not Allowed Error in WordPress
The 405 error can be difficult to deal with due to a lack of information. Here's how to troubleshoot the error if you're...
Read more >Strapi register method not allowed 405 in v4 seems url is ...
When I look in the Strapi admin in the User roles and permissions, I see in the box where the register options is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Updated
meilisearchdependency in #2140. Will be part of next release 👍Also encountered this error. Tried on 2 different computers, on a pure VPS. Tried to distribute search and medusa to different servers. Nothing helps. And its working with Meilisearch v 0.27.1, and with the last 28.1 problems.