Skip to content

How can my app connect to database in App Platform #15

@victor-felix

Description

@victor-felix

My Database settings contains my API Service in the Trusted Sources list.
The App Spec contains all Database configuration and my API Service configuration contains the Database's env variables, and reference the Dockerfile path.
But, when the App Platform try to make a deploy and the process try to connect in database, the log emit the following error:

Error: connect ETIMEDOUT 1X.XXX.X.X:XXXXX
[2022-10-04 21:52:36] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
[2022-10-04 21:52:36] errno: -110,
[2022-10-04 21:52:36] code: 'ETIMEDOUT',
[2022-10-04 21:52:36] syscall: 'connect',
[2022-10-04 21:52:36] address: '1X.XXX.X.X',
[2022-10-04 21:52:36] port: XXXXX
[2022-10-04 21:52:36] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions