https://supabase.com/ logo
Join Discord
Powered by
# help
  • d

    Deleted User

    12/23/2021, 12:02 AM
    thank you for being honest
  • d

    Deleted User

    12/23/2021, 12:02 AM
    lol
  • h

    hips

    12/23/2021, 12:02 AM
    this is as far as I go without being paid sorry
  • d

    Deleted User

    12/23/2021, 12:02 AM
    yeah it's not a problem
  • d

    Deleted User

    12/23/2021, 12:02 AM
    thank you for helping this far though
  • h

    hips

    12/23/2021, 12:03 AM
    np
  • h

    hips

    12/23/2021, 12:06 AM
    I'm guessing your problem lies within nginx
  • h

    hips

    12/23/2021, 12:07 AM
    supabase and postgrest don't really have any settings as to CORS afaik
  • h

    hips

    12/23/2021, 12:07 AM
    and the self-hosted variant with kong works
  • d

    Deleted User

    12/23/2021, 12:07 AM
    yeah that's what I was just searching up
  • d

    Deleted User

    12/23/2021, 12:20 AM
    I guess for now I could just use port 8000
  • d

    Deleted User

    12/23/2021, 12:20 AM
    without nginx
  • h

    hips

    12/23/2021, 12:29 AM
    there's also a docker setup in the supabase repo that just works
  • h

    hips

    12/23/2021, 12:30 AM
    not sure if applicable
  • d

    Deleted User

    12/23/2021, 12:32 AM
    it's kinda too late now - I've already started migrating my project
  • r

    Ryan the Temp

    12/23/2021, 1:04 AM
    hey, when subscribing to a table, is there a way to populate the relations when the subscription callback triggers? or what is the best way to handle that?
  • v

    Village

    12/23/2021, 5:30 AM
    How can I set up an admin dashboard with supabase-js querying to bypass RLS stuff?
    k
    • 2
    • 5
  • m

    Meer_ahmad

    12/23/2021, 5:48 AM
    Hi Guys, I'm facing CORS issues while accessing supabase API's. Also, i lost my data in tables, so how i can resolve both issues? I'm using free plan.
  • r

    Rutik

    12/23/2021, 7:19 AM
    Hey, I am using google oauth in supabase, why i am getting logged out automatically after few mins, how do i fix this?
    k
    • 2
    • 7
  • k

    ktosiek

    12/23/2021, 8:08 AM
    google oauth, logged out automatically
  • k

    ktosiek

    12/23/2021, 8:10 AM
    bypass RLS
  • j

    Jason Chiu

    12/23/2021, 10:48 AM
    Hi everybody!
  • j

    Jason Chiu

    12/23/2021, 10:49 AM
    I have a question about how to run my Flutter App correctly on web. When I test and  hot reload my app, the stream connection lost and the app can not continue anymore unless I logout and re-login or re-run the app. Is there any guidance and set up for running app on web? (I can run my Flutter App smoothly on android, mac and iphone).
  • v

    VuNguyen

    12/23/2021, 2:26 PM
    Count foreign table
    • 1
    • 1
  • d

    Deleted User

    12/23/2021, 2:27 PM
    Is there a section for functions on the self-hosted version of supabase studio yet?
  • h

    HugoRaynal

    12/23/2021, 3:00 PM
    Hi Everyone 👋 I work at LabelFlow and we want to start using Supabase in production. We are about to release a new feature relying on a PostgresQL database hosted on Supabase. However, before releasing this in production, we performed a few stress tests to ensure everything would work as expected. Our tests revealed that we were often running on issues because we are using all the connections to the database. We deploy our web application on Vercel. As it uses Serverless functions, we know that we can easily require a lot of database connections when there is a high demand. We use pg_bouncer to handle connection pooling. However, even with pg_bouncer, we face this "too many connections" issue. My question is: Do we have a way to debug what's happening on pg_bouncer side? Ideally, I would like to be able to see the incoming connections, the size of the queues, etc... This would be quite useful for us to debug and find the queries creating those surges. I've noticed that on our PostgresQL db there is a
    pgbouncer
    schema and a
    pgbouncer
    user. I there a way for us to access this? Thank you very much everyone ❤️ (first time posting on the Discord, sorry if that's not the correct channel, I can repost on another channel, GitHub discussion or by email if you tell me that's better this way)
  • a

    aresnick

    12/23/2021, 4:53 PM
    Hi everyone! I'm looking for recommendations for how to set up a staging/production environment with Supabase for a headless CMS (Strapi). Our current setup looks something like the following: 1. Set up a local clone of the production DB. Develop with Strapi against that local DB on a feature branch. 2. Merge that feature branch into production. We'd like to add a staging step where we stage the DB on Supabase. To do this, we want to copy the production DB to a new DB on Supabase. What's the recommended way to do that? Can I just pipe the results of
    pg_dumpall
    (with
    --no-owner
    to avoid the need for a superuser) to to
    psql
    ? Is that lack of ownership going to be an issue?
  • a

    anothercoder

    12/23/2021, 5:32 PM
    Not sure if u seen this: https://supabase.com/blog/2021/04/02/supabase-pgbouncer
    h
    • 2
    • 1
  • i

    imtiaz

    12/23/2021, 7:55 PM
    the FAQ mentions postgres procedural functions can be written in python and javascript too. can anyone provide any resource/example on how thatd work
    l
    • 2
    • 3
  • l

    lawrencecchen

    12/23/2021, 8:14 PM
    plpython javascript
1...170171172...316Latest