supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
662 stars 155 forks source link

CERTIFICATE_VERIFY_FAILED issue on my service. #810

Closed growthondev closed 5 months ago

growthondev commented 5 months ago

Describe the bug It shows CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:393) error

To Reproduce Steps to reproduce the behavior: It happens after January 26th. And it shows certificate error

Expected behavior should not have any problem.

Screenshots Screenshot 2024-01-26 at 5 25 44 AM

Version (please complete the following information): On Linux/macOS Please run dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client" in your project directory and paste the output here.

Screenshot 2024-01-26 at 5 26 44 AM

On Windows Please run dart pub deps | findstr "supabase gotrue postgrest storage_client realtime_client functions_client" in your project directory and paste the output here.

Additional context It happens after Jan 26th.

dshukertjr commented 5 months ago

What OS are you running your application on?

We've had similar reports in the past, and back then the cause was using an outdated version of Android. https://github.com/dart-lang/io/issues/83

growthondev commented 5 months ago

Hi @dshukertjr ! Thank you for your comment! I'm having the same error message both android and ios. I've been using supabase since 2022 and I don't have any problem so far but I got the error today on both ios and android.. Was there anything I should do for IPv4 deprecation even if I use flutter supabase package ? My working app is down now..

dshukertjr commented 5 months ago

@growthondev

Was there anything I should do for IPv4 deprecation even if I use flutter supabase package ?

No, there isn't anything that you needed to do if you are just using the Flutter package.

It might be an instance-specific issue. Could you open a support ticket from supabase.help?

growthondev commented 5 months ago

hi @dshukertjr I just provisioned a new instance using a new account and test if it works but it worked. I guess there is something wrong in my original account since all two instances are showing the same error message. I will create a ticket as you recommended! thanks a lot!