directus-sync icon indicating copy to clipboard operation
directus-sync copied to clipboard

DO App platform return errors... sometimes

Open vwasteels opened this issue 10 months ago • 1 comments

Describe the bug

Sometime DO return an error. I just have to re launch the push and it works !

 vwasteels@indivisible  ~/code/sasi-o/sasi-o-api   main ±  npx directus-sync push
[16:41:25.078] INFO (6456): [config] No config file found. Tried path: 
- /Users/vwasteels/code/sasi-o/sasi-o-api/directus-sync.config.js
- /Users/vwasteels/code/sasi-o/sasi-o-api/directus-sync.config.cjs
- /Users/vwasteels/code/sasi-o/sasi-o-api/directus-sync.config.json
[16:41:25.805] INFO (6456): ⬆️  Push schema
[16:41:27.168] ERROR (6456):
    errors: "      <!DOCTYPE html>\n      <html>\n      <head>\n          <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n          <meta name=\"robots\" content=\"noindex\">\n          <style>body,html{height:100%;margin:0}body{display:flex;align-items:center;justify-content:center;flex-direction:column;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}p{text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;color:#000;font-size:14px;margin-top:-50px}p.code{font-size:24px;font-weight:500;border-bottom:1px solid #e0e1e2;padding:0 20px 15px}p.text{margin:0}a,a:visited{color:#aaa}</style>\n      </head>\n      <body>\n      <p class=\"code\">\n        Error\n      </p>\n      <p class=\"text\">\n        We encountered an error when trying to load your application and your page could not be served. Check the logs for your application in the App Platform dashboard.\n      </p>\n        <div style=\"display:none;\">\n          <h1>\n    via_upstream (503 URX)      </h1>\n          <p data-translate=\"connection_timed_out\">App Platform failed to forward this request to the application.</p>\n      </div>\n      </body>\n      </html>\n    "
    response: {}

vwasteels avatar Feb 10 '25 15:02 vwasteels

Hi @vwasteels It seems that the Directus is not available or DO is restarting the service/container. Can you check the logs of the service in App platform ?

EdouardDem avatar Feb 10 '25 15:02 EdouardDem

Here is the rendered HTML:

Image

EdouardDem avatar Aug 09 '25 23:08 EdouardDem