Railway

R

Railway

Hang out with other likeminded developers & talk about all things https://railway.app on the Railway Community Server.

Join
GGonza4/18/2024

redis internal connection ENOTFOUND

i added sleep 3 in start command and cannot reach via private network
Tthemkrage4/18/2024

Any changes recently on Railway that could cause this Auth0 error?

I randomly started getting errors from auth0 that from my research, only happen when the server can't access auth0. auth0 still works locally and when not hosted on Railway. I'm trying to rule out any recent change on railway that could cause this issue. Anything related to limiting web traffic recently get pushed? Here is the error I now run into and a forum post about possible things that could cause it, including changes to ports, or changes to the default node.js railway container: https://community.auth0.com/t/login-handler-failed-cause-discovery-requests-failing-for-https-stattracker-uk-auth0-com/128627/8...
Rrwbbets4/18/2024

React Native Web Deployment

Hi there. I have a react-native-web project boilerplate project and I was wondering if someone could assist me with deploying it to railway! https://github.com/nworbdier/bethqweb...
TMThomas Mendonça4/18/2024

Build on Railway

I need to make a PHP 7.3 application with laravel. What is the simplest way and how can I create an infrastructure on the railway?
FFaith4/18/2024

Larvel API wakes up from nap with a error but when hit again with another request it works

Hey guys im currently using Laravel 10. And i am trying to use the "sleep" feature but when my app is sleeping, and if i do a get request it will take some time to spin up (expected) but then it wil throw a NGINX problem shown on the screenshot below. any idea?...
No description
Nnejat-njonjo4/18/2024

Failing to spin up Typesense

I am trying to setup a Typesense service from
typesense/typesense:26.0
typesense/typesense:26.0
docker image. I added all required env configs but it fails to start the image.
OObstkompost4/18/2024

Bug?: Groups around the apps disappeared and the arrangement of the apps was suddenly mixed

When I just logged in and looked at my deployments, the groupings that I created were gone and the deployments were arranged completely differently. Some deployments were on top of each other. When I looked at it this morning, everything was still correct. Not all of my projects were affected. Only one. ...
Nnejat-njonjo4/18/2024

Clarification on Pricing

Does the pricing apply to a project or per single service under that project? So for example, I have a Project Doom, under this project I have two services, am I going to pay for Project Doom or individual services under Project Doom?...
Solution:
The pricing isn't based on any specific service or project you have, rather you're billed for your global usage, although projects themselves can't cause any usage, it's the services within the project that'll incurr usage and therefor also billing Meaning if you have 3 services across 2 projects, and each service uses 1 dollar then you'll be billed 3 dollars at the end of your billing cycle...
BBellinghamino4/18/2024

Can't delete environment

Hey, I've been trying to delete an environment on my project for weeks but it's still stuck on "Applying changes" Could someone from the Railway team please delete it manually? I keep getting unrelevant "deployment crashed" emails which is pretty annoying...
FFlameFace4/18/2024

Issue with chunk load

Everything is fine in production domain provided by railway, but not in custom domain
Solution:
Could be cache? try a hard refresh?
No description
Ssomemartin4/18/2024

Directus: Forgot Superadmin Password

Hello I have this directus project self hosted on railway. I somehow changed to a new device and didn't manage to backup password for my directus project, is there any way i could retrieve it? I have the database urls and variables saved on my railway project.
Solution:
isnt the password set as a service variable?
JJay4/18/2024

Getting a "prefix not found" error when running railway up

I'm trying to deploy a monorepo via railway CLI but only one of the repos is deployed on railway, so i'm using Docker to do so and using railway.json inside the repo folder for the configuration. When I run railway up --servicename --environment <PATH_TO_RAILWAY_JSON> I'm getting a prefix not found error.
Indexed Compressed [====================] 100% prefix not found
Indexed Compressed [====================] 100% prefix not found
Is there a way to know where the error is/how to fix it? ...
Ccerwind4/17/2024

Manually Deploy from Branch?

There doesn't seem to be a clear way to manually deploy from a branch? I had a server that was auto deploying from main but I now want to manually deploy new changes instead but I can only redeploy the previous deployment...surely I'm missing something here...?
Mmas4/17/2024

Build Command Help

is it possible to make railway use dotnet 4.8 instead of 6.0?
Solution:
seems like that version isnt supported, looks like you will need to write a Dockerfile to build your app with 4.8
RRapl4/17/2024

Read and write txt file in repository

I have a github repository with a python script, Procfile, requirements.txt and points.txt but the python file cant write in it
Solution:
use postgres
TMThomas Mendonça4/17/2024

Build PHP 7.3 with Laravel. How can i do it?

I have an old application. How can i make build in service?
No description
SSid4/17/2024

TLS certificate has taken over 24 hours for a custom domain

I have 2 custom domains - 1 using a subdomain and 1 using the root. The one on the subdomain is working fine but the root is not
No description
Bbotdev4/17/2024

Redis For Vector Search (GenAI)

I have Redis database deployed on Railways Pro plan. I want to add LLM Retrieval Augmented Generation (RAG) to my application. I have be implementing langchain for LLM interactions and I want to use Redis vector database. Langchain says for RAG it is recommended to use Redis Enterprise. My question is if the Redis database servise which is provided by Railways is the Redis Enterprise version? Is it good enough for production level RAG?
NNicky4/17/2024

What is the best way to install private npm packages?

My usecase is that my node app needs to install a package from a private github registry. What I would normally expect is to be able to pass a .npmrc (like Vercel) or a token from the env variables and have the usual installation during the build step. As per my understanding this is not currently supported by railway. So my question is, what would be the best workaround in this case? I'm not using a custom dockerfile for the build....
Solution:
You kinda answered it yourself.. Use a custom Dockerfile for the build
Next