Next.js Discord

Discord Forum

Build fails because of next/font timeout

Unanswered
Nile Crocodile posted this in #help-forum
Open in Discord
Nile CrocodileOP
   Creating an optimized production build ...
FetchError: request to https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZthiJ-Ek-_EeAmM.woff2 failed, reason: 
    at ClientRequest.<anonymous> (/home/runner/work/portal/portal/frontend/one4dmd-landing/node_modules/next/dist/compiled/node-fetch/index.js:1:65756)
    at ClientRequest.emit (node:events:514:28)
    at ClientRequest.emit (node:domain:488:12)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at TLSSocket.emit (node:domain:488:12)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}


happens randomly, rerunning the build process fixes it mostly

1 Reply

Nile CrocodileOP
The issue is happening on Github Actions and all of the fonts fail at the same time