vlada-dudr opened a new issue, #493:
URL: https://github.com/apache/doris-flink-connector/issues/493

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) 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.:
   
https://github.com/apache/doris-flink-connector/blob/c61342f9651829c72f7828480c831dba52ad8ef3/flink-doris-connector/src/main/java/org/apache/doris/flink/rest/RestService.java#L362
   
   ### 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
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to