hrhristov
hrhristov
RRailway
Created by Adrian Bienias on 8/16/2023 in #✋|help
Constantly growing RAM usage
A workaround is to run this as a Cron job, but note that the min time between jobs is 15 mins on Railway
16 replies
RRailway
Created by Adrian Bienias on 8/16/2023 in #✋|help
Constantly growing RAM usage
When helping others, I often use AI to reduce typing. However, I always proofread and only approve answers that match my intent.
16 replies
RRailway
Created by Adrian Bienias on 8/16/2023 in #✋|help
Constantly growing RAM usage
Yes, it is the GPT-4 wisdom 😀
16 replies
RRailway
Created by Adrian Bienias on 8/16/2023 in #✋|help
Constantly growing RAM usage
Your app may have a memory leak. Here's how to flatten the RAM usage: 1. Profiling: Use memory profiling tools specific to your language or framework to identify areas of the code that continually allocate memory without releasing it. 2. Database Connections: Ensure that database connections are closed properly after their use. 3. Caching: If you're using caching, ensure items are evicted when no longer needed. 4. Data Structures: Ensure large data structures or objects are de-referenced after use, allowing garbage collection to reclaim the memory. 5. Garbage Collection: If your language supports manual garbage collection, try triggering it periodically.
16 replies
RRailway
Created by Adrian Galilea on 8/10/2023 in #✋|help
telegram.error.TimedOut: Timed out
Yes, that is correct. If you need it, you can delay the startup of the bot until the private netowrking is set up, or handle the timeout error and retry until it succeeds.
29 replies
RRailway
Created by Adrian Galilea on 8/10/2023 in #✋|help
telegram.error.TimedOut: Timed out
Worked for me
29 replies
RRailway
Created by Adrian Galilea on 8/10/2023 in #✋|help
telegram.error.TimedOut: Timed out
@adriangalilea Problem may be due to private networking, after the bot is started, for the first few seconds it seems that it can't connect to public networks and throws a timeout error. Try to disable private networking in your deployed service Settings-> Environment
29 replies
RRailway
Created by hrhristov on 7/17/2023 in #✋|help
Error: Updating cron schedule
8 replies
RRailway
Created by hrhristov on 7/17/2023 in #✋|help
Error: Updating cron schedule
f5f27e0f-74c9-4522-8710-b95c13e08ec8
8 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
It's not urgent, it works on my laptop, but it's curious what could be the cause
25 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
Architecture is aarch64 , I have checked that the correct software is installed, it matches the hash of railway-v3.4.0-aarch64-unknown-linux-musl.tar.gz
25 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
I have updated to the latest version, but the issue persists: hristo@ubuntu-4gb-fsn1-1:~$ railway --version railwayapp 3.4.0 hristo@ubuntu-4gb-fsn1-1:~$ railway login -b Browserless Login Failed to fetch: error decoding response body: expected value at line 2 column 1 Caused by: 0: error decoding response body: expected value at line 2 column 1 1: expected value at line 2 column 1
25 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
there is no login link provided, but the same error
25 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
thanks! I am doing this over ssh, but even railway login -b fails in the same way
25 replies
RRailway
Created by hrhristov on 7/14/2023 in #✋|help
railway login fails
railwayapp 3.3.1
25 replies