Anubhav
Anubhav
RRailway
Created by Anubhav on 9/1/2024 in #✋|help
How i can add custom domain?
No description
17 replies
RRailway
Created by Anubhav on 8/17/2024 in #✋|help
image processing
It is possible to do image processing at railway? ,i want to extract features from the image and send it to Amazon S3 ,is it possible? I want this flexibility for one of my project
10 replies
RRailway
Created by Anubhav on 8/16/2024 in #✋|help
want to setup pub/sub architecture
I want to run discord bot and inside that bot my api as I am trying to make pub sub architecture my question is that which port will be open for a api,I will be using fastapi
20 replies
RRailway
Created by Anubhav on 8/13/2024 in #✋|help
Logs not showing warning only info and debug is shown
No description
5 replies
RRailway
Created by Anubhav on 8/12/2024 in #✋|help
Database private url not working
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/2ff8f070-ab0c-4ee7-9676-2d3b36a36e0f/vol_8chdamizrj575fwk

Starting Container

[2024-08-12 19:18:19] [INFO ] discord.client: logging in using static token

2024-08-12 19:18:40.255 | WARNING | afw_bot.ext.utils.database:connect:15 - 2024-08-12 19:18:40 Failed to connect to the database: Multiple exceptions: [Errno 111] Connect call failed ('::1', 5432, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5432)

Traceback (most recent call last):

File "/app/afw_bot/main.py", line 155, in run

super().run(*args, **kwargs)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 869, in run

asyncio.run(runner())

File "/root/.nix-profile/lib/python3.11/asyncio/runners.py", line 190, in run

return runner.run(main)

^^^^^^^^^^^^^^^^

File "/root/.nix-profile/lib/python3.11/asyncio/runners.py", line 118, in run

return self._loop.run_until_complete(task)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/root/.nix-profile/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete

return future.result()

^^^^^^^^^^^^^^^

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 858, in runner

await self.start(token, reconnect=reconnect)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 786, in start

await self.login(token)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 629, in login

await self.setup_hook()

File "/app/afw_bot/main.py", line 59, in setup_hook

await self.db.create_tables()

File "/app/afw_bot/ext/utils/database.py", line 22, in create_tables

raise RuntimeError("Database pool is not initialized")

RuntimeError: Database pool is not initialized

2024-08-12 19:18:40.284 | CRITICAL | afw_bot.main:run:158 - 2024-08-12 19:18:40 Login Failed

Reason: Database pool is not initialized

Unclosed client session

client_session: <aiohttp.client.ClientSession object at 0x7fab710c29d0>

container event container died
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/2ff8f070-ab0c-4ee7-9676-2d3b36a36e0f/vol_8chdamizrj575fwk

Starting Container

[2024-08-12 19:18:19] [INFO ] discord.client: logging in using static token

2024-08-12 19:18:40.255 | WARNING | afw_bot.ext.utils.database:connect:15 - 2024-08-12 19:18:40 Failed to connect to the database: Multiple exceptions: [Errno 111] Connect call failed ('::1', 5432, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5432)

Traceback (most recent call last):

File "/app/afw_bot/main.py", line 155, in run

super().run(*args, **kwargs)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 869, in run

asyncio.run(runner())

File "/root/.nix-profile/lib/python3.11/asyncio/runners.py", line 190, in run

return runner.run(main)

^^^^^^^^^^^^^^^^

File "/root/.nix-profile/lib/python3.11/asyncio/runners.py", line 118, in run

return self._loop.run_until_complete(task)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/root/.nix-profile/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete

return future.result()

^^^^^^^^^^^^^^^

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 858, in runner

await self.start(token, reconnect=reconnect)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 786, in start

await self.login(token)

File "/root/.cache/pypoetry/virtualenvs/afw-bot-9TtSrW0h-py3.11/lib/python3.11/site-packages/discord/client.py", line 629, in login

await self.setup_hook()

File "/app/afw_bot/main.py", line 59, in setup_hook

await self.db.create_tables()

File "/app/afw_bot/ext/utils/database.py", line 22, in create_tables

raise RuntimeError("Database pool is not initialized")

RuntimeError: Database pool is not initialized

2024-08-12 19:18:40.284 | CRITICAL | afw_bot.main:run:158 - 2024-08-12 19:18:40 Login Failed

Reason: Database pool is not initialized

Unclosed client session

client_session: <aiohttp.client.ClientSession object at 0x7fab710c29d0>

container event container died
64 replies
RRailway
Created by Anubhav on 7/30/2024 in #✋|help
Connect database locally
is it possible to connect with local_db_url which is of postgres by local_db_url i mean the one of railway service
17 replies
RRailway
Created by Anubhav on 7/29/2024 in #✋|help
seperate webhook configuration for projects
Is it possible to have different webhook configuration for different projects?
10 replies
RRailway
Created by Anubhav on 7/29/2024 in #✋|help
too much disk space for 1 json file
No description
38 replies
RRailway
Created by Anubhav on 7/29/2024 in #✋|help
Pricing too high
No description
26 replies
RRailway
Created by Anubhav on 7/29/2024 in #✋|help
.nixpacksignore
i dont want .nixpack to make me do everything : (
7 replies
RRailway
Created by Anubhav on 7/29/2024 in #✋|help
how to configure discord bot
I am using poetry and the command to start app is poetry run start dont know how to deploy it , i also have some env vars that also dont know how to configure , i have 5 dollars plan
7 replies