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

After installing Sentry with the wizard the events are not being reported #4079

Open
6 tasks
CH-SebastianEscalona opened this issue Sep 11, 2024 · 7 comments
Open
6 tasks

Comments

@CH-SebastianEscalona
Copy link

CH-SebastianEscalona commented Sep 11, 2024

OS:

  • Windows
  • [ x] MacOS
  • Linux

Platform:

  • [x ] iOS
  • [ x] Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.31.1

react-native version: 0.74.4

Are you using Expo?

  • Yes
  • [ x] No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • [x ] on-premise

I have the following issue:

[Description]

Steps to reproduce:

  • Install sentry sdk using the wizard npx @sentry/wizard -s -i reactNative
  • Try capture an exception using the example given at the end of the wizard flow

Actual result:

Not seeing any events on the sentry dashboard

@krystofwoldrich
Copy link
Member

Hi @CH-SebastianEscalona,
thank you for the message,

what version of on-premise Sentry are you using?

Is the DSN correctly set by the wizard and pointing to your on-premise instance?

Is this the code snippet you are using to test the error reporting?

<Button title='Try!' onPress={ () => { Sentry.captureException(new Error('First error')) }}/>

Could you set debug: true in the Sentry.init and check if there are any errors in the JS console or Logcat or iOS Console?

@CH-SebastianEscalona
Copy link
Author

CH-SebastianEscalona commented Sep 12, 2024

Yes, that's the code snippet I'm using. The version of the sentry is the 9.0.0. And yes the DSN is correctly set. The init doesn't throw any logs is set on the App.tsx

@krystofwoldrich
Copy link
Member

Hi @CH-SebastianEscalona,
thank you,

can you share your Sentry.init, add debug: true and share the logs from JS console, Logcat and iOS Console?

@CH-SebastianEscalona
Copy link
Author

Hi! @krystofwoldrich , sorry for the delay. Here are the logs thrown with debug: true

Image

My Sentry init is currently like this

Sentry.init({
  dsn: 'htttps://....',
  debug: true,
});

@mauripavan
Copy link

mauripavan commented Sep 17, 2024

Hi, facing exactly same issue migrating from sentry.io to self-hosted. Any update on that?

@kahest
Copy link
Member

kahest commented Sep 18, 2024

@mauripavan no update as of now. Which versions of the SDK and self-hosted Sentry are you using? Did you also use the Wizard in the same way described above?

@mauripavan
Copy link

Hi @kahest! These are the versions being used:

self-hosted Sentry: 24.9.0.dev0
sentry/react-native": 5.32.0

And yes, I'm using the wizard in the same way described above.

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

No branches or pull requests

4 participants