Troubleshooting Nuxt 3 Build Issues on netlify-edge ISR: Excessive 503 Errors with medium page counts but in locale works

Hi,
I’m making a website with netlify-edge ISR and Nuxt 3.

But when I build it, it fails (I see a lot of 503 errors when pre-rendering) if there are about 200 pages. It works fine if I try in locale.

When I make only about 60 pages, it’s okay.

I use Nitro prerender and this is my configuration:

export default {
  nitro: {
    routeRules: {
      '/**': { isr: true },
    },
    // https://nitro.unjs.io/config/#prerenderer
    prerender: {
      crawlLinks: true,
    },
    // https://nitro.unjs.io/deploy/providers/netlify
    preset: 'netlify-edge',
  },
}

So, I wonder if there are any limits I missed in the docs.
Any help would be great because I’m stuck and can’t upload it :frowning:.

Thanks a lot and kind regards,
Davide

Hi,
I found the solution I thinks.
I use the Nitro prerender and I think the values of the configuration was wrong:
So I update the delay and the retry and it works:

export default {
  nitro: {
    routeRules: {
      '/**': { isr: true },
    },
    // https://nitro.unjs.io/config/#prerenderer
    prerender: {
      autoSubfolderIndex: true,
      concurrency: 1,
      interval: 2,
      failOnError: false,
      crawlLinks: true,
      ignore: [],
      routes: [],
      retries: 4,
      retryDelay: 1000,
    },
    // https://nitro.unjs.io/deploy/providers/netlify
    preset: 'netlify-edge',
  },
}```

Regards,
Davide

Hi @DidoMarchet,

Thanks for updating and letting us know you believe you have resolved the issue. If you do continue to have issues, could you share the URL of a deploy that failed or provide the sitename (such as sitename.netlify.app)?

1 Like