Skip to content
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

Docker user auth fail when you try to start the project #4

Closed
Carlos3du opened this issue Apr 19, 2024 · 1 comment
Closed

Docker user auth fail when you try to start the project #4

Carlos3du opened this issue Apr 19, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Carlos3du
Copy link
Collaborator

We changed the password in "src\database\index.js" and we used the command "\password" through the postgres docker, but the error still persists in both attempts

The error message that returns:

error: autentica��o do tipo senha falhou para o usu�rio "evaluat-adm"
    at D:\Repositories\evaluat-backend\node_modules\pg-pool\index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  length: 116,
  severity: 'FATAL',
  code: '28P01',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'auth.c',
  line: '326',
  routine: 'auth_failed'
}

Node.js v20.10.0
@Carlos3du Carlos3du added bug Something isn't working help wanted Extra attention is needed labels Apr 19, 2024
@Carlos3du Carlos3du changed the title Docker user auth fail when you try to start the project ("npm run dev" or "npm start") Docker user auth fail when you try to start the project Apr 19, 2024
@Carlos3du
Copy link
Collaborator Author

The problem was successfully solved ✅
Solution found on the "eddex" issue comment in the repository bellow (Option 1):

image
sameersbn/docker-postgresql/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant