-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Describe the bug
While initializing the feature flags using the unleash-client in our Node.js application, we occasionally encounter a FetchError: network timeout. The timeout error happens when attempting to register with the unleash server as shown by this URL: https://gitlab.com/api/v4/feature_flags/unleash/<PROJECT_ID>/client/register
This error disrupts the normal initialization flow of our application's feature flag mechanism.
This error is thrown occasionally but not always. An investigation into possible networking issues, unleash server load or other possible causes would greatly help us to resolve the issue.
Steps to reproduce the bug
No response
Expected behavior
The expected behavior is that unleash-client should successfully register with the unleash server and initialize without throwing any network timeout errors.
Logs, error output, etc.
FetchError: network timeout at: https://gitlab.com/api/v4/feature_flags/unleash/<PROJECT_ID>/client/register
at Timeout.<anonymous> (/app/node_modules/minipass-fetch/lib/index.js:108:18)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7) {
code: 'FETCH_ERROR',
errno: 'FETCH_ERROR',
type: 'request-timeout'
}Screenshots
No response
Additional context
No response
Unleash version
4.1.0
Subscription type
None
Hosting type
None
SDK information (language and version)
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status