Skip to content

All zip code searches result in server crash on production #8

@zd-builds

Description

@zd-builds

What's happening

Searching any zip code on resrc.support causes the page to crash
("This page couldn't load") before any results appear. After
reloading, error messages are inconsistent:

  • 10001 (NYC): "Zip code not found"
  • 98101 (Seattle): "Invalid zip code"
  • 60601 (Chicago): "Invalid zip code"

These are all valid 5-digit US zip codes.

What this suggests

The homepage loads fine (static). The crash only happens when a
search hits the database. This is consistent with the DATABASE_URL
or other Prisma environment variables not being configured in the
production deployment.

Steps to reproduce

  1. Go to resrc.support
  2. Enter any zip code and hit Search
  3. Page crashes

Environment tested

  • Multiple browsers (Brave, Safari)
  • VPN on and off
  • Multiple zip codes across different states

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions