Pepijn
Explore posts from serversNew Edge Proxy 5xx errors
All our projects using the new edge proxy are having many intermittent 5xx errors since the 1st of august.
I guess there have been some updates to the proxy resulting in these errors.
Our projects often consists of a Strapi CMS and/or a MedusaJS backend with a NextJS frontend. If the backends use the Edge proxy these errors will directly occur during build time of the NextJS project, but also during runtimes when a dynamic fetch is done by the NextJS server to one of the backends.
Switching back to the legacy proxy works perfectly fine.
16 replies
Env variables available during build but not runtime of PHP application
I have succesfully been able to build a laravel project with a custom dockerfile, and the container gets up and running. The only thing not working seems to be the loading of the variables. I have also added a test.php file to read from getenv / $_ENV / $_SERVER but all of those turn up empty. (https://backend-staging-9bdd.up.railway.app/test.php)
With our NodeJs/NextJs projects everything works fine.
5 replies
V2 runtime issue when setting port as 443
I just created a new instance with automatically the V2 runtime set and here the builds do not deploy and I get the error message:
When I switch the runtime back to Legacy, it works and deploys correctly.
If I try to change the port to something else, i.e. 3000, with the V2 runtime the healthcheck does not work. It is a NextJs project.
21 replies
Lost a service on the canvas
Hi, for one of our projects a service block is 'missing' on the canvas and nowhere to be found. It still exists, I can see in through observability and there with the service ID I can still open the specific service. But I need it back on the canvas, how can I do that?
9 replies
Sporadic Request failed with status: 503
I have a NextJs build where I pull in data from a Strapi CMS instance. This goes well half the time, the other half of the time I get sporadic 503s for some endpoint fetches. Going manually to those routes always works. Rebuilding works also most of the time. Everything is hosted in one Railway project.
What could cause these 503s? And how could it be resolved.
6 replies
Force app sleeping / pause or shutdown instances
Besides the automatic app sleeping, is there a way to force shutdown or pause instances?
Use-case: we use staging environments for projects, but sometimes the development on a specific project is idle for a while. For that period of time I want to shutdown or pause an environment or all instances in it without losing all configuration.
7 replies
Redeploy without cache
I have an instance with NextJs deployed, where the .next cache folder needs to be cleared, because the build had stale files and breaking the build output. I need a way to remove that file, more easily I would expect to have a checkbox on redeploy, to redeploy without any caches.
I created a second image with exact same configuration, which works for now. But of course in production not really an option to do it like this, to create a new instance and reset domains.
9 replies
Waiting for build to start
I have encountered multiple times already that builds take 5 minutes to start, showing a message "Waiting for build to start...".
This is the only build running for my account and no other projects or environments in queue. Why does this happen?
38 replies
Committing changed settings are skipped
When updating variables or settings and committing these changes with the new UI, the builds are skipped when the last commit has no changes in the watch patterns. One would expect that a build triggered by updating variables or settings are always executed and not skipped.
12 replies
Postgres private database URL issues
Is it possible to change the postgres password? New instances of postgres were recently updated to contain special characters, but this is breaking node-postgres connection for us.
Error starting server Error: The specified connection string for your PostgreSQL database might have illegal characters. Please check that it only contains allowed characters [a-zA-Z0-9]
7 replies