inotmad
inotmad
RRailway
Created by inotmad on 12/28/2023 in #✋|help
Banned dependency stopping my build, even though I dont have one


[Region: us-west1]

====================================

Banned Dependency Detected!

====================================



torrent



Please remove this dependency from your project to use it on Railway


[Region: us-west1]

====================================

Banned Dependency Detected!

====================================



torrent



Please remove this dependency from your project to use it on Railway
I dont have any such dependency. These are the only ones I have:
discord.py
asyncpg
aiohttp
toml
cryptography
requests
beautifulsoup4
pandas
discord.py
asyncpg
aiohttp
toml
cryptography
requests
beautifulsoup4
pandas
My previous deploy did not have this error, and the only changes i made were to the readme. The readme itself did include a link to https://iknowwhatyoudownload.com/en/peer/. That was it. The app doesn't do anything related to torrents. 67eb78e7-2f57-4366-a75a-3906ca6f89d8
21 replies
RRailway
Created by inotmad on 12/24/2023 in #✋|help
Json columns not showing properly on pg web UI
co_hosts_id and data are json columns with data in them.
4 replies
RRailway
Created by inotmad on 10/29/2023 in #✋|help
How to stop a plugin.
I know they are disbaled when you exceed limits, but fortunately im not exceeding those. I just want to "hibernate" some projects, for that im wondering whether a db plugin can be stopped. I could dump it and then delete the plugin, but some option to just shut it down like a deploy would be neat, if it exists.
5 replies
RRailway
Created by inotmad on 7/19/2023 in #✋|help
Just making sure the hobby plan is waived
4 replies
RRailway
Created by inotmad on 7/11/2023 in #✋|help
aiohttp complaining about BadStatusLine in private network
have an aiohttp server running on host ::0.0.0.0 and port 8080. sending a post to the server on the link https://discorsa-bot.railway.internal:8080/lap but i get this on the server:
2023-07-11 17:03:27 ERROR aiohttp.server Error handling request
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"

2023-07-11 17:03:27 INFO aiohttp.access fd12:5b68:5300::2f:ca0f:e290 [11/Jul/2023:17:03:27 +0000] "UNKNOWN / HTTP/1.0" 400 204 "-" "-"
2023-07-11 17:03:27 ERROR aiohttp.server Error handling request
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"

2023-07-11 17:03:27 INFO aiohttp.access fd12:5b68:5300::2f:ca0f:e290 [11/Jul/2023:17:03:27 +0000] "UNKNOWN / HTTP/1.0" 400 204 "-" "-"
ive tried running this server on my local machine using host 0.0.0.0 and port 8080 and it works fine so that leads me to believe it definitely has something to do with private networking if i dont add the port in the link i noticed the port it sends to is different from the port that server gets from env variables so i just defined it as 8080 and added that to the link as well pls help? project ID: 45ce4783-9560-4cd6-9fe7-8982bd5ab434
13 replies
RRailway
Created by inotmad on 6/21/2023 in #✋|help
are timestamps in logs according to my timezone?
its kind of a silly question but i really need to double check.
6 replies
RRailway
Created by inotmad on 5/30/2023 in #✋|help
PostgreSQL not inserting data
So i have a bot that inserts data about files to a db that are uploaded to backblaze through it. I use postgre to keep track. im using psycopg2, and using the simple query:
CURSOR.execute('INSERT INTO lfs (file_id, file_name, user_id) VALUES (%s, %s, %s)', (file.id, ufile.filename, interaction.user.id))
CURSOR.execute('INSERT INTO lfs (file_id, file_name, user_id) VALUES (%s, %s, %s)', (file.id, ufile.filename, interaction.user.id))
This should be correct according to the psycopg2 docs. When i run the command, all goes well. The file is uploaded, the link for the file is returned, and no errors are printed. However when i check the table its empty? I tried running the query on railway, in the little tab for it, and it ran with no errors. What is interesting though is that the ID, which is a serial autoincrement field, was 3, meaning something was caught by the db, but the table was still empty. nothing was ever in the table. Im scratching my head at this. Project ID: 45ce4783-9560-4cd6-9fe7-8982bd5ab434
13 replies
RRailway
Created by inotmad on 5/23/2023 in #✋|help
App not building
I have an python app for a discord bot. This is my second one on railway actually the first one is working fine. The app does not build. There are no build logs. I added the start command already, there is a requirements.txt file present in the repo. I just don't get it. The app deploys but the bot never comes online, and then the app also crashes after about 3 or 4 minutes, which now that I come to think of it is close to the 300 second health check time. Anyways, I don't understand why it's not building. Please help 🫶
27 replies
RRailway
Created by inotmad on 3/31/2023 in #✋|help
A lil help with the pricing and plans
i have a smol app. just a discord bot that used maybe 0.5 to 1 dollar last month. now to my understanding you get 5$ for free every month, but the execution hours are limited to about 23ish days. so my question is, will adding credits unlock extra execution hours, if so how many and how will the credits be used since my app probably wont break past 5$
18 replies