ztgoto commented on pull request #8115:
URL: https://github.com/apache/incubator-doris/pull/8115#issuecomment-1042947908


   wireshark packet capture @hf200012 
   ```
   PUT /api/test_db/test_table/_stream_load HTTP/1.1
   format: json
   Expect: 100-continue
   strip_outer_array: true
   Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
   Content-Type: text/plain
   User-Agent: PostmanRuntime/7.29.0
   Accept: */*
   Host: 192.168.4.113:8030
   Accept-Encoding: gzip, deflate, br
   Connection: keep-alive
   Content-Length: 169
   
   [{"dt": "2022-02-16","sob_id":"123","id": 
"456","name":"tag1","descript":"desc111"},
   {"dt": "2022-02-16","sob_id":"123","id": 
"123","name":"tag1","descript":"desc111"}]
   
   
   
   
   HTTP/1.1 307 Temporary Redirect
   Date: Thu, 17 Feb 2022 13:00:29 GMT
   Vary: Origin
   Vary: Access-Control-Request-Method
   Vary: Access-Control-Request-Headers
   Content-Language: en-US
   Location: 
http://default_cluster:username:[email protected]:8040/api/test_db/test_table/_stream_load?
   Connection: close
   
   
   PUT /api/test_db/test_table/_stream_load? HTTP/1.1
   format: json
   Expect: 100-continue
   strip_outer_array: true
   Content-Type: text/plain
   User-Agent: PostmanRuntime/7.29.0
   Accept: */*
   Accept-Encoding: gzip, deflate, br
   Connection: keep-alive
   Content-Length: 169
   Referer: http://192.168.4.113:8030/api/test_db/test_table/_stream_load
   Host: 192.168.4.112:8040
   Authorization: Basic ZGVmYXVsdF9jbHVzdGVyOnVzZXJuYW1lOnBhc3N3b3Jk
   
   [{"dt": "2022-02-16","sob_id":"123","id": 
"456","name":"tag1","descript":"desc111"},
   {"dt": "2022-02-16","sob_id":"123","id": 
"123","name":"tag1","descript":"desc111"}]
   
   HTTP/1.1 200 OK
   Content-Encoding: gzip
   Date: Thu, 17 Feb 2022 13:00:29 GMT
   Content-Length: 275
   Content-Type: text/html; charset=ISO-8859-1
   
   {
       "TxnId": -1,
       "Label": "2881c7a4-c02c-43a8-8a31-a046728aa03d",
       "Status": "Fail",
       "Message": "errCode = 2, detailMessage = Access denied for 
default_cluster:[email protected]",
       "NumberTotalRows": 0,
       "NumberLoadedRows": 0,
       "NumberFilteredRows": 0,
       "NumberUnselectedRows": 0,
       "LoadBytes": 0,
       "LoadTimeMs": 0,
       "BeginTxnTimeMs": 0,
       "StreamLoadPutTimeMs": 0,
       "ReadDataTimeMs": 0,
       "WriteDataTimeMs": 0,
       "CommitAndPublishTimeMs": 0
   }
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to