Comments (6)
Hello there.
I also have this issue. Macbook Pro M2 on OSX.
- Install Supabase from Brew
supabase login
worked properlysupabase init
worked properlysupabase start --debug
ends up withfailed to connect to postgres: failed to connect to 'host=127.0.0.1 user=postgres database=postgres': dial error (timeout: dial tcp 127.0.0.1:54322: i/o timeout)
I generally can't inspect docker because container closes when postgres fails
I tried npx
method and the @beta
version too.
from cli.
What does docker inspect say after running db start? See if you can grab the output from the following steps
- start supabase db in background
supabase db start &
- run docker inspect
docker inspect supabase_db_<project_id>
from cli.
I ran only supabase db start &
and it worked somehow! Not sure if this was the fix or something else I did inadvertently
from cli.
I am having the same issue.
It randomly "works" after a while if supabase start
is spammed over and over again. Can we please re-open the issue and investigate this more?
This is the log of the spawned container:
PostgreSQL init process complete; ready for start up.
2024-01-14 10:37:23.792 UTC [10] LOG: pgaudit extension initialized
2024-01-14 10:37:23.796 UTC [10] LOG: pgsodium primary server secret key loaded
2024-01-14 10:37:23.815 UTC [10] LOG: starting PostgreSQL 15.1 (Ubuntu 15.1-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
2024-01-14 10:37:23.815 UTC [10] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-01-14 10:37:23.815 UTC [10] LOG: listening on IPv6 address "::", port 5432
2024-01-14 10:37:23.817 UTC [10] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-01-14 10:37:23.819 UTC [157] LOG: database system was shut down at 2024-01-14 10:37:23 UTC
2024-01-14 10:37:23.823 UTC [10] LOG: database system is ready to accept connections
2024-01-14 10:37:23.823 UTC [160] LOG: TimescaleDB background worker launcher connected to shared catalogs
2024-01-14 10:37:23.825 UTC [162] LOG: pg_cron scheduler started
from cli.
I am also running into this issue with a Macbook Pro M2 on OSX.
failed to connect to postgres: failed to connect to `host=127.0.0.1 user=postgres database=postgres`: dial error (timeout: dial tcp 127.0.0.1:54322: i/o timeout)
from cli.
It started working fine when I restarted my machine... very odd
from cli.
Related Issues (20)
- Invalid config for auth.email.magic_link.content_path HOT 1
- How to add email auth through commands HOT 2
- Error after running supabase db diff command HOT 10
- Support incremental migrations
- `_supavisor` schema tables deleted when running `db reset`
- Error running stack locally: `supabase/postgrest:v12.2.2 not found` HOT 4
- Allow the API_EXTERNAL_URL used by the gotrue service to be set
- Update vector to >=0.3.0 to support remote docker hosts HOT 4
- Podman complains about health check syntax errors HOT 3
- Unable to deploy functions because referenced dependencies are not available HOT 8
- Allow to skip seed even if file exists
- functions deploy uses container path in host resulting in files not found and failure to deploy
- Supabase gen types --db-url Fails Without Docker Desktop HOT 3
- Supabase dev service no longer starting, vector container keeps restarting HOT 9
- Local Project Link Request says update config.toml but no differences cited HOT 8
- Error Running Supabase Locally: Client.Timeout Exceeded While Awaiting Headers for /storage/v1/bucket HOT 3
- Functions folder is root on creation
- Revamp supabase/config.toml definitions
- Show auth config diff after supabase link HOT 1
- 'supabase stop' to use a cached version of config.toml used to start HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.