たけ
たけ
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
I have tried connecting only when DB operations are required and disconnecting when done, but the error still occurs
14 replies
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
After changing the Postgres operation from psycopg2 to asyncpg, the first error does not seem to occur now. However, the following errors occur periodically
Traceback (most recent call last):
File "/opt/venv/lib/python3.9/site-packages/discord/client.py", line 659, in connect
await self.ws.poll_event()
File "/opt/venv/lib/python3.9/site-packages/discord/gateway.py", line 646, in poll_event
raise ConnectionClosed(self.socket, shard_id=self.shard_id, code=code) from None
discord.errors.ConnectionClosed: Shard ID None WebSocket closed with 1000
Traceback (most recent call last):
File "/opt/venv/lib/python3.9/site-packages/discord/client.py", line 659, in connect
await self.ws.poll_event()
File "/opt/venv/lib/python3.9/site-packages/discord/gateway.py", line 646, in poll_event
raise ConnectionClosed(self.socket, shard_id=self.shard_id, code=code) from None
discord.errors.ConnectionClosed: Shard ID None WebSocket closed with 1000
14 replies
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
I'm asking because this is the error that triggered the disconnection.
14 replies
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
No, I still get the first error. Can someone tell me what's causing it?
14 replies
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
I think it is a normal implementation, though I use psycopg2.connect to connect when the bot starts and close when the bot exits.
14 replies
RRailway
Created by たけ on 2/8/2024 in #✋|help
psycopg2.OperationalError: SSL SYSCALL error: EOF detected
Regarding psycopg2, I changed the description in requirements.txt from psycopg2-binary to psycopg2 and this error no longer occurs. Instead, the following error occurs periodically. What is the cause of this? discord.errors.ConnectionClosed: Shard ID None WebSocket closed with 1000
14 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
I see...(´;ω;`). Let me know if you find out anything.
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
Is there something wrong with the way libopus was introduced?
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
Yes it does. But I get a raise OpusNotLoaded() error as I wrote above.
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
I will paste the log file again.
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
Project ID:8153aade-2cb8-4e3e-a2c6-36ad01e8f5fd
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
Why am I getting an error when I have libopus in nixpacks.toml?
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
What is your final conclusion? In this case, does it mean that we cannot build & deploy in the way we describe in nixpacks.toml?
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
And I understand that this method should not be made public, so please let me know how to do this via direct message.
19 replies
RRailway
Created by たけ on 9/15/2022 in #✋|help
How to use ffmpeg on Railway by writing in nixpacks.toml?
As I stated in the text of my question, I fully understand that hosting MUSIC BOTS is prohibited. I will never host a music bot, and if I do, you can ban me. This is a technical question for running a build with nixpacks.toml on Railway and I believe it is a useful question for users to use Railway's services.
19 replies