Error migrating Django database to Postgres by de SSH web

Rimar 1 Reputation point
2020-07-30T17:32:00.28+00:00

By migrating the database of a Django app, I can enter the virtual environment and install the dependencies. But when I try to migrate the database, the following messages are displayed: 'FATAL: Password authentication failed for user "root"' and 'FATAL: SSL connection is required. Please specify SSL options and retry.'

Could someone help me? Does anyone know what may be happening?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,908 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Rimar 1 Reputation point
    2020-08-07T15:30:48.46+00:00

    Thank you very much for the help @Grmacjon-MSFT . I have found the cause of the issue. It was caused by an error in filling in the environment variables. The error message confused me by assigning the cause to a SSL error. These messages should be reviewed. I apreciate your help. Best regards, take care and good luck for you.


  2. Rimar 1 Reputation point
    2020-08-11T22:24:23.677+00:00

    Hi @Grmacjon-MSFT ,
    The wrong environment variable was the "resource-group". My mistake was to put the application's resource group in place of the database resource group. It's a trivial error but the error message confused me.
    It's all right now. Thank you once more time.

    0 comments No comments