-
Notifications
You must be signed in to change notification settings - Fork 899
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
upgrade puma gem to 3.7 to work with openssl 1.1 and Fedora 26 #15583
Conversation
I'm on Fedora 24, everything installed and starts Fine 😉 But.....
What's that |
The websocket worker? Not actually sure, just a guess. For what it is worth, works for me when updating with no problems. |
More specifically...
|
@bdunne well, this looks like it is the default rack config... Not sure how that is being activated though. Got the same thing as you did. |
Doing some spelunking into @bdunne's concern to see where that comes from, and why the upgrade changed things. |
I haven't had a chance to look into puma. I don't think it should be a problem but I won't be able to take a look. @skateman can you review the websocket side? As long as the existing config/puma.rb is honored, it should be fine. |
So, as far as I have been able to tell so far, the change that Brandon and myself are seeing only seems to affect the |
Okay, I think I located the issue. Basically it is combining the Confident it is related to puma/puma#1234 where the https://github.com/schneems/puma/blob/852f52f/lib/puma/configuration.rb#L130 Adding both of the I would argue that PR puma/puma#1234 is a "Rails induced puma feature", and thinking the bug is really there versus anything else. Will open up a PR/issue regarding it. |
Regarding the puma fix, brought it up in puma/puma#1371, and am attempting to address it in puma/puma#1372. A workaround to solve the fedora issues might be to use 3.7.x, since I think that doesn't have these config changes applied. |
Well, I don't see the |
@skateman the duplicate address binding only shows up if you are using Booting the UI worker or the websocket worker will properly set the puma config because they aren't using the Rails defaults directly from the |
Sorry for a late response. @bdunne How does 3.7 work on fedora 24? @NickLaMuro Good job. you decide to make a PR in puma and in the future we can use the next version of puma? |
Uh... I was working late, no need to apologize 😄
Yup, filed and issue in puma/puma#1371 and am working on a fix in puma/puma#1372 . Whether it gets accepted and released in the next version of puma is up in the air though. |
@NickLaMuro gotcha |
@skateman ah, yeah, that |
@ailisp I just modified my |
Now change version to 3.7 to work in both Fedora 24 and 26. |
Checked commits ailisp/manageiq@e2a32c0~...deacfb8 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for me on Fedora26, need to merge this as early as possible !
Looks like we have some different versions of fedora and osx having great success with this version. Merging. |
Fedora 26 use openssl 1.1 and in our Gemfile requires
puma 3.3.x
which doesn't support openssl 1.1. Update to 3.9, it should work with both openssl 1.1 and older version of openssl 1.0. Mangeiq web application looks fine after this modification. Also, after this upgrade, when browse127.0.0.1:3000
firefox doesn't complain it's insecure now (before it did).