Skip to content

[branch-4.1][fix](regression) Avoid loopback HTTP TVF host#65877

Merged
yiguolei merged 1 commit into
branch-4.1from
agent/branch41-fix-http-tvf-host
Jul 23, 2026
Merged

[branch-4.1][fix](regression) Avoid loopback HTTP TVF host#65877
yiguolei merged 1 commit into
branch-4.1from
agent/branch41-fix-http-tvf-host

Conversation

@hello-stephen

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

test_http_tvf starts an in-process HTTP server on the regression runner and asks Doris BE nodes to read from it. In branch-4.1 P2 build 203694, externalEnvIp is 127.0.0.1, so the case builds a URL such as http://127.0.0.1:46739/.... The remote BE interprets loopback as itself and fails with Connection refused.

What is changed?

Keep an explicit httpTvfHost override, but reject loopback/any-local values inherited from externalEnvIp and fall back to the runner host address.

TeamCity: http://172.20.48.17:8111/buildConfiguration/Doris_Doris_x64_branch41_Regression_P2/203694
Related backport: #65313

@hello-stephen
hello-stephen requested a review from yiguolei as a code owner July 22, 2026 07:09
@hello-stephen

Copy link
Copy Markdown
Contributor Author

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen
hello-stephen requested a review from Gabriel39 July 22, 2026 07:09
@yiguolei

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor Author

p2 case , no need run

@hello-stephen

Copy link
Copy Markdown
Contributor Author

skip buildall

@yiguolei
yiguolei merged commit e24b12f into branch-4.1 Jul 23, 2026
33 of 35 checks passed
@hello-stephen
hello-stephen deleted the agent/branch41-fix-http-tvf-host branch July 24, 2026 03:23
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.

2 participants