Skip to content

Unable to reload backend with start-reload.sh script due to '[Errno 98] Address already in use' error #312

Open
@jceyrac

Description

@jceyrac

Hi everyone,

I'm developing services on the backend side and struggling to reload it in order to take into account my changes with the /start-reload.sh script:

root@f9f21e5f6088:/app# bash /start-reload.sh
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
INFO:__main__:Initializing service
INFO:__main__:Starting call to '__main__.init', this is the 1st time calling it.
INFO:__main__:Service finished initializing
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO:__main__:Creating initial data
INFO:__main__:Initial data created
ERROR:    [Errno 98] Address already in use

Thinking it could be an issue with an old container not visible but still running in the background I removed all images and containers and rebuilt everything but I'm still having the issue unfortunately.
Any idea of how I could solve this? Thanks a lot!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions