Cannot debug cause theres no error output
kastoyanov
PROOP

a year ago

Hello, since you guys do not have ssh or any simillar access, I am clueless as of how to debug this.
I do not get any error messages other than "failed to start" when using gunicorn and different kind of error when using uvicorn that is related to my db container which I also cannot debug.
This is the boilerplate I am using https://github.com/igorbenav/FastAPI-boilerplate
Is there a problem that my repo and docker-compose.yml create 4 different containerss? From the deploy logs I see that there are no logs of 3 of the containers being created.
For reference this is one of my lates errors:

````
File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 744, in createssl_connection

Aug 24 12:44:44

tr, pr = await loop.create_connection(

Aug 24 12:44:44

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Aug 24 12:44:44

File "uvloop/loop.pyx", line 1978, in create_connection

Aug 24 12:44:44

socket.gaierror: [Errno -2] Name or service not known

Aug 24 12:44:44

Aug 24 12:44:44

ERROR: Application startup failed. Exiting.
````

OR this

```
#20 DONE 2.3s

Aug 24 13:28:19

Aug 24 13:28:19

Build time: 2.97 seconds

Aug 24 13:32:48

Aug 24 13:32:48

=========================

Aug 24 13:32:48

Container failed to start

Aug 24 13:32:48

=========================

Aug 24 13:32:48

Aug 24 13:32:48

Failed to start deployment.

Aug 24 13:32:48

If this error persists, please reach out to the Railway team at https://help.railway.app.

Aug 24 13:32:48

```

0 Replies

Loading...