Giter VIP home page Giter VIP logo

Comments (4)

ahanusek avatar ahanusek commented on September 25, 2024

I'm observing the same issue in my React Native app, which uses supabase-js (2.43.2). Daily, hundreds of errors like that occur when trying to make some fetch or insert/update actions via the Supabase SDK. I have no idea where I should start debugging it.

from supabase-js.

modsushi avatar modsushi commented on September 25, 2024

It's caused by your network.

Change to a different router or internet connection. Just try your phone's hotspot and it will start working.
Not sure why it happens.

from supabase-js.

ahanusek avatar ahanusek commented on September 25, 2024

I'm doing also a lot of request to different APIs in the same time (Google Cloud function) and somehow I'm not observing this error there. It seems that the only solution right now will be wrap all requests to supabase with react-query and set some retry strategy.

from supabase-js.

f-bog avatar f-bog commented on September 25, 2024

I am encountering the error TypeError: Network request failed when making a large amount of requests (switching between multiple screens of my app a bunch of times).

@ahanusek I know this has been closed for a bit now. I'd like to know if you've made any progress on why this happens, or if there's another solution around it? Don't believe the retry strategy in react query would help my case as I seem to be getting the error from subsequent requests after getting the first one fails and will only fix itself after closing the app and reopening it.

@modsushi Seems to be network related obviously. But the subsequent requests thing is a little strange.

from supabase-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.