Comments (5)
Hi @tnsardesai, I see the stack trace is showing different line of code for the failure.
amzn-appmesh-aggregate-stats/src/http/egress.rs:172:9
For this log, do you know which specific version of Envoy it is associated with? I agree this may be a separate issue that we need to address apart from the original issue #484.
Another question, are you seeing this error in older version of Envoy as well?
from aws-app-mesh-roadmap.
Oh I didn't notice the difference in line number. Looking back at our logs
In v1.25.1.0 we see
[2024-01-13 17:31:01.255][82][critical][wasm] [source/extensions/common/wasm/context.cc:1157] wasm log aws.appmesh.egress_http_stats: panicked at 'called `Option::unwrap()` on a `None` value', amzn-appmesh-aggregate-stats/src/http/egress.rs:172:9
[2024-01-13 17:31:01.256][82][error][wasm] [source/extensions/common/wasm/wasm_vm.cc:38] Function: proxy_on_done failed: Uncaught RuntimeError: unreachable
Proxy-Wasm plugin in-VM backtrace:
0: 0x2db69 - rust_panic
1: 0x2c9a3 - std::panicking::rust_panic_with_hook::hbafe3e603d331223
2: 0x2e0f1 - std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h8ab6ee68d5b4c391
3: 0x2e059 - std::sys_common::backtrace::__rust_end_short_backtrace::h008f69666d134159
4: 0x1f5cc - rust_begin_unwind
5: 0x40ed - core::panicking::panic_fmt::h1d17fc068f528130
6: 0xc34f - core::panicking::panic::h27b5eefa3e4ff738
7: 0x1802e - _$LT$aws_appmesh_aggregate_stats..http..egress..EgressHttpStatsFilter$u20$as$u20$amzn_appmesh_wasm..plugin..Filter$GT$::on_done::h90cbcd72c8e2cb58
8: 0xc3f3 - _$LT$amzn_appmesh_wasm..plugin..context..http..HttpFilterContext$u20$as$u20$proxy_wasm..traits..Context$GT$::on_done::h30819f4e590de618
9: 0x26138 - proxy_on_done
In v1.27.2.0 we see
[2024-01-10 11:39:18.189][87][critical][wasm] [source/extensions/common/wasm/context.cc:1157] wasm log aws.appmesh.egress_http_stats: panicked at amzn-appmesh-aggregate-stats/src/http/egress.rs:302:29:
called `Option::unwrap()` on a `None` value
[2024-01-10 11:39:18.189][87][error][wasm] [source/extensions/common/wasm/wasm_vm.cc:38] Function: proxy_on_done failed: Uncaught RuntimeError: unreachable
Proxy-Wasm plugin in-VM backtrace:
0: 0x385ad - rust_panic
1: 0x37842 - std::panicking::rust_panic_with_hook::h3aa054d35a0817d7
2: 0x38a24 - std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h2f73e4cf6cd6319a
3: 0x3898f - std::sys_common::backtrace::__rust_end_short_backtrace::h98ac61a6abbff7e9
4: 0x24033 - rust_begin_unwind
5: 0x24d1 - core::panicking::panic_fmt::h3e1dd3d08288569e
6: 0xced1 - core::panicking::panic::h0f0c05b20da93dd7
7: 0x1179d - _$LT$aws_appmesh_aggregate_stats..http..egress..EgressHttpStatsFilter$u20$as$u20$amzn_appmesh_wasm..plugin..Filter$GT$::on_done::h8b7afc1a5cddb214
8: 0xcfa5 - _$LT$amzn_appmesh_wasm..plugin..context..http..HttpFilterContext$u20$as$u20$proxy_wasm..traits..Context$GT$::on_done::h61f448a25b9c1222
9: 0x2be71 - proxy_on_done
I looked back at logs from November (when our applications were all on v1.24.0.0) and I actually see a similar log from that version too
[2023-12-05 04:15:05.184][86][critical][wasm] [source/extensions/common/wasm/context.cc:1189] wasm log aws.appmesh.egress_http_stats: panicked at 'called `Option::unwrap()` on a `None` value', amzn-appmesh-aggregate-stats/src/http/egress.rs:172:29
[2023-12-05 04:15:05.185][86][error][wasm] [source/extensions/common/wasm/wasm_vm.cc:38] Function: proxy_on_done failed: Uncaught RuntimeError: unreachable
Proxy-Wasm plugin in-VM backtrace:
0: 0x2ed10 - rust_panic
1: 0x2d5d8 - std::panicking::rust_panic_with_hook::hb09154fa23e06c37
2: 0x2f1a6 - std::panicking::begin_panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h6091c197f0d08bf0
3: 0x2f11b - std::sys_common::backtrace::__rust_end_short_backtrace::h004afb3e6a867c40
4: 0x2029e - rust_begin_unwind
5: 0x24b5 - core::panicking::panic_fmt::h9e229748e3ae9f9d
6: 0x9db4 - core::panicking::panic::h6f5024a57ca8da86
7: 0x11d54 - _$LT$aws_appmesh_aggregate_stats..http..egress..EgressHttpStatsFilter$u20$as$u20$amzn_appmesh_wasm..plugin..Filter$GT$::on_done::hc616f22dcbbc1095
8: 0x9e58 - _$LT$amzn_appmesh_wasm..plugin..context..http..HttpFilterContext$u20$as$u20$proxy_wasm..traits..Context$GT$::on_done::h2e26b9d53a795a82
9: 0x26f7c - proxy_on_done
from aws-app-mesh-roadmap.
Thanks for getting back with the information so quickly. Yeah this looks like an issue that exists for a long time. We have found the corresponding code. We are working on a fix for this along with #484.
One question - was this issue affecting your fleet in anyway? Since it's been there for a while.
from aws-app-mesh-roadmap.
Thanks for getting back with the information so quickly. Yeah this looks like an issue that exists for a long time. We have found the corresponding code. We are working on a fix for this along with #484.
One question - was this issue affecting your fleet in anyway? Since it's been there for a while.
The issue in #484 resulted in metrics getting dropped. Our setup is similar to https://github.com/aws/aws-app-mesh-examples/tree/main/walkthroughs/howto-metrics-extension-ecs#optional-filtering-metrics-with-the-aws-distro-for-opentelemetry. If I had to guess this issue also caused something similar but we never noticed it because the impact was very low. Looking back at our logs I see this panic log a maximum of 3 times for a single service in one day but between scaling events and deployments we never noticed any impact.
from aws-app-mesh-roadmap.
This issue is fixed by Envoy release v1.27.3.0 #486
from aws-app-mesh-roadmap.
Related Issues (20)
- Bug: with ECS, /etc/hosts file in application container pollutes the envoy container as well HOT 1
- virtual gateway pods envoy not working with grpc 13
- Bug: virtual gateway pod is not working when I set disable 'sidecarInjectorWebhook' at namespace
- Feature Request: TLS connectivity between App Mesh Envoy and Application Container
- Feature Request: Release Envoy v1.26.3 HOT 1
- Caught Segmentation fault, suspect faulting address 0x0" HOT 1
- Feature Request: Release Envoy v1.26.4 HOT 4
- Bug: fix deprecation warning 'envoy.config.route.v3.WeightedCluster.total_weight' from file route_components.proto HOT 1
- Feature Request: Release Envoy v1.27.0 HOT 1
- XRAY_SAMPLING_RULE_MANIFEST has a length limit HOT 10
- Feature Request: Release Envoy v1.27.2.0 HOT 1
- username-password popup on access app from browser
- Feature Request: Automatically trigger envoy reload when certificates change on filesystem
- Bug: wasm log aws.appmesh.ingress_http_stats and aws.appmesh.egress_http_stats panicked HOT 9
- Feature Request: Release Envoy v1.27.3 HOT 1
- Bug: Metrics related to Outbound Traffic are not exported after enabling the appmesh metric extension re HOT 4
- [aws-appmesh-envoy] Too many open files error in version `v1.26.4.0+` in EKS Fargate HOT 11
- Envoy SDS / SPIRE Support for EKS Fargate
- Feature Request: Release Envoy v1.29.4.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-app-mesh-roadmap.