Fragly
Fragly
Explore posts from servers
CDCloudflare Developers
Created by Fragly on 1/14/2024 in #general-help
Cloudflare slows down my website
I'm running a silly little expressjs server on a laptop in South Africa The website has about 3ms response time from my computer 5 feet away from laptop normally, but when I proxy through cloudflare then I suddenly get 500ms to 900ms delay. From what I can tell it also routes my website through London instead of a server in South Africa, but even then 500-900 ms delay seems unreasonable Anyone have any clue what's causing this?
14 replies
RRailway
Created by Fragly on 1/1/2024 in #✋|help
Test Post
Testing...
16 replies
RRailway
Created by Fragly on 10/8/2023 in #✋|help
Explain App Sleeping
I'm super confused on how app sleeping works from how I understand, your app will be put to sleep if inactive, but how does railway know when to restart it? I'm assuming if a request is made to the URL then the app is woken up but what about apps that don't use URLs, like discord bots?
26 replies
RRailway
Created by Fragly on 7/29/2023 in #✋|help
using multiple ports in Railway service
I have a project that uses both express.js and websockets, I assume they should use different ports, but as I understand- you can only use the port railway gives you. Can I only use one port per service? Meaning I'd have to pick between websockets and REST APIs?
10 replies
RRailway
Created by Fragly on 7/12/2023 in #✋|help
Add python to node.js deployment
Is there a way to add python to a deployment? I run code in untrusted code in an isolated vm in my project and it needs python to function
10 replies
RRailway
Created by Fragly on 4/28/2023 in #✋|help
How do I upload a static site to railway?
This is probably a silly question ahhaha
76 replies
RRailway
Created by Fragly on 4/18/2023 in #✋|help
Clarification on rules
I have a discord bot, and I want to add voice commands, text to speech and speech to text I saw someone be banned the other day for having a discord music bot on railway because it uses too much data would it be fine for the context I'm using it for?
10 replies
RRailway
Created by Fragly on 3/15/2023 in #✋|help
Handshake timeout error on mySQL
// ---> DATABASE
await mysql.connect()
const db = new QuickDB({ driver: mysql })
// ---> DATABASE
await mysql.connect()
const db = new QuickDB({ driver: mysql })
the error points to where I assign my db I'm using quickdb.js with promise-mysql project ID: ad4f96c1-5839-4882-89ea-53b1a95f4719
34 replies
RRailway
Created by Fragly on 3/14/2023 in #✋|help
db file not carrying over to new deployment
i'm using better-sqlite3 it seems that the db file is just falling back to the last save I had before hosting on railway every time I make a new deployment but all updates made in the current deployment stays, just resets when I redeploy
14 replies
RRailway
Created by Fragly on 3/12/2023 in #✋|help
SSH support? [ YES, IT DOES ]
Does railway support SSH? asking for a friend project id: N/A
5 replies
RRailway
Created by Fragly on 3/11/2023 in #✋|help
12 GB Ram Usage [ SOLVED ]
I'm hoping this is just a bug but I just want to make sure.. it's been about 1 hour since I deployed a simple discord bot that just sends images ( through URLs ) from a site doesn't do much else and my memory usage is just under 12 gb, every time I check back it' increases..
19 replies