heyronii
heyronii
RRailway
Created by heyronii on 7/16/2024 in #✋|help
Can't connect to MongoDB
I added a variable reference of MONGO_PRIVATE_URL to one of my other services in the same project with the MongoDB. However, my backend keeps showing the following error:
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 6696c14bd809eb13faaf84ac, topology_type: Unknown, servers: [<ServerDescription ('mongodb.railway.internal', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 6696c14bd809eb13faaf84ac, topology_type: Unknown, servers: [<ServerDescription ('mongodb.railway.internal', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb.railway.internal:27017: [Errno -2] Name or service not known (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
I think the url is correctly configured because the error message explicitly states mongodb.railway.internal:27017, however it can't seem to reach the URL. Project ID: 89fdc23e-198d-43a2-8668-61b5b0306414 Service ID: a83ed6ae-fd71-4dab-b09a-771f7b82a336 Deployment ID: 0a0364b3-c4e4-4ec6-91a2-305a8c8e2162
11 replies
RRailway
Created by heyronii on 9/13/2023 in #✋|help
Deploy Logs Incorrectly Highlighting Logs as Error
No description
4 replies
RRailway
Created by heyronii on 11/12/2022 in #✋|help
Error deploying to changed environments
8 replies
RRailway
Created by heyronii on 11/10/2022 in #✋|help
Reirected to team page with hundreds of kiwi requests
I'm trying to reach my dashboard but I get redirected to https://railway.app/new/team page and the page sends hundreds of requests to https://kiwi.railway.app/?v=<some_key_here>.
13 replies
RRailway
Created by heyronii on 11/1/2022 in #✋|help
Passing $PORT in start command
Is this possible? How could I achieve this? I have a fastapi project running with the following command: uvicorn main:app --host 0.0.0.0 --port ${PORT} But I'm getting the following error: Error: Invalid value for '--port': '${PORT}' is not a valid integer.
7 replies
RRailway
Created by heyronii on 9/29/2022 in #✋|help
Blocked from too many requests on Discord
I have deployed a Discord bot on Railway, but recently I'm getting the following error:
nextcord.errors.HTTPException: 429 Too Many Requests (error code: 0): You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward.
nextcord.errors.HTTPException: 429 Too Many Requests (error code: 0): You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward.
The nextcord library already respects the rate-limits and when looking at the logs I do not see repeating requests. I'm guessing this discord rate-limiting is IP-based and my railway IP is being rate-limited right now.
4 replies
RRailway
Created by heyronii on 9/29/2022 in #✋|help
Download deploy logs
Is there a way to download the deploy logs? I want to see the context around the filtered messages like grep -C 5. But I couldn't find it possible with the current filtering on the web page.
1 replies
RRailway
Created by heyronii on 9/21/2022 in #✋|help
How much storage am I using?
Developer usage states that I can only have "Up to 100 GB Disk" that is "split between your services". How do I make sure I'm not going over that?
8 replies