Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network related exceptions in package:gotrue/src/fetch.dart #1082

Open
lukasnevosad opened this issue Nov 10, 2024 · 0 comments
Open

Network related exceptions in package:gotrue/src/fetch.dart #1082

lukasnevosad opened this issue Nov 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lukasnevosad
Copy link

lukasnevosad commented Nov 10, 2024

Describe the bug
This is the same bug as described in #147 only in I am on server and using Supabase Dart (not Flutter)

I am sometimes logging dozens of warnings per second originating in package:gotrue/src/fetch.dart. These include:

with Stack trace:

"stackTrace": [
    "#0 GotrueFetch._handleRequest (package:gotrue/src/fetch.dart:179)",
    "<asynchronous suspension>",
    "#1 GotrueFetch.request (package:gotrue/src/fetch.dart:130)",
    "<asynchronous suspension>",
    "#2 GoTrueClient._refreshAccessToken.<anonymous closure> (package:gotrue/src/gotrue_client.dart:1079)",
    "<asynchronous suspension>",
    "#3 RetryOptions.retry (package:retry/retry.dart:131)",
    "<asynchronous suspension>"
  ]

The retry eventually succeeds it seems, as I don't see any related client errors logged.

To Reproduce
Happens sporadically, does not seem to be related to any client request

Version (please complete the following information):

dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client"
├── supabase 2.3.0
│   ├── functions_client 2.3.2
│   ├── gotrue 2.8.4
│   ├── postgrest 2.1.4
│   ├── realtime_client 2.2.1
│   ├── storage_client 2.0.3

Additional context
Server app is built with Dart Frog and hosted on GCP.

@lukasnevosad lukasnevosad added the bug Something isn't working label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant