-
Notifications
You must be signed in to change notification settings - Fork 329
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container XXXXXX didn't respond to HTTP pings on port: 5100, failing site start. See container logs for debugging #1014
Comments
Hello @jnhrv, thanks for contributing to the Password Pusher community! We will respond as soon as possible. |
I restarted my service to see if there is an issue with the newest release build, but it seems fine.
|
Hi @jgudmundson-RETSD, thanks for helping out here.
Don't know what difference it makes if I use the B1 tier for App Service Plan and the Postgres is running on the following cheapest server config "Burstable, B1ms, 1 vCores, 2 GiB RAM, 32 GiB storage". |
The database should automatically be migrated on container start. In that screenshot, the line before states that the container exited which means a startup issue. The most likely culprit to this is a missing An example would be: DATABASE_URL=postgresql://user:passwd@host:5432/database-name Could you verify this? Last point - if you get the container startup output that will tell us exactly what the problem is.
|
@jgudmundson-RETSD @pglombardo I attached logs after I changed the App Service to the postgres:release image and set the DATABASE_URL again. |
That helps. The application can't parse or lookup the database connection specified in
Could it be that your real username or password have characters that conflict with the URI? Such as If so you may need to quote those strings or replace them with their UUEncode equivalent (@ == %40, |
@pglombardo @jgudmundson-RETSD Looks like it was truly related to the password that contained special characters. |
馃悰 Bug Report
Hi,
until now I successfully used the docker image running in Azure Web App Service pglombardo/pwpush-ephemeral:release
Now, it is required to avoid data loss from SQLite3 when the app restarts so I'm implementing MySQL or PostgreSQL database.
The following issue occurs after changing the image to pglombardo/pwpush-postgres:release
2023-04-12T13:37:26.195Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2023-04-12T13:37:28.540Z INFO - Initiating warmup request to container XXXXXXXX for site XXXXXXXX 2023-04-12T13:37:40.440Z ERROR - Container XXXXXXXX for site XXXXXXXX has exited, failing site start 2023-04-12T13:37:40.480Z ERROR - Container XXXXXXXX didn't respond to HTTP pings on port: 5100, failing site start. See container logs for debugging. 2023-04-12T13:37:40.546Z INFO - Stopping site XXXXXXXX because it failed during startup. 2023-04-12T13:40:16.487Z INFO - release Pulling from pglombardo/pwpush-postgres 2023-04-12T13:40:16.566Z INFO - Digest: sha256:9370bd1763816eabbde1a97a381d05e01ec41df32b06f97ccf6fd6a3b7b7a865 2023-04-12T13:40:16.578Z INFO - Status: Image is up to date for pglombardo/pwpush-postgres:release 2023-04-12T13:40:16.586Z INFO - Pull Image successful, Time taken: 0 Minutes and 0 Seconds 2023-04-12T13:40:17.574Z INFO - Starting container for site 2023-04-12T13:40:17.589Z INFO - docker run -d --expose=5100 --name XXXXXXXX -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_SITE_NAME=XXXXXXXX -e PORT=5100 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=XXXXXXXX.azurewebsites.net -e WEBSITE_INSTANCE_ID=2c847a802c8040b33d7df73fac3a50614d8069754a88be4922fa1677ca17ce3d -e WEBSITE_USE_DIAGNOSTIC_SERVER=False pglombardo/pwpush-postgres:release
馃敩 How To Reproduce
Steps to reproduce the behavior:
"name": "DATABASE_URL", "value": "postgresql://adminUsername:password@dbServerName.postgres.database.azure.com:5432/postgres", "slotSetting": true
I also read the #896 from @burak40 and deleted all configs except DATABASE_URL but no joy.
Code sample
Environment
Where are you running/using Password Pusher?
If applicable, what version of Password Pusher?
Screenshots
馃搱 Expected behavior
Successfully run the service with the db connected.
馃搸 Additional context
The text was updated successfully, but these errors were encountered: