Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix socket listener cannot bind on restart #2424

Open
AndrewFerr opened this issue Feb 29, 2024 · 0 comments
Open

Unix socket listener cannot bind on restart #2424

AndrewFerr opened this issue Feb 29, 2024 · 0 comments

Comments

@AndrewFerr
Copy link
Member

System: Fedora Linux 39 (Workstation Edition)

When using a Unix socket as a listener (via a config of http.listeners[*].binds.socket), the socket file is not deleted when MAS is shut down. This prevents MAS from starting up again later with an error of:

Error: could not bind socket

Caused by:
    Address already in use (os error 98)

Only when I manually delete the socket file can MAS be started again.

Perhaps relevant: when created, the socket file has file mode bits of 0755 (user read-write, group/others read-only).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant