HUGE BUG ON NETLIFY x NEXTJS: SSR randomly leads to TOO_MANY_REDIRECTS on some pages

Some of the SSR pages (we have a collection of 4000 items, each one has its page) resolve in TOO_MANY_REDIRECTS error. Usually, this is a problem that is solved on our side. However, here is what makes me think it is a Netlify problem:

  • The code is the same for all items, and on each deploy only 1/50 is affected by this TOO_MANY_REDIRECTS
  • We have inspected our codebase from top to bottom and we have no manual redirection
  • The problematic items CHANGE without any criteria at EACH REDEPLOY, even when the codebase is not changed.

On SSR pages, if we modify the generation factor (for example, in our database, the name of the item) like

mobula.fi/asset/name

As I told you, sometimes, 1/20 approximately, the TOO_MANY_REDIRECTS error will pop up.

However, if in our DB, we rename β€œName”, to β€œNamx” for example, the path

mobula.fi/asset/namx

Will be fully functional, while - tricky thing - the path mobula.fi/asset/name remains with TOO_MANY_REDIRECTS - while it should now give a Error 500, as the β€œName” doesn’t exist in the DB anymore, like mobula.fi/asset/randomstuff if you check. So pretty sure it’s bound to caching SSR somehow. Hope it helps - by the way, this 100% confirms the issue is on Netlify’s side.

I am having the same issue and was not able to see why this happens. What I noticed though, it is only if I go directly to the SSR (ISR in my case) pages for example from a search result in google and not when linking between the pages in the site.

This is affecting the users from google hard, and not sure how to fix it.

What I tried to do:

  • move from www. to the naked domain.
  • enable trailing slashes in next.

Did it work?

I have no reply from Netlify support for +3 days, while we have 150,000 monthly visitors, on a paid plan. We will move to Vercel if we have nothing fixed by the end of the week.

No, unfortunately it did not. Since I have quite a simple deployment, I picked it up and moved to Vercel this afternoon. Not going to let that much time go over it and potentially lose my Google indexing value.

Hey there. folks :wave:

Thanks so much for your patience here! Can you please share your site name (@NBMSacha I see yours in your first post), your most recent deploy log, as well as your project repo? I will take this to the Support Engineers to look into further.

Hey! Thanks for your reply.

Website: mobula.fi (name Mobula or mobula-app)
Most recent deploy log:

