-
-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
- Cliente oficial falha com erro "400 The plain HTTP request was sent to HTTPS port"
- Socket direto com IP funciona perfeitamente
- Testado nas versões 2.12.0, 2.10.2 e 2.10.0
Processo realizado para chegar ao resultado
- Flutter 3.41.2 no Windows 10/11
- Adicionar supabase_flutter: 2.10.0 ou 2.10.2 2.12.0 -- mesmo erro em todas
- Chamar Supabase.initialize() e signUp()
- Erro aparece: '400 The plain HTTP request was sent to HTTPS port'
Versões:
Flutter: 3.41.2
supabase_flutter: 2.12.0
SO: Windows 11
Exception capturada: OSError (OS Error: Este host não é conhecido, errno = 11001)
Main exemplo:
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
await Supabase.initialize(
url: SupabaseConfig.supabaseUrl,
anonKey: SupabaseConfig.supabaseAnonKey,
);
final supabase = Supabase.instance.client;
runApp(
AppWidget(
supClient: supabase,
),
);
}
SignUp:
Future signUp({
required String email,
required String password,
}) async {
try {
await _client.auth.signUp(
email: email,
password: password,
);
} on AuthException catch (e) {
throw _mapSignUpError(e);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels