-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Error events are not recorded in Sentry dashboard #4221
Comments
Thank you for reaching out here @jenipharachel ! Couple of points to help you resolve this issue faster:
|
|
Hi @jenipharachel, which version of self-hosted are you using? And could you by any chance check if the error is recorded if you use sentry.io (on a free tier)? |
@lucas-zimerman I'm using "@sentry/react-native": "^5.33.1". And yes, I checked with a free tier project and it is not getting logged there as well. |
Hi @jenipharachel, Also please share with us an example code of how are you testing the reporting, Does it happen both on iOS and Android, Emulator and Real Device? If on Android could you also hare a logcat logs with us? |
@krystofwoldrich I added the below code for testing. DefaultButton is a component already used in our code. It occurs in both. I have not tested in a real device but We had been receiving multiple crash reports from users but none are logged in the Sentry dashboard.
When I tested in iOS simulator, I saw the below logs when I clicked on the button
In Android emulator, When I clicked on the button I received the a long list of logs, I have added a part of the logs below
|
@jenipharachel Thank you for the logs. The envelopes are not being uploaded to Sentry due to Permanent Move 301 return code.
Are these logs from Sentry.io DSN or from the Self Hosted? |
@krystofwoldrich The above logs are from the self-hosted one. Do you want the logs from Sentry.io DSN? |
@krystofwoldrich I tried with Sentry.io today again and it seems to be working for that now. Am I missing something like a key step in the installation for self-hosted? |
Hi @jenipharachel, |
What React Native libraries do you use?
React Navigation
Are you using sentry.io or on-premise?
on-premise (Self-Hosted)
@sentry/react-native SDK Version
5.33.1
How does your development environment look like?
info
OS: MacOS
Node: v16.9.0
Yarn: 1.22.19
react: "17.0.2"
react-native: "0.67.2"
hermesEnabled: false
newArchEnabled: false
Sentry.init()
Steps to Reproduce
Expected Result
Crashes to be recorded in Sentry
Actual Result
Crash occured but was not recorded in Sentry Dashboard. Production bugs are also not recorded in the Sentry Dashboard.
The text was updated successfully, but these errors were encountered: