R
Railwayalexbalandi

TCP connection via private railway network times out

48f3719a-323b-4609-812c-5b818714b649 deployment id, 2d76fc7b-e09c-410f-b7e3-117dfccc41bf project id. I have a service with private networking on that should be available on personalized_assistant_core.railway.internal My other deployed service can't seem to connect to it over internal netwok, neither by internal url : Could not connect to personalized_assistant_core.railway.internal:8786. Error: Timed out trying to connect to tcp://personalized_assistant_core.railway.internal:8786 after 30 s nor by the resolved url : OSError: Timed out trying to connect to tcp://[fd12:ce2b:d076:0:4000:4:e7f5:36d8]:8786 after 30 s I deploy using dockerfile FROM python:3.10, I tried setting env var ENABLE_ALPINE_PRIVATE_NETWORKING=true. What could be the root of the problem? personalized_assistant_core.railway.internal does have one port exposed to the web, but i'm connecting to the other port, can that be an issue?
Solution:
Ok, the docs (You will need to bind to a IPv6 port to receive traffic on the private network) and duck debugging help. Ty, dear duck, you're extremely useful! :duck50: Problem resolved 🌚...
P
Percyβ€’17d ago
Project ID: 48f3719a-323b-4609-812c-5b818714b649,2d76fc7b-e09c-410f-b7e3-117dfccc41bf
A
alexbalandiβ€’17d ago
oohps, the actual prohect id is 2d76fc7b-e09c-410f-b7e3-117dfccc41bf Actually, now that I think about it, this specific port might be not exposed to internal railway network, the dask cluster I want to connect to (personalized_assistant_core service) listens at tcp://127.0.0.1:8786. πŸ€” Is it possible to somehow config it to be exposed/binded properly?
Solution
A
alexbalandiβ€’17d ago
Ok, the docs (You will need to bind to a IPv6 port to receive traffic on the private network) and duck debugging help. Ty, dear duck, you're extremely useful! :duck50: Problem resolved 🌚
B
Brodyβ€’17d ago
fwiw there's no such thing as exposed or not exposed on the private network, as there is no firewalls or anything of the sort on the private network, as long as it listens on ipv6 it doesn't matter the port or the protocol it will work. fyi python:3.10 is not an alpine based image, it's based on Debian.
Want results from more Discord servers?
Add your server
More Posts
Cron job(s) didn't run on schedule (every 6 hours)The last execution was around 15 hours ago, around the time I deployed it via Github.Trial with Pro planHey there! We are a very small startup! I just signed up with Railway and checked the pricing plans.Build rerunsWhen my application is building it build's succesfully, but when in tries to publish it will rebuilddata deleteddeleted an entire team project by mistake is there any way of getting back the instances // tables?Writting a file gives me an Error: EACCES: permission deniedI have to create and download files dynamically, in other questions on this discord, I have seen thaObservability - 24 hour time formatThe observability feature now displays the time in a 12-hour format, without indicating AM or PM. ItSlow Image PushSometimes on railway I'm noticing builds taking over 10 minutes just to build my next.js applicationPostgres crashes after configI ran the following command: `ALTER SYSTEM SET shared_preload_libraries = 'timescaledb,pg_stat_statebackup postgres R2What's the problem with this error? wrong credential? ``` Error while running backup: Error: getaddI cant deploy.Hello! i for some reason cant deploy my self hosted version of the zeppelin discord bot. Please helpHow do I create a template from the following Docker files?`Dockerfile` ```yml FROM postgres:16-alpine3.19 RUN apk -U add --no-cache \ alpine-sdk \ curl-Is it possible to use Redis?After all that has happened to Redis, is it still possible to create a Docker image and update it toIs it possible to use Redis?After all that has happened to Redis, is it still possible to create a Docker image and receive updaWatch paths to ignore on PR deployment (preview)I have watch paths set on the `preview` environment, but am still seeing instances spin up for new P