-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Admin server returns HTTP 503 in 12.x #3128
Comments
Yup, will look into tomorrow |
@mkleczek I don't think CMD or PowerShell support such syntax, what shell are you using? If mingw/cygwin and/or WSL are involved, I'd like to know that too. In fact, now that postgrest installed from scoop doesn't run for me (which is another issue to file), I'd like to know even more details about your Windows & postgrest setup to reproduce the issue. Thank you in advance. |
Ahh, right. I run it from Git bash shell. I guess it is mingw then? |
I guess it is. What release did you use? |
2.43.0 (I suppose you mean Git release: https://github.com/git-for-windows/git/releases/download/v2.43.0.windows.1/Git-2.43.0-64-bit.exe If you mean Postgrest release then it's provided here: both 12.0.0 and 12.0.1 downloaded and extracted from Github releases: https://github.com/PostgREST/postgrest/releases/download/v12.0.1/postgrest-v12.0.1-windows-x64.zip |
Thank you for your patience. Could you do post the output of |
Will try to provide it but there is no configuration except the environment variables provided in the description. |
Yes, and default configuration too, which I am after. |
I've managed to get it, here: postgrest.exe --dump-config
|
So the admin server is not enabled. Probably because the env var is not set correctly. |
@wolfgangwalther right, just got it enabled; thanks for the heads-up. and voilà:
|
@mkleczek consider setting
and
|
|
Or rather a duplicate of #3204 |
Duplicate of #3204 it is |
Sorry for long silence (been away) and thanks for info - will verify ASAP |
Environment
Description of issue
Command to start postgrest:
PGRST_ADMIN_SERVER_PORT=3001 PGUSER=postgres PGPASSWORD=[password] postgrest.exe
Version 11.2.2 starts and returns HTTP OK from http://localhost:3001/ready and http://localhost:3001/live
Version 12.0.x starts but returns HTTP 503 from both above URLs
The text was updated successfully, but these errors were encountered: