2.0.11使用streamloader提示Access denied for user 'default_cluster:aaa@ip' (using password: YES)

Viewed 48

使用命令:
doris-streamloader -u "aaa":"123123" --source_file="large*" --url="http://ip:5430" --header="column_separator:|?columns:id1,id2,id3,id4" --db="dwd" --table="tmp_data" --workers 8

说明:这里的ip我填的是fe的ip

报错内容:error message: stream load failed, response {"msg":"Unauthorized","code":401,"data":"Access denied for user 'default_cluster:aaa@ip' (using password: YES)","count":0} line=loader/stream_loader.go:352

权限排查:
| 'default_cluster:aaa'@'%' | Yes | | NULL | NULL | internal.default_cluster:dwd: Select_priv Load_priv ;

问题:已验证权限无问题,那么这个报错应该从哪里解决呢?

1 Answers

mysql -u用户a -P5440 -hip地址a -p"123123"--登录正常

doris-streamloader -u "用户a":"123123" --url="http://ip地址a:5440"
提示net/http: HTTP/1.x transport connection broken: malformed HTTP response "J\x00\x00\x00