Issues information
- OS: windows
- databases: Mysql
- Programming language and version: Nodejs 14
- Link to your project on Github/Gitlab: GitHub - lorstenoplo/lireddit-api
Your issue
I have made an graphql api and tried deploying but always get this error:
deployment error application lireddit : error => EngineError { cause: User(“Your application has failed to start. Ensure you can run it without issues with qovery run
and check its logs from the web interface or the CLI with qovery log
. This issue often occurs due to ports misconfiguration. Make sure you exposed the correct port (using EXPOSE statement in Dockerfile or via Qovery configuration).”), scope: Application(“zb2e08560”, “lireddit”), execution_id: “ae9b1ac7-f1a8-4015-8602-edbed8900bec-17-1628229020”, message: Some(“Application lireddit (zb2e08560) has failed to start ⤬”) }
Dockerfile content (if any):
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package.json ./
COPY yarn.lock ./
RUN yarn
COPY . .
RUN yarn build
ENV NODE_ENV production
EXPOSE 4000
CMD [ "node", "dist/index.js" ]
USER node
I have exposed the ports correctly and my application has no error logs.
The qovery run
command isnt found…
Please help me out
Additional logs:
Execution ID: ae9b1ac7-f1a8-4015-8602-edbed8900bec-17-1628229020
Unable to retrieve logs for pod: app=app-lireddit Condition not met to start the container: Ready → ContainersNotReady: containers with unready status: [app-lireddit] Condition not met to start the container: ContainersReady → ContainersNotReady: containers with unready status: [app-lireddit] Condition not met to start the container: Ready → ContainersNotReady: containers with unready status: [app-lireddit] Condition not met to start the container: ContainersReady → ContainersNotReady: containers with unready status: [app-lireddit] Condition not met to start the container: Ready → ContainersNotReady: containers with unready status: [app-lireddit] Condition not met to start the container: ContainersReady → ContainersNotReady: containers with unready status: [app-lireddit] 2021-08-06T05:16:02Z Warning BackOff: Back-off restarting failed container 2021-08-06T05:46:26Z Warning Unhealthy: Liveness probe failed: dial tcp 10.244.47.77:8080: connect: connection refused 2021-08-06T05:31:37Z Warning Unhealthy: Readiness probe failed: dial tcp 10.244.47.77:8080: connect: connection refused 2021-08-06T05:12:10Z Warning BackOff: Back-off restarting failed container 2021-08-06T05:42:40Z Warning Unhealthy: Readiness probe failed: dial tcp 10.244.47.145:8080: connect: connection refused 2021-08-06T05:32:57Z Warning Unhealthy: Liveness probe failed: dial tcp 10.244.47.145:8080: connect: connection refused 2021-08-06T05:47:44Z Warning BackOff: Back-off restarting failed container