You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/07/14 21:23:34 UTC

[GitHub] [incubator-doris] boboyunz opened a new issue #6241: my Issue: no valid Basic authorization

boboyunz opened a new issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241


   i want to add data with steam load ,but get this error **no valid Basic authorization**
   this is be log
   I0715 05:07:46.350615 17205 stream_load.cpp:186] new income streaming load request.id=7045db7eb458d83a-7180372f6e4996a3, job_id=-1, txn_id=-1, label=39c25a5c-7000-496e-a98e-348a264c81dd, db=QHYGJ, tbl=cargis2
   W0715 05:07:46.350641 17205 stream_load.cpp:212] parse basic authorization failed.id=7045db7eb458d83a-7180372f6e4996a3, job_id=-1, txn_id=-1, label=39c25a5c-7000-496e-a98e-348a264c81dd
   
   my request header:
   {Content-Type: ;charset=UTF-8
   User-Agent: Mozilla/4.0
   Content-Length: 175
   expect: 100-continue
   format: json
   strip_outer_array: true
   jsonpaths: ["$.cph","$.cpys","$.dt","$.ptbm","$.alarm","$.sta","$.xslc","$.gc","$.sbsd","$.xssd","$.xslc","$.dr","$.lat","$.lon"]
   label: 39c25a5c-7000-496e-a98e-348a264c81dd
   Authorization: Basic cm9vdDoxcWF6IVFBWg==
   
   }
   
   
   


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] boboyunz commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
boboyunz commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883021369


   > 你可以试试把fe.conf里加上enable_http_server_v2=false看看,可能是因为读取header里的Authorization信息时读错了,另外不要在这里暴露Authorization信息
   
   这个配置貌似是把 httpv2 禁用了  如何能解决问题呢:)请赐教
   Authorization信息 已经隐藏


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   @hf200012  I have the same issue.
   
   OKHttp request log
   ```
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> PUT http://127.0.0.1:8030/api/youdata/inventory/_stream_load
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Authorization: Basic xxx
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : format: json
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : label: porter_1_1634650725187
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : strip_outer_array: true
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] boboyunz edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
boboyunz edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-880267833


   最后我的解决方式如下,供大家参考:
   根据官方文档,fe收到stream load 请求后,只是做了负载均衡,随机选择一个BE,转发http请求,问题就出在转发请求会把Basic authorization丢掉,导致访问失败。所以我直接跳过FE,自己维护一个BE列表,随机选择一个来发送请求,这样就把问题解决了。


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-947419977


   https://github.com/apache/incubator-doris/blob/51e210869acfb6ba31971b13f4ebae287bae1c44/extension/DataX/doriswriter/src/main/java/com/alibaba/datax/plugin/writer/doriswriter/DorisWriterEmitter.java#L173
   
   https://github.com/arjenzhou/porter/blob/9889ec2507850f199f7bcf28923268592e1a51ef/common/src/main/java/de/xab/porter/common/util/Https.java#L96-L107
   
   It is because not handling 307 redirect correctly. You can refer the code above.


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-881814503


   - This is not a fe bug, you can fe on this patch #4196


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   @hf200012  I have the same issue.
   
   OKHttp request log
   ```
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> PUT http://10.219.185.136:8030/api/youdata/inventory/_stream_load
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Authorization: Basic xxx
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : format: json
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : label: porter_1_1634647676618
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou removed a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou removed a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   @hf200012  I have the same issue.
   
   OKHttp request log
   ```
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> PUT http://127.0.0.1:8030/api/youdata/inventory/_stream_load
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Authorization: Basic xxx
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : format: json
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : label: porter_1_1634650725187
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : strip_outer_array: true
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] boboyunz commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
boboyunz commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883021369


   > 你可以试试把fe.conf里加上enable_http_server_v2=false看看,可能是因为读取header里的Authorization信息时读错了,另外不要在这里暴露Authorization信息
   
   这个配置貌似是把 httpv2 禁用了  如何能解决问题呢:)请赐教
   Authorization信息 已经隐藏


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-947419977


   @boboyunz 
   https://github.com/apache/incubator-doris/blob/51e210869acfb6ba31971b13f4ebae287bae1c44/extension/DataX/doriswriter/src/main/java/com/alibaba/datax/plugin/writer/doriswriter/DorisWriterEmitter.java#L173
   
   https://github.com/arjenzhou/porter/blob/9889ec2507850f199f7bcf28923268592e1a51ef/common/src/main/java/de/xab/porter/common/util/Https.java#L96-L107
   
   It is because not handling 307 redirect correctly. You can refer the above code.


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-947419977


   @boboyunz 
   https://github.com/apache/incubator-doris/blob/51e210869acfb6ba31971b13f4ebae287bae1c44/extension/DataX/doriswriter/src/main/java/com/alibaba/datax/plugin/writer/doriswriter/DorisWriterEmitter.java#L173
   
   https://github.com/arjenzhou/porter/blob/9889ec2507850f199f7bcf28923268592e1a51ef/common/src/main/java/de/xab/porter/common/util/Https.java#L96-L107
   
   It is because not handling 307 redirect correctly. You can refer the code above.


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   I have the same issue.
   
   OKHttp request header
   ```
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> PUT http://10.219.185.136:8030/api/youdata/inventory/_stream_load
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Authorization: Basic xxx
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : format: json
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : label: porter_1_1634647676618
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883103775






