Skip to content

InitializeAsync dead lock when AutoConnectRealtime = true #172

Open
@Arktische

Description

@Arktische

Bug report

Describe the bug

InitializeAsync never returns when set AutoConnectRealtime = true

To Reproduce

             Supabase.Client? cli;
            Task.Run(async () =>
            {
                var options = new Supabase.SupabaseOptions
                {
                    AutoConnectRealtime = true,
                    AutoRefreshToken = true
                };
                var client = new Supabase.Client(url,key, options);
                await client.InitializeAsync();
                cli = client;
            }).Wait(); // stuck here, never return

Expected behavior

Should return

System information

  • OS: macOS
  • .NET 8.0
  • ARM64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions