You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/04/12 11:35:08 UTC

[GitHub] [skywalking] hanahmily opened a new issue #6736: K8s-mesh analyzer failed to filter invalid log entry in ALS

hanahmily opened a new issue #6736:
URL: https://github.com/apache/skywalking/issues/6736


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Bug
   Once an invlaid log entry is passed to ALS receiver, The k8s-mesh analyzer failed to filter out this entry.
   
   Oap console log:
   ```
    DEBUG [] - Unknown ip , ip -> service is null
   ```
   The invalid log entry:
   ```
   log_entry { common_properties { downstream_remote_address { socket_address { address: "10.132.0.22" port_value: 24870 } } downstream_local_address { socket_address { address: "x.x.x.x" port_value: 8443 } } tls_properties { tls_version: TLSv1_2 tls_cipher_suite { value: 52392 } tls_sni_hostname: "httpbin.tetrate.io" local_certificate_properties { subject: "xxxxxxx" } peer_certificate_properties { } tls_session_id: "594f75aaa6e3a3536db341ff96fd41c5a29d4d5416cf7fd7f190cc1bddc936ec" } start_time { seconds: 1618224071 nanos: 368039000 } time_to_last_rx_byte { nanos: 74180 } time_to_first_downstream_tx_byte { nanos: 316918 } time_to_last_downstream_tx_byte { nanos: 334043 } route_name: "httpbin-9381f6dda881ba94-httpbin-tetrate-io-1" downstream_direct_remote_address { socket_address { address: "10.132.0.22" port_value: 24870 } } } protocol_version: HTTP11 request { request_method: GET authority: "xxxx" path: "/success" user_agent: "curl/7.59.0" forwarded_for: "10.132.0.22" request_id: "1
 68e956d-543a-4b56-8a7f-b3971c948a91" request_headers_bytes: 1992 } response { response_code { value: 301 } response_headers_bytes: 105 response_code_details: "direct_response" } }
   ```
   
   A possible reason is related to  https://github.com/apache/skywalking/blob/64ff0305f7b09fab29771cd2356d477bfb91852f/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/K8sALSServiceMeshHTTPAnalysis.java#L142
   
   *upstreamRemoteAddress is not null, but the  socketAddress in it is an empty string.*
   


-- 
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.

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



[GitHub] [skywalking] kezhenxu94 commented on issue #6736: K8s-mesh analyzer failed to filter invalid log entry in ALS

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6736:
URL: https://github.com/apache/skywalking/issues/6736#issuecomment-817820759


   > Is this for #6736?
   
   Typo? You're referring to the self issue


-- 
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.

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



[GitHub] [skywalking] kezhenxu94 closed issue #6736: K8s-mesh analyzer failed to filter invalid log entry in ALS

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #6736:
URL: https://github.com/apache/skywalking/issues/6736


   


-- 
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.

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



[GitHub] [skywalking] wu-sheng commented on issue #6736: K8s-mesh analyzer failed to filter invalid log entry in ALS

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6736:
URL: https://github.com/apache/skywalking/issues/6736#issuecomment-817802034


   Is this for https://github.com/apache/skywalking/issues/6736?


-- 
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.

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