Open
Description

Hi,
The above exception occurs sometimes during
- Hot restart
- Multiple times calling disconnectAndClear and reopening connection with new auth token.
We use the same base url for both our
- Normal API calls
- Connecting to powersync instance
What we have noticed and this is not reproducible is that, sometimes when above issue occurs, our normal API calls also stop working and we receive a response of this type for all API calls until users logs out of the app.
HttpException: Connection closed while receiving data
As we are using Dio library for our API calls, we get this exception type in dio
DioExceptionType.unknown
Metadata
Metadata
Assignees
Labels
No labels