doublewaters opened a new issue, #27899:
URL: https://github.com/apache/doris/issues/27899

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   Docker
   Git : file://VM-10-14-centos@Unknown
   Version : doris-2.0.0-alpha1
   BuildInfo : VM-10-14-centos
   BuildTime : Mon, 01 May 2023 15:05:04 UTC
   
   ```
   [root@node ~]# cat ./doris/docker-compose.yaml 
   version: "3"
   services:
     fe:
       image: apache/doris:2.0.0_alpha-fe-x86_64
       hostname: fe
       environment:
        - FE_SERVERS=fe1:10.0.4.17:9010
        - FE_ID=1
       volumes:
        - /data/fe/doris-meta/:/opt/apache-doris/fe/doris-meta/
        - /data/fe/log/:/opt/apache-doris/fe/log/
       network_mode: host
     be:
       image: apache/doris:2.0.0_alpha-be-x86_64
       hostname: be
       environment:
        - FE_SERVERS=fe1:10.0.4.17:9010
        - BE_ADDR=10.0.4.17:9050
       volumes:
        - /data/be/storage/:/opt/apache-doris/be/storage/
        - /data/be/script/:/docker-entrypoint-initdb.d/
       depends_on:
         - fe
       network_mode: host
   ```
   
   ### What's Wrong?
   
   当我使用外网IP+端口进行数据导入测试,测试命令如下:
   请求的fe接口为/api/DB/TABLE/_stream_load
   ```
   curl \
   --location-trusted \
   -u root:"d0ris" \
   -H "column_separator:|" \
   -H "label:table2_test" \
   -H "expect:100-continue" \
   -T table1_data.dat \
   http://外网IP:8030/api/example_db/table2/_stream_load
   ```
   <img width="932" alt="image" 
src="https://github.com/apache/doris/assets/35893428/e46bc967-309d-4014-bcce-0685e40aeb66";>
   报错内网IP连接不到
   
   FE报错
   ```
   2023-12-01 16:50:39,522 INFO (tablet checker|28) 
[TabletChecker.checkTablets():331] finished to check tablets. 
unhealth/total/added/in_sched/not_ready: 0/300/0/0/0, cost: 0 ms
   2023-12-01 16:50:42,526 INFO (qtp1785570426-121|121) 
[LoadAction.executeWithoutPassword():170] redirect load action to 
destination=TNetworkAddress(hostname:10.0.4.17, port:8040), stream: true, db: 
example_db, tbl: table2, label: table2_test
   2023-12-01 16:50:42,526 INFO (qtp1785570426-121|121) 
[RestBaseController.redirectTo():105] redirect url: 
http://root%40default_cluster:passwword@10.0.4.17:8040/api/example_db/table2/_stream_load?
   
   ```
   
   ### What You Expected?
   
   能够重定向到外网接口地址
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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