You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Map doesn't load due to certificate verification is there any way to disable it? I found some solution however I don't know how to apply them
here is the solution which I found but I don't know how to use that.
_client = new HttpClient();
_client.badCertificateCallback = (X509Certificate cert, String host, int port) => true;
Error log:
I/flutter (23416): The following FetchFailure was thrown NetworkImageWithRetry failed to load
I/flutter (23416): https://my map url:
I/flutter (23416): FetchFailure(
I/flutter (23416): attemptCount: 1
I/flutter (23416): httpStatusCode: null
I/flutter (23416): totalDuration: 0:00:02.896710
I/flutter (23416): originalException: HandshakeException: Handshake error in client (OS Error:
I/flutter (23416): CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:363))
I/flutter (23416): )
The text was updated successfully, but these errors were encountered:
My Map doesn't load due to certificate verification is there any way to disable it? I found some solution however I don't know how to apply them
here is the solution which I found but I don't know how to use that.
Error log:
I/flutter (23416): The following FetchFailure was thrown NetworkImageWithRetry failed to load
I/flutter (23416): https://my map url:
I/flutter (23416): FetchFailure(
I/flutter (23416): attemptCount: 1
I/flutter (23416): httpStatusCode: null
I/flutter (23416): totalDuration: 0:00:02.896710
I/flutter (23416): originalException: HandshakeException: Handshake error in client (OS Error:
I/flutter (23416): CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:363))
I/flutter (23416): )
The text was updated successfully, but these errors were encountered: