You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering frequent failures when installing rxdb-premium due to a timeout error during the postinstall script execution. This issue results in prolonged installation times (up to 8 minutes in some cases) as we have implemented a retry mechanism to mitigate the problem. Despite this, the fetch often fails, and the process becomes highly inefficient.
Steps to Reproduce:
1. Add rxdb-premium as a dependency in a project.
2. Run npm install in a CI/CD pipeline (e.g., GitLab runner).
3. Observe the intermittent fetch failures during the installation process.
npm ERR! # Download JSON from https:/premium.rxdb.info/access-tokens/xyz.json
npm ERR! node:internal/deps/undici/undici:11457
npm ERR! Error.captureStackTrace(err, this);
npm ERR! ^
npm ERR!
npm ERR! TypeError: fetch failed
npm ERR! at Object.fetch (node:internal/deps/undici/undici:11457:11)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! at async f (/home/gitlab-runner/builds/XuUjxDCd/1/frontoffice_ad/apside/hub360/front/hub360-pwa/node_modules/rxdb-premium/scripts/installer.js:1:2453)
npm ERR! at async u (/home/gitlab-runner/builds/XuUjxDCd/1/frontoffice_ad/apside/hub360/front/hub360-pwa/node_modules/rxdb-premium/scripts/installer.js:1:1182) {
npm ERR! cause: ConnectTimeoutError: Connect Timeout Error
npm ERR! at onConnectTimeout (node:internal/deps/undici/undici:8422:28)
npm ERR! at node:internal/deps/undici/undici:8380:50
npm ERR! at Immediate._onImmediate (node:internal/deps/undici/undici:8411:13)
npm ERR! at process.processImmediate (node:internal/timers:476:21) {
npm ERR! code: 'UND_ERR_CONNECT_TIMEOUT'
npm ERR! }
npm ERR! }
npm ERR!
npm ERR! Node.js v18.16.1
Observations:
• The issue appears to stem from network-related timeouts when fetching JSON from https://premium.rxdb.info/access-tokens/....
• The retries significantly extend the installation time without guaranteeing success.
Can you fix this or provide guidance on how to reduce these fetch failures ?
Thank you !
The text was updated successfully, but these errors were encountered:
We are encountering frequent failures when installing rxdb-premium due to a timeout error during the postinstall script execution. This issue results in prolonged installation times (up to 8 minutes in some cases) as we have implemented a retry mechanism to mitigate the problem. Despite this, the fetch often fails, and the process becomes highly inefficient.
Environment:
• Node.js version: v18.16.1
• RxDB Premium version: 15.39.0
• System: GitLab CI/CD runner
Steps to Reproduce:
1. Add rxdb-premium as a dependency in a project.
2. Run npm install in a CI/CD pipeline (e.g., GitLab runner).
3. Observe the intermittent fetch failures during the installation process.
Observations:
• The issue appears to stem from network-related timeouts when fetching JSON from https://premium.rxdb.info/access-tokens/....
• The retries significantly extend the installation time without guaranteeing success.
Can you fix this or provide guidance on how to reduce these fetch failures ?
Thank you !
The text was updated successfully, but these errors were encountered: