keeps crashing raise exc from None
webtek
PROOP

3 months ago

raise exc from None

$10 Bounty

3 Replies

webtek
PROOP

3 months ago

Starting Container

ERROR: Error loading ASGI app. Could not import module "main".


webtek
PROOP

3 months ago

Starting Container

ERROR: Error loading ASGI app. Could not import module "main".

ERROR: Error loading ASGI app. Could not import module "main".

ERROR: Error loading ASGI app. Could not import module "main".

ERROR: Error loading ASGI app. Could not import module "main".


dardameiz
PRO

3 months ago

Your start command is likely uvicorn main:app but either main.py doesn't exist or it has an import error. Check that your entry file is actually named main.py (not app.py or something else), or update your start command to match your actual filename, e.g. uvicorn app:app. If the file exists, there's probably a missing dependency — check your requirements.txt includes all imports used in main.py


Loading...