sentry-java
sentry-java copied to clipboard
Springboot/AWS Project doesn't show any Sentry logs depending on Java Version/AWS usage
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Customer reports that they are not able to view Sentry logs in prod. Using AWS Elastic Beanstalk and buildspec.yaml And the buidspc.yaml defines Java phases: install: runtime-versions: java: corretto17
Found this in their logs:
INFO a.a.u.LogMessageUtil. [ ] SENTRY-SENDING-EXCEPTION-TO-SENTRY: enabled: false, healthy: true
verified DSN is correct and that Sentry is not explicitly disabled
Customer reported to have tried the following versions, marked "WORKING" or "NOT WORKING" dependent on if logs were viewable:
Tested four different versions of JDK on my LOCAL Machine. LOCAL MACHINE (M1 Macbook Pro MAX) First: - WORKING openjdk version "17.0.7" 2023-04-18 LTS OpenJDK Runtime Environment Corretto-17.0.7.7.1 (build 17.0.7+7-LTS)
Second: WORKING openjdk version "17.0.11" 2024-04-16 LTS OpenJDK Runtime Environment Corretto-17.0.11.9.1 (build 17.0.11+9-LTS)
Third: NOT WORKING openjdk version "17.0.12" 2024-07-16 LTS OpenJDK Runtime Environment Corretto-17.0.12.7.1 (build 17.0.12+7-LTS)
Fourth: WORKING openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Corretto-21.0.3.9.1 (build 21.0.3+9-LTS)
..
AWS EC2 DEV: NOT WORKING openjdk version "21.0.4" 2024-07-16 LTS OpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode, sharing)
PROD: NOT WORKING openjdk version "17.0.12" 2024-07-16 LTS OpenJDK Runtime Environment Corretto-17.0.12.7.1 (build 17.0.12+7-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.12.7.1 (build 17.0.12+7-LTS, mixed mode, sharing)
Internal ticket reference number is #128628
--
Expected Result
To be able to view Sentry logs
Actual Result
No Sentry logs are viewable depending on if AWS is used and Java version
Product Area
Unknown
Link
No response
DSN
No response
Version
No response