meilisearch-php: 502 Bad Gateway

Description I have meilisearch/meilisearch-php ^0.22.0

When I run the following command in the terminal: php artisan scout:import "App\Models\Place"

I get 502 Bad Gateway: image

It was working, but suddenly this error started to show…

Here’s how my model looks like: image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

Great! But it didn’t resolve the issue about the first one and why it finally stop working. My best guess is that you try to add too much data for the size of your instance we know that 1GB of RAM is ok for a maximum of 100Mb of dataset. Maybe you should try to increase the size of your machine on DigitalOcean. I will close this issue because it’s not related to the PHP SDK. But if you had any trouble you can ask on your meilisearch-slack-community

It works with a new instance 😄

Don’t hesitate to tell me if you find anything

Yes, I used the one that’s provided in the Digital Ocean’s marketplace: image

What exactly do you mean by “Can I ask how did you declare the client? And if you can access the client’s method.”?

Would appreciate your help @alallema 🤗