DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

[Bug]: Live site crashes with 500 INTERNAL_SERVER_ERROR on homepage

Open Keerthanreddy01 opened this issue 5 months ago • 6 comments

What happened?

The live site at mydevpath-github.vercel.app shows a 500 Internal Server Error. The serverless function crashes and the page does not load at all.

Steps to reproduce

  1. Visit https://mydevpath-github.vercel.app
  2. Page fails to load
  3. Shows "This Serverless Function has crashed" error

Expected behaviour

The homepage should load correctly and show the DevPath application.

Area of the app affected

Homepage form

Python version

Unknown - server side issue

Operating system

Windows 11

Relevant error output or logs

500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED
ID: bom1::ztcvw-1781347409565-907be89f8fc6

Before submitting

  • [x] I searched existing issues and this has not been reported before.
  • [x] I can reproduce this bug consistently with the steps above.
  • [x] I am running the latest version of the main branch.

Keerthanreddy01 avatar Jun 13 '26 10:06 Keerthanreddy01

Thank you for opening your first issue in DevPath.

Please make sure to:

  • Read CONTRIBUTING.md
  • Wait for assignment before starting work
  • Follow repository guidelines carefully

Happy contributing.

github-actions[bot] avatar Jun 13 '26 10:06 github-actions[bot]

Hey , I'd like to work on this issue. Can you please assign this to me?

devspvt avatar Jun 13 '26 18:06 devspvt

/assign

Hi @komalharshita,

I would love to take on Issue #877 to eliminate the HTTP 500 Internal Server Error crash occurring on the homepage entry route.

🛠️ Proposed Technical Approach

  1. Trace Routing Entry Points: I will audit the primary homepage route controller to isolate the exact asynchronous data query or configuration hook failing during initialization.
  2. Implement Fallback Data Defenses: I will wrap the data compilation calls within a structural try/catch block. If the database connection encounters an anomaly or returns a null document, the code will seamlessly pass down empty default fallback structures rather than bubbling an unhandled exception up to the server gate.
  3. Validate Server Response Handling: I will test the routing endpoints locally to verify that home components boot up smoothly under all network conditions.

Please assign this to me under gssoc26

goyalpreeti009 avatar Jun 15 '26 17:06 goyalpreeti009

/assign

Hi Mentors! A FUNCTION_INVOCATION_FAILED on Vercel means the build succeeded, but the runtime environment is crashing upon execution. I would love to investigate and resolve this serverless function failure immediately.

My Debugging & Resolution Plan:

  1. Analyze Serverless Environment: I will check the API endpoints/serverless functions routing the homepage data to identify what is triggering the runtime crash. Since this is a Python project, I'll closely audit vercel.json configurations (specifically the WSGI/ASGI builders like @vercel/python).

  2. Audit Missing Dependencies: I will verify if a missing runtime package in requirements.txt or pyproject.toml is preventing the serverless function from initializing properly.

  3. Graceful Fallbacks: If the crash is due to an unhandled exception (like a missing or expired environment variable), I will implement safe try/catch wrappers to prevent the entire site from returning a 500 hard-crash.

I'm ready to look into the deployment configurations right away. Please assign this to me!

SaishaDeshpande avatar Jun 16 '26 05:06 SaishaDeshpande

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 04 '26 07:11 github-actions[bot]

This issue was closed because it has been inactive for an extended period. If this issue is still relevant, feel free to reopen it or create a new one.

github-actions[bot] avatar Nov 11 '26 07:11 github-actions[bot]