10:52:44 PM: Build ready to start
10:52:52 PM: build-image version: d7b3813f01c06610bc1723ff1b22446513ee7941 (focal)
10:52:52 PM: build-image tag: v4.14.3
10:52:52 PM: buildbot version: d1344b6a6069b5a9790b0bc2308fa2d5761aa3e0
10:52:52 PM: Fetching cached dependencies
10:52:52 PM: Starting to download cache of 2.0GB
10:53:10 PM: Finished downloading cache in 18.681567735s
10:53:10 PM: Starting to extract cache
10:53:29 PM: Finished extracting cache in 18.489029158s
10:53:29 PM: Finished fetching cache in 37.340067821s
10:53:29 PM: Starting to prepare the repo for build
10:53:29 PM: Preparing Git Reference refs/heads/main
10:53:30 PM: Parsing package.json dependencies
10:53:31 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: '.next' versus 'out' in the Netlify UI
10:53:31 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'npm run build' versus 'npm run build && npm run export' in the Netlify UI
10:53:31 PM: Starting build script
10:53:31 PM: Installing dependencies
10:53:31 PM: Python version set to 2.7
10:53:31 PM: Started restoring cached node version
10:53:33 PM: Finished restoring cached node version
10:53:33 PM: Attempting node version '16' from .nvmrc
10:53:33 PM: v16.18.0 is already installed.
10:53:33 PM: Now using node v16.18.0 (npm v8.19.2)
10:53:33 PM: Enabling node corepack
10:53:33 PM: Started restoring cached build plugins
10:53:33 PM: Finished restoring cached build plugins
10:53:34 PM: Attempting ruby version 2.7.2, read from environment
10:53:34 PM: Using ruby version 2.7.2
10:53:34 PM: Using PHP version 8.0
10:53:34 PM: Started restoring cached yarn cache
10:53:56 PM: Finished restoring cached yarn cache
10:53:56 PM: Installing yarn at version 1.22.10
10:53:56 PM: Preparing yarn@1.22.10 for immediate activation...
10:53:57 PM: No yarn workspaces detected
10:53:57 PM: Started restoring cached node modules
10:53:57 PM: Finished restoring cached node modules
10:53:57 PM: Installing NPM modules using Yarn version 1.22.10
10:53:57 PM: yarn install v1.22.10
10:53:57 PM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
10:53:57 PM: [1/4] Resolving packages...
10:53:58 PM: success Already up-to-date.
10:53:58 PM: Done in 0.72s.
10:53:58 PM: NPM modules installed using Yarn
10:53:58 PM: Started restoring cached go cache
10:53:58 PM: Finished restoring cached go cache
10:53:58 PM: Installing Go version 1.16.5 (requested 1.16.5)
10:54:02 PM: unset GOOS;
10:54:02 PM: unset GOARCH;
10:54:02 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
10:54:02 PM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
10:54:02 PM: go version >&2;
10:54:02 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
10:54:02 PM: go version go1.16.5 linux/amd64
10:54:02 PM: Installing missing commands
10:54:02 PM: Verify run directory
10:54:04 PM: ​
10:54:04 PM: ────────────────────────────────────────────────────────────────
10:54:04 PM:   Netlify Build                                                 
10:54:04 PM: ────────────────────────────────────────────────────────────────
10:54:04 PM: ​
10:54:04 PM: ❯ Version
10:54:04 PM:   @netlify/build 28.1.3
10:54:04 PM: ​
10:54:04 PM: ❯ Flags
10:54:04 PM:   baseRelDir: true
10:54:04 PM:   buildId: 63599e1c18ae062e1c408514
10:54:04 PM:   deployId: 63599e1c18ae062e1c408516
10:54:04 PM: ​
10:54:04 PM: ❯ Current directory
10:54:04 PM:   /opt/build/repo
10:54:04 PM: ​
10:54:04 PM: ❯ Config file
10:54:04 PM:   /opt/build/repo/netlify.toml
10:54:04 PM: ​
10:54:04 PM: ❯ Context
10:54:04 PM:   production
10:54:04 PM: ​
10:54:04 PM: ❯ Using Next.js Runtime - v4.21.1
10:54:04 PM: ​
10:54:04 PM: ❯ Outdated plugins
10:54:04 PM:    - @netlify/plugin-nextjs@4.21.1: latest version is 4.27.3
10:54:04 PM:      Migration guide: https://ntl.fyi/next-plugin-migration
10:54:04 PM:      To upgrade this plugin, please update its version in "package.json"
10:54:05 PM: ​
10:54:05 PM: ────────────────────────────────────────────────────────────────
10:54:05 PM:   1. @netlify/plugin-nextjs (onPreBuild event)                  
10:54:05 PM: ────────────────────────────────────────────────────────────────
10:54:05 PM: ​
10:54:06 PM: Next.js cache restored.
10:54:06 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
10:54:06 PM: ​
10:54:06 PM: (@netlify/plugin-nextjs onPreBuild completed in 760ms)
10:54:06 PM: ​
10:54:06 PM: ────────────────────────────────────────────────────────────────
10:54:06 PM:   2. build.command from netlify.toml                            
10:54:06 PM: ────────────────────────────────────────────────────────────────
10:54:06 PM: ​
10:54:06 PM: $ npm run build
10:54:06 PM: > next-netlify-typescript-starter@0.1.1 build
10:54:06 PM: > next build
10:54:07 PM: warn  - You have enabled experimental feature (images) in next.config.js.
10:54:07 PM: warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
10:54:07 PM: info  - Skipping linting
10:54:54 PM:     from: '/adventure1.png',
10:54:54 PM:     to: '/adventure1.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure2.png',
10:54:54 PM:     to: '/adventure2.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure3.png',
10:54:54 PM:     to: '/adventure3.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure4.png',
10:54:54 PM:     to: '/adventure4.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure5.png',
10:54:54 PM:     to: '/adventure5.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure6.png',
10:54:54 PM:     to: '/adventure6.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure7.png',
10:54:54 PM:     to: '/adventure7.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/adventure8.png',
10:54:54 PM:     to: '/adventure8.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/alarm.png',
10:54:54 PM:     to: '/alarm.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/arbitrum.png',
10:54:54 PM:     to: '/arbitrum.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/aurora.png',
10:54:54 PM:     to: '/aurora.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/avalanche.png',
10:54:54 PM:     to: '/avalanche.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/bcw.png',
10:54:54 PM:     to: '/bcw.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/bg2.png',
10:54:54 PM:     to: '/bg2.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/bg3.png',
10:54:54 PM:     to: '/bg3.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/blog_mobula.jfif',
10:54:54 PM:     to: '/blog_mobula.jfif',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/blog_mobula.png',
10:54:54 PM:     to: '/blog_mobula.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/bnb.png',
10:54:54 PM:     to: '/bnb.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/bobga.png',
10:54:54 PM:     to: '/bobga.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/cardano.png',
10:54:54 PM:     to: '/cardano.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/celo.png',
10:54:54 PM:     to: '/celo.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/closeIcon.png',
10:54:54 PM:     to: '/closeIcon.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/coinbase.png',
10:54:54 PM:     to: '/coinbase.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/contribute.png',
10:54:54 PM:     to: '/contribute.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/cronos.png',
10:54:54 PM:     to: '/cronos.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/cryptarch.png',
10:54:54 PM:     to: '/cryptarch.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/cw.png',
10:54:54 PM:     to: '/cw.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/degem.png',
10:54:54 PM:     to: '/degem.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/dex.png',
10:54:54 PM:     to: '/dex.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/diamond.png',
10:54:54 PM:     to: '/diamond.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/digi.png',
10:54:54 PM:     to: '/digi.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord-404.png',
10:54:54 PM:     to: '/discord-404.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord-logo.png',
10:54:54 PM:     to: '/discord-logo.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord-screen-2.png',
10:54:54 PM:     to: '/discord-screen-2.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord-screen.png',
10:54:54 PM:     to: '/discord-screen.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord.png',
10:54:54 PM:     to: '/discord.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord2.png',
10:54:54 PM:     to: '/discord2.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/discord3.png',
10:54:54 PM:     to: '/discord3.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/earth80white.svg',
10:54:54 PM:     to: '/earth80white.svg',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/ecosystem.png',
10:54:54 PM:     to: '/ecosystem.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/ethereum.png',
10:54:54 PM:     to: '/ethereum.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/evmos.png',
10:54:54 PM:     to: '/evmos.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/eye.png',
10:54:54 PM:     to: '/eye.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/fantom.png',
10:54:54 PM:     to: '/fantom.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/fire.png',
10:54:54 PM:     to: '/fire.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/fullicon-main.png',
10:54:54 PM:     to: '/fullicon-main.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/fullicon.png',
10:54:54 PM:     to: '/fullicon.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/fuse.png',
10:54:54 PM:     to: '/fuse.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/gear.png',
10:54:54 PM:     to: '/gear.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/gempad.png',
10:54:54 PM:     to: '/gempad.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/glow.svg',
10:54:54 PM:     to: '/glow.svg',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/governance.png',
10:54:54 PM:     to: '/governance.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/green.png',
10:54:54 PM:     to: '/green.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/grid.png',
10:54:54 PM:     to: '/grid.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/harmony.png',
10:54:54 PM:     to: '/harmony.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/huobi.png',
10:54:54 PM:     to: '/huobi.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/icon.png',
10:54:54 PM:     to: '/icon.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/im2.svg',
10:54:54 PM:     to: '/im2.svg',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/img.svg',
10:54:54 PM:     to: '/img.svg',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction0.png',
10:54:54 PM:     to: '/introduction0.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction1.png',
10:54:54 PM:     to: '/introduction1.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction2.png',
10:54:54 PM:     to: '/introduction2.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction3.png',
10:54:54 PM:     to: '/introduction3.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction4.png',
10:54:54 PM:     to: '/introduction4.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction5.png',
10:54:54 PM:     to: '/introduction5.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/introduction6.png',
10:54:54 PM:     to: '/introduction6.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/lines.png',
10:54:54 PM:     to: '/lines.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/map.png',
10:54:54 PM:     to: '/map.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/matic.webp',
10:54:54 PM:     to: '/matic.webp',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/metamask.png',
10:54:54 PM:     to: '/metamask.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/meter.png',
10:54:54 PM:     to: '/meter.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/milkomeda.png',
10:54:54 PM:     to: '/milkomeda.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/moonbeam.png',
10:54:54 PM:     to: '/moonbeam.png',
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   {
10:54:54 PM:     from: '/moonriver.png',
10:54:54 PM:     to: '/moonriver.png',
10:55:23 PM: Creating deploy upload records
10:54:54 PM:     conditions: { Cookie: [Array] },
10:54:54 PM:     status: 200
10:54:54 PM:   },
10:54:54 PM:   ... 503 more items
10:54:54 PM: ].
10:54:54 PM: ​
10:54:54 PM: (@netlify/plugin-nextjs onBuild completed in 911ms)
10:54:54 PM: ​
10:54:54 PM: ────────────────────────────────────────────────────────────────
10:54:54 PM:   4. Functions bundling                                         
10:54:54 PM: ────────────────────────────────────────────────────────────────
10:54:54 PM: ​
10:54:54 PM: Packaging Functions from .netlify/functions-internal directory:
10:54:54 PM:  - ___netlify-handler/___netlify-handler.js
10:54:54 PM:  - ___netlify-odb-handler/___netlify-odb-handler.js
10:54:54 PM:  - _ipx/_ipx.js
10:54:54 PM: ​
10:55:21 PM: ​
10:55:21 PM: (Functions bundling completed in 26.8s)
10:55:21 PM: ​
10:55:21 PM: ────────────────────────────────────────────────────────────────
10:55:21 PM:   5. @netlify/plugin-nextjs (onPostBuild event)                 
10:55:21 PM: ────────────────────────────────────────────────────────────────
10:55:21 PM: ​
10:55:22 PM: Next.js cache saved.
10:55:22 PM: ​
10:55:22 PM: (@netlify/plugin-nextjs onPostBuild completed in 508ms)
10:55:22 PM: ​
10:55:22 PM: ────────────────────────────────────────────────────────────────
10:55:22 PM:   6. Deploy site                                                
10:55:22 PM: ────────────────────────────────────────────────────────────────
10:55:22 PM: ​
10:55:22 PM: Starting to deploy site from '.next'
10:55:23 PM: Creating deploy tree asynchronously
10:55:25 PM: 124 new files to upload
10:55:25 PM: 2 new functions to upload
10:55:25 PM: 0% complete
10:55:25 PM: 5% complete
10:55:25 PM: 10% complete
10:55:25 PM: 15% complete
10:55:25 PM: 20% complete
10:55:26 PM: 25% complete
10:55:26 PM: 30% complete
10:55:26 PM: 35% complete
10:55:26 PM: 40% complete
10:55:26 PM: 45% complete
10:55:26 PM: 50% complete
10:55:26 PM: 55% complete
10:55:26 PM: 60% complete
10:55:26 PM: 65% complete
10:55:26 PM: 70% complete
10:55:26 PM: 75% complete
10:55:26 PM: 80% complete
10:55:26 PM: 85% complete
10:55:26 PM: 90% complete
10:55:27 PM: 95% complete
10:55:27 PM: 100% complete
10:55:34 PM: Site deploy was successfully initiated
10:55:34 PM: ​
10:55:34 PM: (Deploy site completed in 12.5s)
10:55:34 PM: ​
10:55:34 PM: ────────────────────────────────────────────────────────────────
10:55:34 PM:   Netlify Build Complete                                        
10:55:34 PM: ────────────────────────────────────────────────────────────────
10:55:34 PM: ​
10:55:34 PM: (Netlify Build completed in 1m 30.7s)
10:55:35 PM: Caching artifacts
10:55:35 PM: Started saving node modules
10:55:35 PM: Finished saving node modules
10:55:35 PM: Starting post processing
10:55:35 PM: Started saving build plugins
10:55:35 PM: Finished saving build plugins
10:55:35 PM: Started saving yarn cache
10:55:35 PM: Post processing - HTML
10:55:39 PM: Post processing - header rules
10:55:39 PM: Post processing - redirect rules
10:55:40 PM: Post processing done
10:55:43 PM: Site is live ✨
10:56:04 PM: Finished saving yarn cache
10:56:04 PM: Started saving pip cache
10:56:04 PM: Finished saving pip cache
10:56:04 PM: Started saving emacs cask dependencies
10:56:04 PM: Finished saving emacs cask dependencies
10:56:04 PM: Started saving maven dependencies
10:56:04 PM: Finished saving maven dependencies
10:56:04 PM: Started saving boot dependencies
10:56:04 PM: Finished saving boot dependencies
10:56:04 PM: Started saving rust rustup cache
10:56:04 PM: Finished saving rust rustup cache
10:56:04 PM: Started saving go dependencies
10:56:04 PM: Finished saving go dependencies
10:56:04 PM: Build script success
10:58:01 PM: Uploading Cache of size 2.0GB
10:58:13 PM: Finished processing build request in 5m21.774856049s

