Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO App platform return errors... sometimes #155

Open
vwasteels opened this issue Feb 10, 2025 · 1 comment
Open

DO App platform return errors... sometimes #155

vwasteels opened this issue Feb 10, 2025 · 1 comment

Comments

@vwasteels
Copy link

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: {}
@EdouardDem
Copy link
Member

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants