Request timeout make the API slow

System Information
  • Strapi Version: v3.3.4
  • Operating System:
  • Database: pg
  • Node Version: v14.16.0
  • NPM Version:
  • Yarn Version:

Hi, I have deployed my API on heroku but sometime I have some errors

Do you know where it can come from ?

Hey @squirelle :wave: ,

Do you use the free dyno?
Then this probably applies:

Your dyno goes to sleep and needs some time to wake up.

No I use a paid dyne

thanks for your anwser

When I update my heroku database I have 2 attachement

Do you think it can be link

You should check the server logs, maybe this gives an idea.

I see this error

sql_error_code = 42622 NOTICE: identifier “brand_categories_brand_categories_names__drops_brand_categories_1” will be truncated to “brand_categories_brand_categories_names__drops_brand_categories”