Giter Club home page Giter Club logo

Comments (7)

lucas-zimerman avatar lucas-zimerman commented on May 29, 2024 1

@bruno-garcia is that means we need to use separate dsn for iOS and android? Or is that ok to use the same dsn for both android and iOS?

You can use that the same dsn for Android/iOS.

from sentry-xamarin.

bruno-garcia avatar bruno-garcia commented on May 29, 2024
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

The error in your log is ^

This is an issue with Mono dealing with LetsEncrypt certificates. See:

We had this problem on an Xamarin.Android app we dogfood this SDK and we fixed it with this PR: getsentry/symbol-collector#121

The work around we used in order to be able to use Sentry until Xamarin resolves this is to use the AndroidHttpHandler as suggested in this issue xamarin/xamarin-android#6351

And to change the Sentry DSN from https://[email protected]/1 to https://[email protected]/1

from sentry-xamarin.

albilaga avatar albilaga commented on May 29, 2024

@bruno-garcia is that means we need to use separate dsn for iOS and android? Or is that ok to use the same dsn for both android and iOS?

from sentry-xamarin.

NoahSong avatar NoahSong commented on May 29, 2024

@albilaga Have you checked what type of HttpClient implementation is being used for you Android project?
You can check it in Android Project Properties > Android Options > Advanced
If it is not Android, then change it to Android.

from sentry-xamarin.

albilaga avatar albilaga commented on May 29, 2024

@NoahSong yeah. it is android client handler. I need to change the dsn like the one that provided by @bruno-garcia to make it work

from sentry-xamarin.

urastogi885 avatar urastogi885 commented on May 29, 2024

@bruno-garcia is that means we need to use separate dsn for iOS and android? Or is that ok to use the same dsn for both android and iOS?

You can use that the same dsn for Android/iOS.

I faced the issue on my Android app as well. However, I could not use the same DSN for both Android and iOS.
I has to use https://[email protected]/1 for Android and https://[email protected]/1 for iOS.

from sentry-xamarin.

bruno-garcia avatar bruno-garcia commented on May 29, 2024

We've documented this here: https://docs.sentry.io/platforms/dotnet/guides/xamarin/troubleshooting/#android

from sentry-xamarin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.