Skip to content

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

Open
@vlada-dudr

Description

@vlada-dudr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions