Skip to content

Keep getting WEBSOCKET errors #117

Open
@tiger2014

Description

@tiger2014

My winform project was stucked many times and get Websocket error

Describe the bug

I used
var result2 = await _client.From<KZG01>() .Select(s => new object[] { s.Original_URL }) .Order(x => x.Id, Ordering.Descending) .Limit(1000) .Get();

and
var response = await _client.From<KZG01>().Insert(kzg);

to query and insert into supabase. But I keep getting WEBSOCKET errors and the winform app will be stcked when the error. the error in the log is like:

`2023-10-15 00:00:37.4985| Websocket.Client.WebsocketClient| [WEBSOCKET CLIENT] Error while listening to websocket stream, error: 'The remote party closed the WebSocket connection without completing the close handshake.'

2023-10-15 00:00:37.4985| Websocket.Client.WebsocketClient| [WEBSOCKET CLIENT] Error while stopping client, message: 'The remote party closed the WebSocket connection without completing the close handshake.'

2023-10-15 00:00:37.4985| Websocket.Client.WebsocketClient| [WEBSOCKET CLIENT] Error while listening to websocket stream, error: 'The remote party closed the WebSocket connection without completing the close handshake.'

2023-10-15 00:00:38.5850| Websocket.Client.WebsocketClient| [WEBSOCKET CLIENT] Error while listening to websocket stream, error: 'The remote party closed the WebSocket connection without completing the close handshake.'
`
this error was caused by supabase?

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '…'
  2. Click on '…'
  3. Scroll down to '…'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

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