-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
systemd Socket activation: EOPNOTSUPP #1241
Comments
Are you running on Windows a la #1240 ? |
No, this is a Debian Jessie. Nothing special done on it except upgrading Puma from 3.7.1 (working fine) to 3.8.1. |
I have the same issue on Ubuntu 16.04 with Ruby 2.3.1p112. |
when deploying after updating, haven't done any real investigation yet. Ubuntu 16.04.2 LTS
|
seems related to this commit: baccf80#diff-ef4c610f0ce605eb90f2810856394fd5 |
It looks like sockopts vary between distros then. We should at least |
paging @sirupsen |
That code should only be being run on linux..... Weird that some linuxes (linuxi?) don't support it... Basically we'd need to rescue any error seen by this and disable it for the process. I'll go ahead and make that change since this is a breaking issue. |
Wow, that's very unexpected. Thanks @evanphx for the quick fix. |
Steps to reproduce
Expected behavior
Puma runs and activate the socket pre-created by systemd. Works fine with Puma 3.7.1 (worked before, works again when changing the version in out bundle).
Actual behavior
System configuration
Ruby version: 2.4.0
Rails version: 5.1-master
Puma version: 3.8.1
The text was updated successfully, but these errors were encountered: