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

[Bug] It is not possible to connect to FE via HTTPS #493

Open
3 tasks done
vlada-dudr opened this issue Sep 25, 2024 · 2 comments · May be fixed by #494
Open
3 tasks done

[Bug] It is not possible to connect to FE via HTTPS #493

vlada-dudr opened this issue Sep 25, 2024 · 2 comments · May be fixed by #494

Comments

@vlada-dudr
Copy link

vlada-dudr commented Sep 25, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

flink-doris-connector-1.20-24.0.0

What's Wrong?

When I just specify fenodes I get

Failed to get response from Doris  http://some-fe:8030/api/FLINKUSER/TABLE1/_schema, http code is 303

In case I specify some-fe:8050 (the https port), I obviously get:

Failed to connect to host:http://some-fe:8050 java.net.SocketException: Unexpected end of file from server

If I try set fenodes to https://some-fe:8050:

Failed to connect to host:http://https://some-fe:8050 java.net.UnknownHostException: https

There are several places in code, where plain http is hardcoded, e.g.:

What You Expected?

Support for https FE, either via explicit protocol specification via https://some-fe:port or by following redirect issued by FE.

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@vlada-dudr vlada-dudr linked a pull request Sep 25, 2024 that will close this issue
@JNSimba
Copy link
Member

JNSimba commented Sep 26, 2024

The format of fenodes is ip:port. https needs to configure the fe certificate https://doris.apache.org/zh-CN/docs/dev/admin-manual/auth/fe-certificate/. Currently, be does not support https

@vlada-dudr
Copy link
Author

@JNSimba thank you. I opened merge request #494 to enable https connection to fe.

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 a pull request may close this issue.

2 participants