The request to ForestAdmin server has timeout

Feature(s) impacted

everything, all requests fail

Observed behavior

this week, every day there have been some short periods during which our forestadmin frontend says it cannot reach our data, and our team cannot do anything anymore. it usually solves itself after a few minutes, sometimes a few tens of minutes, and it’s been happening at least once during our working hours every day.

Expected behavior

Failure Logs

“stack”: “Error: The request to ForestAdmin server has timeout\n at ServerUtils.query (/app/node_modules/@forestadmin/forestadmin-client/dist/utils/server.js:21:23)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async UserPermissionService.getUserInfo (/app/node_modules/@forestadmin/forestadmin-client/dist/permissions/user-permission.js:28:17)\n at async PermissionServiceWithCache.getRoleIdForUserId (/app/node_modules/@forestadmin/forestadmin-client/dist/permissions/permission-with-cache.js:67:17)\n at async PermissionServiceWithCache.canOnCollection (/app/node_modules/@forestadmin/forestadmin-client/dist/permissions/permission-with-cache.js:11:24)”

It seems like your server is not responding when our app is checking for permissions.

Here are some examples of date/times when it happened the last days :
Jul 31 11:34:17
Jul 31 11:23:14
Jul 31 11:03:43
Jul 30 12:09:47
Jul 30 11:55:51
Jul 29 11:30:27
Jul 28 18:03:56
Jul 28 11:41:20

Context

  • Project name: ma-domiciliation
  • Team name: all
  • Environment name: Production
  • Database type: postgres
  • Recent changes made on your end if any: none related

And, if you are self-hosting your agent:

  • Agent technology: nodejs
  • Agent (forest package) name & version (from your .lock file): “forest-express-sequelize”: “~9.3.10”,

Hi @Cedric1 ,

The error you are mentioning is caused by your agent not able to connect with the server, but we don’t see any downtime on our server monitoring on the same periods of time. Some other users are facing the same issue, our investigations lead us to our hosting provider. We are in a process to migrate to another one, but this might take a few months.
I understand that my answer is not fully satisfying, but it’s the best we can do for now, and we are actively working to solve the issue for good.

Kind regards

E.P