Skip to content

Error on loading docker image #2

Description

@spitfire2903

In the nest-app I receive the following error:

2024-07-23 21:06:14 [Nest] 1  - 07/24/2024, 12:06:14 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (4)...
2024-07-23 21:06:14 error: no pg_hba.conf entry for host "172.18.0.3", user "postgres", database "TesloDB", no encryption
2024-07-23 21:06:14     at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:287:98)
2024-07-23 21:06:14     at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
2024-07-23 21:06:14     at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
2024-07-23 21:06:14     at Socket.<anonymous> (/app/node_modules/pg-protocol/dist/index.js:11:42)
2024-07-23 21:06:14     at Socket.emit (node:events:513:28)
2024-07-23 21:06:14     at addChunk (node:internal/streams/readable:324:12)
2024-07-23 21:06:14     at readableAddChunk (node:internal/streams/readable:297:9)
2024-07-23 21:06:14     at Readable.push (node:internal/streams/readable:234:10)
2024-07-23 21:06:14     at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions