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

[fix][broker] Fix returns wrong webServiceUrl when both webServicePort and webServicePortTls are set #21842

Merged
merged 3 commits into from
Jan 3, 2024

Conversation

Technoboy-
Copy link
Contributor

Motivation

If webServicePort and webServicePortTls are set at the same time and create an admin using webServiceAddress to access the topic, you will be stuck in an infinite redirect, the root cause is that the webServiceUrl always returns an https url even if the request is HTTP.

It's the same with #21633

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@Technoboy- Technoboy- self-assigned this Jan 3, 2024
@Technoboy- Technoboy- added this to the 3.2.0 milestone Jan 3, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jan 3, 2024
@Technoboy- Technoboy- merged commit e10d318 into apache:master Jan 3, 2024
49 of 50 checks passed
Technoboy- added a commit that referenced this pull request Jan 3, 2024
lhotari pushed a commit that referenced this pull request Jan 26, 2024
…t and webServicePortTls are set (#21842)

(cherry picked from commit e10d318)
lhotari pushed a commit that referenced this pull request Jan 26, 2024
…t and webServicePortTls are set (#21842)

(cherry picked from commit e10d318)
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 1, 2024
…t and webServicePortTls are set (apache#21842)

(cherry picked from commit e10d318)
(cherry picked from commit 8620610)
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 6, 2024
…t and webServicePortTls are set (apache#21842)

(cherry picked from commit e10d318)
(cherry picked from commit 8620610)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants