volcanicislander
Explore posts from serversHTTP Logs Question
I have a service (web app) that I keep private and serve traffic to through Cloudflare Tunnel, also hosted as a railway service.
I noticed the Web App doesn't have HTTP Logs on deploys, and doesn't have a setting to enable them. I figured it was because it was private and confirmed by generating a public domain which allowed me to see HTTP Logs on the deploy.
My question is: is it possible to have HTTP Logs on a private service that is served through Cloudflare Tunnels (cloudflared)?
7 replies
Cron execution slightly delayed - normal?
I have a script which runs every 30 minutes via Railway's Cron support, in order to execute jobs at a specific time. The script contains multiple functions and determines which to run based on the time. I initially checked for the exact minute and hour i.e. 30th minute of 8th hour, but noticed that often the appropriate function would not execute because the actual execution of the container was after the 0th/30th minute. It seems to take some time from the start of the Cron trigger and the actual execution of the code, about 90 seconds.
Example from Deploy Logs where container executes after 1:10 has passed:
Current time: Wed, 07 Aug 2024 22:01:10 GMT
Is this normal? Does it have to do with Railway building a fresh container for each cron execution?
I have temporarily resolved the issue by giving the script's functions some wiggle room (~5min) but ideally if I want the script to run a certain function at 8:30, it should run at 8:30 or as close as possible.10 replies
Private networking connection refused
I have a web application connected to an API using private networking.
I seem to be receiving an error when trying to fetch.
The API is listening on "[::1]:8000" and the URL passed to fetch looks good to me:
http://my-api.railway.internal:8000/api/endpoint
I didn't specify https
per the docs.8 replies
Unable to connect to MSSQL container through TCP Proxy
I was able to build and run a SQL Server database through a Dockerfile, exposing the standard port and providing the proper build arguments but am unable to connect after setting up a TCP Proxy (since this is a Docker-based deployment and not a supported Database Service it doesn't have a connection string if I understand right).
The error I first receive when trying to connect from SQL Server Management Studio is:
I also receive the error:
Is this a TLS issue? I've tried various combinations of encrypt and trust server certificate parameters but to no avail.
77 replies