Informations
$ strapi start
[2019-05-28T02:48:33.321Z] debug 鉀旓笍 Server wasn't able to start properly.
[2019-05-28T02:48:33.327Z] error (hook:mongoose) takes too long to load
(hook:mongoose) takes too long to load
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "strapi-hook-mongoose",
"settings": {
"client": "mongo",
"host": "flutter-ecommerce-raatb.mongodb.net",
"port": 27017,
"database": "server",
"username": "AShop",
"password": "rashidul",
"srv": true
},
"options": {
"ssl": true
}
}
}
}
or
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "strapi-hook-mongoose",
"settings": {
"client": "mongo",
"host": "@flutter-ecommerce-raatb.mongodb.net",
"port": 27017,
"database": "server",
"username": "AShop",
"password": "rashidul",
"srv": true
},
"options": {
"ssl": true
}
}
}
}
@Rashidul420222 In the future please give a fairly self explanatory title, please use code blocks, and please follow the bug report template. I have edited your original post.
Hello!
If you database connection is a little bit to long this error message can happen.
You have to update the timeout
value in ./config/hook.json
.
Hello,
I've found it helps to run strapi start then strapi develop
Most helpful comment
Hello!
If you database connection is a little bit to long this error message can happen.
You have to update the
timeout
value in./config/hook.json
.