Issues information
-
OS:
Windows 10 -
databases:
None -
Programming language and version:
NodeJS 12 -
Link to your project on Github/Gitlab:
Sorry It’s private but here is the summarized code:
//Dependencies
const Body_Parser = require("body-parser")
const Simplest_DB = require("simplest.db")
const CryptoJS = require("crypto-js")
const D_Forest = require("d-forest")
const Express = require("express")
const Fs = require("fs")
//Variables
const Port = 3000
const Web = Express()
const Database = new Simplest_DB({
path: "./database.json"
})
///Configurations
//Express
Web.use(Body_Parser.json())
//Main
Web.use("", function(req, res){
res.send("test")
})
Web.listen(Port, ()=>{
console.log(`Server is running in port ${Port}`)
})
- Link to your application - starting with https://console.qovery.com/…
Qovery Web Console | The simplest way to deploy your full-stack apps in the Cloud
Your issue
Here are the errors that comes out everytime my deployment is finished, also every deploy It takes up to 45 minutes for some reason, which gives me a lot of patient.
1:
deployment error application zd92ed216 : error => EngineError { cause: User("Your application has failed to start. Ensure you can run it without issues with
qovery runand 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("zd92ed216", "zd92ed216"), execution_id: "0818475b-1e98-4af2-a6de-332923410b39-23-1633763104", message: Some("Application zd92ed216 (zd92ed216) has failed to start ⤬") }
2:
Unable to retrieve logs for pod: app=app-zd92ed216
Condition not met to start the container: Ready -> ContainersNotReady: containers with unready status: [app-zd92ed216]
Condition not met to start the container: ContainersReady -> ContainersNotReady: containers with unready status: [app-zd92ed216]
2021-10-09T07:19:46Z Warning Failed: Failed to pull image "registry.digitalocean.com/default-docr-registry-qovery-do-test/zd92ed216:613127214836223735-1c86b74afe86d5d0970a787cab7a538580f696ff": rpc error: code = Unknown desc = Error response from daemon: Get https://registry.digitalocean.com/v2/default-docr-registry-qovery-do-test/zd92ed216/manifests/613127214836223735-1c86b74afe86d5d0970a787cab7a538580f696ff: unauthorized: authentication required
2021-10-09T07:19:46Z Warning Failed: Error: ErrImagePull
2021-10-09T07:19:59Z Warning Failed: Error: ImagePullBackOff
Dockerfile content (if any)
specify here your dockerfile content
FROM node:12
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . .
RUN npm install
EXPOSE 3000
CMD ["node", "index.js"]