Post-processing / forms processing is timing out

Since early this morning every build gets stuck for 15 minutes during forms processing and times out. We can no longer deploy our site. I can’t disable forms processing, we are relying on netlify-forms.

Deploy log:

1:44:46 PM: Deploy site
1:44:46 PM: ────────────────────────────────────────────────────────────────
1:44:46 PM: ​
1:44:46 PM: Starting to deploy site from “dist”
1:44:53 PM: Calculating files to upload
1:45:03 PM: 8008 new files to upload
1:45:03 PM: 2 new functions to upload
1:45:03 PM: Starting to upload
1:45:06 PM: 10% uploaded
1:45:08 PM: 20% uploaded
1:45:11 PM: 30% uploaded
1:45:13 PM: 40% uploaded
1:45:16 PM: 50% uploaded
1:45:18 PM: 60% uploaded
1:45:21 PM: 70% uploaded
1:45:23 PM: 80% uploaded
1:45:26 PM: 90% uploaded
1:45:39 PM: 100% uploaded
1:45:39 PM: Section completed: deploying
2:01:09 PM: Failed during stage “building site”: Command did not finish within the time limit
2:01:09 PM: Execution timed out after 18m0.016335771s
2:01:09 PM: Failing build: Failed to build site
2:01:09 PM: Finished waiting for live deploy in 15m30.077s

Forms processing log for the same build (see the 15 minute delay):

1:45:42 PM: Starting post processing
1:45:42 PM: Post processing - Forms
1:59:21 PM: Processing form - Straits Student
1:59:21 PM: Detected form fields:

  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • OCEG Consent
    1:59:34 PM: Processing form - Default Lead Gen
    1:59:34 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • OCEG Consent
    1:59:49 PM: Processing form - cancellation-reason
    1:59:49 PM: Detected form fields:
  • subId
  • email
  • firstName
  • lastName
  • reason
  • more-information
    1:59:54 PM: Processing form - Minimum Lead Gen
    1:59:54 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • Blank Space
  • First Name
  • Last Name
  • OCEG Consent
    1:59:57 PM: Processing form - VIP Livestreams for GRCPs
    1:59:57 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • OCEG Consent
    2:00:00 PM: Processing form - Sponsored Content - Short
    2:00:00 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Job Title
  • Company
  • Country
  • OCEG Consent
    2:00:06 PM: Processing form - IAAP Job Task Analysis and Validation Group
    2:00:06 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • OCEG Consent
    2:00:06 PM: Processing form - GRCP Job Task Analysis and Validation Group
    2:00:06 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • OCEG Consent
    2:00:07 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • [Military Connection]
  • OCEG Consent
    2:00:07 PM: Processing form - GRC Leadership & Persuasion
    2:00:07 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Course Application Confirmation
  • OCEG Consent
    2:00:07 PM: Processing form - Military Connected
    2:00:11 PM: Processing form - ICEP Early Access Sprint Application
    2:00:11 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • Job Title
  • Company
  • OCEG Consent
    2:00:13 PM: Processing form - Custom Training Inquiry
    2:00:13 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Number of People to Train
  • Courses to Customize
  • Anything Else
  • OCEG Consent
    2:00:14 PM: Processing form - IAAP Early Access Sprint Registration
    2:00:14 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Company
  • Persona
  • OCEG Consent
    2:00:14 PM: Processing form - Emerging Economies Application
    2:00:14 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Country
  • Program Confirmation and Consent
  • OCEG Consent
    2:00:16 PM: Processing form - Early Access Ultimate Guide
    2:00:16 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • Blank Space
  • First Name
  • Last Name
  • Persona
  • What to Include
  • OCEG Consent
    2:00:18 PM: Processing form - Team Bundle Inquiry
    2:00:18 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Job Title
  • Company
  • Bundle Size
  • [Bundle Value Points]
  • OCEG Consent
    2:00:20 PM: Processing form - Special Offer for Arabic Speakers
    2:00:20 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • First Name
  • Last Name
  • Job Title
  • Company
  • Persona
  • OCEG Consent
    2:00:22 PM: Processing form - Training Partner Inquiry
    2:00:22 PM: Detected form fields:
  • redirectUrl
  • tags
  • referrer
  • formId
  • Email
  • Company
  • CompanyWebsite
  • [CompanyTrainingProvider]
  • CompanyNumEmployees
  • WhichExistingCertifications
  • HowManyStudents
  • WhichLanguages
  • WhichGeographies
  • OCEG Consent
    2:00:23 PM: Detected form fields:
  • redirectUrl
  • Item Title
  • Item Access
  • Item Slug
  • Sponsors
  • Roles
  • utm
  • utm_campaign
  • utm_source
  • utm_term
  • utm_content
  • utm_medium
  • tags
  • referrer
  • formId
  • Email
  • Blank Space
  • First Name
  • Last Name
  • Job Title
  • Company
  • Country
  • Phone Number
  • NumEmployees
  • OCEG Consent
  • Galvanize Consent
    2:00:23 PM: Processing form - Sponsored Content

I need at least a workaround… if it’s the forms detection process that’s taking too long due to the large number of files on our site, is there a way to set this up via config inside a full site scan?

We’re completely stuck right now.

1 Like

Hi @slegay,

Thanks for reaching out! Sorry to hear about this issue. Could you let us know the site name (such as sitename.netlify.app)? We can then increase the post processing time for your builds.

The site name is oceg-web-site. I found how to increase build timeouts using the CLI, so I set that to 30 minutes, that seemed to help.

It seems crazy though that forms post-processing would take 15 minutes when our build + deploy takes a total of 5 minutes. Is there anything we can do to speed this up? Deployments show 8,000 assets being uploaded but we only have about 20-30 forms total.

Thanks!

1 Like

The 8000 files have nothing to do with forms. The more the number of HTML files, the more time would be spent processing those. We need to read each and every HTML file, parse it, extract the form data. We don’t know if you have forms only on 20 pages or all pages, so that’s what’s causing issues here.

Would be great if there is an option to skip automatic detection and to manually specify the HTML pages where the forms are located.