-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883107166


   > > 你可以试试把fe.conf里加上enable_http_server_v2=false看看,可能是因为读取header里的Authorization信息时读错了,另外不要在这里暴露Authorization信息
   > 
   > 这个配置貌似是把 httpv2 禁用了 如何能解决问题呢:)请赐教
   > Authorization信息 已经隐藏
   
   You can add me on WeChat and I will help you see your problem, 35926237


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] boboyunz commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
boboyunz commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883021369


   > 你可以试试把fe.conf里加上enable_http_server_v2=false看看,可能是因为读取header里的Authorization信息时读错了,另外不要在这里暴露Authorization信息
   
   这个配置貌似是把 httpv2 禁用了  如何能解决问题呢:)请赐教
   Authorization信息 已经隐藏


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-881814503


   - This is not a fe bug, you can fe on this patch,https://github.com/apache/incubator-doris/pull/6149


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883103775






-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] xy720 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
xy720 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-881512992


   你可以试试把fe.conf里加上enable_http_server_v2=false看看,可能是因为读取header里的Authorization信息时读错了,另外不要在这里暴露Authorization信息


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] boboyunz commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
boboyunz commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-880267833


   最后我的解决方式如下,供大家参考:
   根据官方文档,fe收到stream load 请求后,只是做了负载均衡,随机选择一个BE,转发http请求,问题就出在转发请求会把Basic authorization丢掉,导致访问失败。所以我直接跳过BE,自己维护一个BE列表,随机选择一个来发送请求,这样就把问题解决了。


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] hf200012 commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-883103775


   This is not a bug, you can send out the entire operation process of your stream load, if you are using curl, send out the entire command


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   I have the same issue.
   
   OKHttp request log
   ```
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> PUT http://10.219.185.136:8030/api/youdata/inventory/_stream_load
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Authorization: Basic xxx
   2021-10-19 20:47:56.814  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : format: json
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : label: porter_1_1634647676618
   2021-10-19 20:47:56.815  INFO 44393 --- [tp2117043942-31] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou edited a comment on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou edited a comment on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-946693813


   @hf200012  I have the same issue.
   
   OKHttp request log
   ```
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> PUT http://10.219.185.136:8030/api/youdata/inventory/_stream_load
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Type: application/json; charset=utf-8
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Content-Length: 4819
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Authorization: Basic eW91ZGF0YTp5b3VkYXRh
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : Expect: 100-continue
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : format: json
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : label: porter_1_1634650725187
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : strip_outer_array: true
   2021-10-19 21:38:45.189  INFO 49229 --- [tp1343835789-21] okhttp3.OkHttpClient                     : --> END PUT
   ```


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] arjenzhou commented on issue #6241: my Issue: no valid Basic authorization

Posted by GitBox <gi...@apache.org>.
arjenzhou commented on issue #6241:
URL: https://github.com/apache/incubator-doris/issues/6241#issuecomment-947419977


   @boboyunz https://github.com/apache/incubator-doris/blob/51e210869acfb6ba31971b13f4ebae287bae1c44/extension/DataX/doriswriter/src/main/java/com/alibaba/datax/plugin/writer/doriswriter/DorisWriterEmitter.java#L173
   
   It is because not handling 307 redirect correctly. You can refer the above code.


-- 
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-unsubscribe@doris.apache.org

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



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