Project repo: https://github.com/MobulaFi/mobula-app => it’s private, but we can give access to someone if needed.

Any update? I think I’ll have to do the same as Hugo very soon.

Hey @NBMSacha,

As mentioned in the helpdesk ticket, we’re unable to reproduce this issue with your site at the moment. I just tried reloading your app multiple times, without a failure. A HAR file would really help us investigate this further.

Furthermore, if you’re open to sharing your repo you could share it with one of our devs: https://github.com/nickytonline or orinokai (Rob Stanford) Β· GitHub

Hey! Adding your devs within the day. For the HAR file, I’m waiting for someone to report a new issue on an asset to record one - I forgot about it last time, sorry. Should get one today also :slight_smile:

Here is the HAR file (joined). Also added Nicky. Good luck :slight_smile:

(Attachment chromewebdata.har is missing)

https://drive.google.com/file/d/1dO7C7DSL246wCwAibW1kOon8aVP8mzZc/view?usp=sharing

Here is the HAR file (joined). Also added Nicky. Good luck :slight_smile:

Thanks @NBMSacha ! We’ve sent the HAR file over to the engineering team, we’ll let you know as soon as we have additional information to share!

No need! We’re migrating to Vercel tomorrow. Over a week with this bug. It’s not possible anymore :wink:

