Skip to content
New issue

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

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

Already on GitHub? # to your account

Make websockets work again #255

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

carbonin
Copy link
Member

This commit changes the proxy directives added in #208 to rewrite rules which seem to play better with the existing rules put in place for auth.

Before this, notifications did not work properly and httpd processes were starting constantly and not exiting.

https://bugzilla.redhat.com/show_bug.cgi?id=1526601

Note:
This seems to have been working before 7e86fe9, but somehow the RewriteRule added there messes with the ws proxy.

@abellotti can you test auth out with this change?
@skateman does this make sense to you?

This commit changes the proxy directives added in ManageIQ#208
to rewrite rules which seem to play better with the existing
rules put in place for auth.

Before this, notifications did not work properly and httpd processes
were starting constantly and not exiting.

https://bugzilla.redhat.com/show_bug.cgi?id=1526601

Note:
This seems to have been working before 7e86fe9, but somehow
the RewriteRule added there messes with the ws proxy.
@miq-bot
Copy link
Member

miq-bot commented Dec 15, 2017

Checked commit carbonin@1d680df with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Yaml - missing config files

@abellotti
Copy link
Member

Hi @carbonin, changes are good here 👍

Just tested IPA, IPA SSO (kerberos), SAML and OpenIDC, all good.

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Seal of Approval

@bdunne bdunne merged commit c54aa15 into ManageIQ:master Dec 18, 2017
@bdunne bdunne added this to the Sprint 76 Ending Jan 1, 2018 milestone Dec 18, 2017
simaishi pushed a commit that referenced this pull request Dec 18, 2017
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 92f7d48a2cb732bcec80418b2c0a229599782d4a
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Mon Dec 18 09:30:21 2017 -0500

    Merge pull request #255 from carbonin/use_rewrite_for_websockets
    
    Make websockets work again
    (cherry picked from commit c54aa1599d9ce0be984bd3b78c33d3d2f1b290c7)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1527115

@carbonin carbonin deleted the use_rewrite_for_websockets branch April 7, 2020 14:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants