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

Identify gRPC clients using UUID instead of gRPC peer #2889

Merged
merged 6 commits into from
Feb 1, 2024

Conversation

charlesbvll
Copy link
Member

Issue

Description

When running Flower behind a proxy, the peer can be the same for different clients, so instead of peer: str = context.peer() we use a UUID4 that is unique.

Related issues/PRs

N/A

Proposal

Explanation

Instead of peer: str = context.peer() we use a UUID4 that is unique.

Checklist

  • Implement proposed change
  • Update the changelog entry below
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Changelog entry

Any other comments?

N/A

alvarolopez and others added 2 commits February 1, 2024 14:06
When running flower behind a proxy, the peer can be the same for
different clients (i.e. ip:port) so we use a uuid that is unique.

Fixes #1972
@danieljanes danieljanes changed the title Use UUID for clients Identify gRPC clients using UUID instead of gRPC peer Feb 1, 2024
@danieljanes danieljanes enabled auto-merge (squash) February 1, 2024 13:24
@danieljanes danieljanes merged commit 700445c into main Feb 1, 2024
27 checks passed
@danieljanes danieljanes deleted the uuid-for-clients branch February 1, 2024 14:31
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

Successfully merging this pull request may close these issues.

3 participants