For anyone who returns to this thread, this should be fixed once you re-deploy your site.

1 Like

I’m facing the same issue and re-deploying does not help. This is my build log:


11:54:08 AM: Netlify Build                                                 
11:54:08 AM: ────────────────────────────────────────────────────────────────
11:54:08 AM: ​
11:54:08 AM: ❯ Version
11:54:08 AM:   @netlify/build 29.12.1
11:54:08 AM: ​
11:54:08 AM: ❯ Flags
11:54:08 AM:   baseRelDir: true
11:54:08 AM:   buildId: 6489800b7ab5b90085a397b2
11:54:08 AM:   deployId: 6489800b7ab5b90085a397b4
11:54:08 AM: ​
11:54:08 AM: ❯ Current directory
11:54:08 AM:   /opt/build/repo
11:54:08 AM: ​
11:54:08 AM: ❯ Config file
11:54:08 AM:   /opt/build/repo/netlify.toml
11:54:08 AM: ​
11:54:08 AM: ❯ Context
11:54:08 AM:   production
11:54:08 AM: ​
11:54:08 AM: ❯ Using Next.js Runtime - v4.37.4
11:54:09 AM: ​
11:54:09 AM: @netlify/plugin-nextjs (onPreBuild event)                     
11:54:09 AM: ────────────────────────────────────────────────────────────────
11:54:09 AM: ​
11:54:09 AM: No Next.js cache to restore.
11:54:09 AM: Not running Next Runtime
11:54:09 AM: ​
11:54:09 AM: (@netlify/plugin-nextjs onPreBuild completed in 8ms)
11:54:09 AM: ​
11:54:09 AM: build.command from netlify.toml                               
11:54:09 AM: ────────────────────────────────────────────────────────────────
11:54:09 AM: ​
11:54:09 AM: $ next build
11:54:09 AM: warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
11:54:09 AM: info  - Checking validity of types...
11:54:13 AM: ./pages/_app.js
11:54:13 AM: 66:13  Warning: Custom fonts not added at the document level will only load for a single page. This is discouraged. See: https://nextjs.org/docs/messages/no-page-custom-font  @next/next/no-page-custom-font
11:54:13 AM: ./pages/about.js
11:54:13 AM: 32:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 41:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 82:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 89:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./pages/admin/products/[pid].js
11:54:13 AM: 88:6  Warning: React Hook useEffect has missing dependencies: 'COFFEE_SIZES_DEFAULT' and 'product.quiz'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: ./pages/admin/users/[uid].js
11:54:13 AM: 203:6  Warning: React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: ./pages/api/uploads/vars.js
11:54:13 AM: 8:1  Warning: Assign arrow function to a variable before exporting as module default  import/no-anonymous-default-export
11:54:13 AM: ./pages/faq.js
11:54:13 AM: 24:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./pages/index.js
11:54:13 AM: 38:6  Warning: React Hook useEffect has missing dependencies: 'user?.email', 'user?.first_name', and 'user?.last_name'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 87:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 85:6  Warning: React Hook useEffect has a missing dependency: 'setNotSupported'. Either include it or remove the dependency array. If 'setNotSupported' changes too often, find the parent component that defines it and wrap that definition in useCallback.  react-hooks/exhaustive-deps
11:54:13 AM: ./components/web/Cart/CardDetails.js
11:54:13 AM: 116:6  Warning: React Hook useEffect has a missing dependency: 'cart'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 304:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Cart/CartDisplay.js
11:54:13 AM: 169:6  Warning: React Hook useEffect has missing dependencies: 'promo' and 'setUser'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: ./components/web/Cart/Freight.js
11:54:13 AM: 35:6  Warning: React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: ./components/web/Cart/NoUser.js
11:54:13 AM: 156:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Footer.js
11:54:13 AM: 137:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 140:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: ./components/web/FrontProduct.js
11:54:13 AM: 15:7  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: ./components/web/GoalTracker.js
11:54:13 AM: 39:6  Warning: React Hook useEffect has a missing dependency: 'props.project_id'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 51:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 51:13  Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.  jsx-a11y/alt-text
11:54:13 AM: ./components/web/Nav.js
11:54:13 AM: 47:6  Warning: React Hook useEffect has a missing dependency: 'cart'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 53:11  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 54:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 95:15  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 97:19  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 129:11  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 130:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/ProductAboutContent.js
11:54:13 AM: 130:13  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 130:13  Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.  jsx-a11y/alt-text
11:54:13 AM: ./components/web/ProductDetail.js
11:54:13 AM: 127:6  Warning: React Hook useEffect has a missing dependency: 'cart'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 163:6  Warning: React Hook useEffect has missing dependencies: 'product' and 'user'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: ./components/web/ProfileHeader.js
11:54:13 AM: 18:6  Warning: React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 23:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 35:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 44:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 53:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 62:9  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: 72:11  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: ./components/web/Quiz/Five.js
11:54:13 AM: 19:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 34:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 49:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 64:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 79:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Quiz/Four.js
11:54:13 AM: 19:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 34:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 49:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 64:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 79:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Quiz/One.js
11:54:13 AM: 21:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 21:11  Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.  jsx-a11y/alt-text
11:54:13 AM: ./components/web/Quiz/Recommendation.js
11:54:13 AM: 45:6  Warning: React Hook useEffect has missing dependencies: 'props.recommendation', 'setUser', and 'user'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
11:54:13 AM: 74:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 80:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 86:9  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Quiz/Six.js
11:54:13 AM: 17:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 32:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 47:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 62:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 77:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Quiz/Three.js
11:54:13 AM: 19:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 34:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 49:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 64:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 79:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/Quiz/Two.js
11:54:13 AM: 18:11  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 34:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 50:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 66:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: 82:15  Warning: Do not use <img>. Use Image from 'next/image' instead. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
11:54:13 AM: ./components/web/SubscriptionFront.js
11:54:13 AM: 37:6  Warning: React Hook useEffect has a missing dependency: 'product.sub_prices'. Either include it or remove the dependency array. If 'setLowestPrice' needs the current value of 'product.sub_prices', you can also switch to useReducer instead of useState and read 'product.sub_prices' in the reducer.  react-hooks/exhaustive-deps
11:54:13 AM: 41:7  Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref  @next/next/link-passhref
11:54:13 AM: info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
11:54:13 AM: info  - Creating an optimized production build...
11:54:43 AM: info  - Compiled successfully
11:54:43 AM: info  - Collecting page data...
11:54:51 AM: info  - Generating static pages (0/35)
11:54:52 AM: info  - Generating static pages (8/35)
11:54:52 AM: info  - Generating static pages (17/35)
11:54:52 AM: info  - Generating static pages (26/35)
11:54:52 AM: info  - Generating static pages (35/35)
11:54:52 AM: info  - Finalizing page optimization...
11:54:52 AM: Page                                       Size     First Load JS
11:54:52 AM: β”Œ β—‹ / (305 ms)                             1.87 kB         251 kB
11:54:52 AM: β”œ   β”” css/0f56ae046c9e11a3.css             1.86 kB
11:54:52 AM: β”œ   /_app                                  0 B             199 kB
11:54:52 AM: β”œ β—‹ /404                                   194 B           199 kB
11:54:52 AM: β”œ β—‹ /about                                 2.73 kB         202 kB
11:54:52 AM: β”œ   β”” css/48aa57ef5130608f.css             884 B
11:54:52 AM: β”œ β—‹ /admin                                 389 B           201 kB
11:54:52 AM: β”œ β—‹ /admin/discounts (318 ms)              4.64 kB         277 kB
11:54:52 AM: β”œ β—‹ /admin/orders (449 ms)                 67 kB           295 kB
11:54:52 AM: β”œ β—‹ /admin/orders/[oid]                    2.72 kB         218 kB
11:54:52 AM: β”œ β—‹ /admin/products                        4.99 kB         222 kB
11:54:52 AM: β”œ β—‹ /admin/products/[pid] (523 ms)         39 kB           268 kB
11:54:52 AM: β”œ β—‹ /admin/projects (417 ms)               2.65 kB         220 kB
11:54:52 AM: β”œ β—‹ /admin/projects/[pid]                  4.6 kB          225 kB
11:54:52 AM: β”œ β—‹ /admin/subscriptions                   4.15 kB         220 kB
11:54:52 AM: β”œ β—‹ /admin/subscriptions/[sid]             2.16 kB         203 kB
11:54:52 AM: β”œ β—‹ /admin/uploads (392 ms)                7.13 kB         222 kB
11:54:52 AM: β”œ β—‹ /admin/users (398 ms)                  1.93 kB         219 kB
11:54:52 AM: β”œ β—‹ /admin/users/[uid] (411 ms)            7.57 kB         221 kB
11:54:52 AM: β”œ Ξ» /api/coupons                           0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/mail                              0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/orders                            0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/orders/[order_id]                 0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/orders/export                     0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/orders/send-tracking-number       0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/products                          0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/products/[product_id]             0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/products/export                   0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/projects                          0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/projects/[project_id]             0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/complete-sub               0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/coupon                     0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/customer                   0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/paymentIntent              0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/price                      0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/product                    0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/promocodes                 0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/subscription               0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/stripe/success                    0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/subscriptions                     0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/uploads                           0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/uploads/vars                      0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/users                             0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/users/[user_id]                   0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/users/add-to-list                 0 B             199 kB
11:54:52 AM: β”œ Ξ» /api/users/cart                        0 B             199 kB
11:54:52 AM: β”œ β—‹ /checkout                              10.6 kB         259 kB
11:54:52 AM: β”œ   β”” css/425ec2f6e50d24dc.css             1.58 kB
11:54:52 AM: β”œ β—‹ /faq                                   4.85 kB         207 kB
11:54:52 AM: β”œ   β”” css/6ebe6c782d8f0948.css             451 B
11:54:52 AM: β”œ β—‹ /login                                 3.86 kB         203 kB
11:54:52 AM: β”œ   β”” css/ebd391d49f1fe65b.css             1.05 kB
11:54:52 AM: β”œ β—‹ /profile                               3.09 kB         202 kB
11:54:52 AM: β”œ β—‹ /profile/edit                          4.52 kB         203 kB
11:54:52 AM: β”œ β—‹ /profile/impact-report                 6.21 kB         205 kB
11:54:52 AM: β”œ   β”” css/0a40af7d5db2634d.css             2.54 kB
11:54:52 AM: β”œ β—‹ /profile/previous-orders               2.71 kB         201 kB
11:54:52 AM: β”œ β—‹ /profile/subscriptions                 7.87 kB         207 kB
11:54:52 AM: β”œ β—‹ /projects                              2.25 kB         210 kB
11:54:52 AM: β”œ   β”” css/74ff730662b0a74a.css             2.37 kB
11:54:52 AM: β”œ Ξ» /projects/[project]                    3.5 kB          216 kB
11:54:52 AM: β”œ   β”” css/c28953cc9ea424fa.css             3.79 kB
11:54:52 AM: β”œ β—‹ /projects/qr                           413 B           199 kB
11:54:52 AM: β”œ β—‹ /quiz                                  4.66 kB         249 kB
11:54:52 AM: β”œ   β”” css/1977c41de10b2c29.css             2.34 kB
11:54:52 AM: β”œ β—‹ /shop                                  1.85 kB         201 kB
11:54:52 AM: β”œ   β”” css/f21d78269bd7d060.css             1.82 kB
11:54:52 AM: β”œ β—‹ /shop/products/[product]               5.72 kB         259 kB
11:54:52 AM: β”œ   β”” css/61a41d3bacae5a0b.css             3.13 kB
11:54:52 AM: β”œ β—‹ /shopping-cart                         3 kB            243 kB
11:54:52 AM: β”œ   β”” css/fbb37fb7336d479a.css             967 B
11:54:52 AM: β”œ β—‹ /sign-up                               2.74 kB         243 kB
11:54:52 AM: β”œ   β”” css/165da216348a17aa.css             571 B
11:54:52 AM: β”œ β—‹ /subscription                          1.38 kB         200 kB
11:54:52 AM: β”œ   β”” css/4506a80e7db74904.css             902 B
11:54:52 AM: β”œ β—‹ /thankyou                              792 B           200 kB
11:54:52 AM: β”œ   β”” css/9206843f5150ba10.css             311 B
11:54:52 AM: β”” β—‹ /wholesale                             5.38 kB         213 kB
11:54:52 AM:     β”” css/8a5c47459b65cb44.css             2.64 kB
11:54:52 AM: + First Load JS shared by all              199 kB
11:54:52 AM:   β”œ chunks/framework-a070cbfff3c750c5.js   42 kB
11:54:52 AM:   β”œ chunks/main-91ca0c5c0209fc2d.js        28 kB
11:54:52 AM:   β”œ chunks/pages/_app-c4cf09c69ca8a469.js  126 kB
11:54:52 AM:   β”œ chunks/webpack-8085d782641e96ab.js     2.74 kB
11:54:52 AM:   β”” css/b78d86b6e13d4e44.css               2 kB
11:54:52 AM: Ξ»  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
11:54:52 AM: β—‹  (Static)  automatically rendered as static HTML (uses no initial props)
11:54:52 AM: ​
11:54:52 AM: (build.command completed in 43.5s)
11:54:52 AM: ​
11:54:52 AM: @netlify/plugin-nextjs (onBuild event)                        
11:54:52 AM: ────────────────────────────────────────────────────────────────
11:54:52 AM: ​
11:54:52 AM: ​
11:54:52 AM: (@netlify/plugin-nextjs onBuild completed in 4ms)
11:54:52 AM: ​
11:54:52 AM: Functions bundling                                            
11:54:52 AM: ────────────────────────────────────────────────────────────────
11:54:52 AM: ​
11:54:52 AM: Packaging Functions from netlify/functions directory:
11:54:52 AM:  - abandoned-carts-check.js
11:54:52 AM:  - subscriptions-check.js
11:54:52 AM: ​
11:54:53 AM: ​
11:54:53 AM: (Functions bundling completed in 590ms)
11:54:53 AM: ​
11:54:53 AM: @netlify/plugin-nextjs (onPostBuild event)                    
11:54:53 AM: ────────────────────────────────────────────────────────────────
11:54:53 AM: ​
11:54:53 AM: Next.js cache saved.
11:54:53 AM: ​
11:54:53 AM: (@netlify/plugin-nextjs onPostBuild completed in 178ms)
11:54:53 AM: ​
11:54:55 AM: Failed during stage 'building site': Build script returned non-zero exit code: 4 (https://ntl.fyi/exit-code-4)
11:54:55 AM: Build failed due to an internal system error: Build script returned non-zero exit code: 4
11:54:55 AM: Failing build: Failed to build site
11:54:55 AM: Finished processing build request in 1m22.675s

Hi @Anastasia ,

I wasn’t able to reproduce this issue on your site. Are you still seeing the issue? If so, a HAR file would really help us investigate this further.