Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Springboot/AWS Project doesn't show any Sentry logs depending on Java Version/AWS usage #3648

Open
ReneGreen27 opened this issue Aug 19, 2024 · 6 comments

Comments

@ReneGreen27
Copy link
Member

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

@getsantry
Copy link

getsantry bot commented Aug 19, 2024

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@mrduncan
Copy link
Member

Can you clarify what you mean by "logs"?

This sounds like a potential SDK issue but just confirming before transferring to getsentry/sentry-java.

@yanggun7201
Copy link

Can you clarify what you mean by "logs"?

This sounds like a potential SDK issue but just confirming before transferring to getsentry/sentry-java.

That is the Sentry logs in Sentry issues page.

@mrduncan
Copy link
Member

Can you share a link to one of the working and non-working events?

Feel free to email them to me if you don't want to share your organization name publicly: [email protected]

@yanggun7201
Copy link

Can you share a link to one of the working and non-working events?

Feel free to email them to me if you don't want to share your organization name publicly: [email protected]

It is not about events... it is about java version with sentry.
Even though I configured debug=true, there was no debug logs and no sentry events at all with some java versions both in local and AWS EC2.

@adinauer
Copy link
Member

We'll do some testing and update here once we know more. Can't give an ETA yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Needs Discussion
Development

No branches or pull requests

4 participants