Chiko0401
Chiko0401
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
I will increase timeout to 30s
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh In the case IP discovery fails, Discord throws the "Cannot perform IP discovery - socket closed" message in the error. Here the message text is "AbortError: The operation was aborted". I don't know if it important. Regarding more time - yesterday I added retries, it didn't help unfortunately.
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh I added debug details here - https://github.com/discordjs/discord.js/issues/10356
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh Could it be connection issues and I need to do retries? Is it built-in functionality?
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh I see, I didn't explain correct. It can happen for the same channel. I checked it now in logs and I see that for the same channel the bot got the Abort error than two minutes after it successfully joined to this channel
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@ThePedroo It happens on entering to the Ready state. Why try-catch against what it is made for?
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh Or could it be because the bot already was connected to another VC on that same guild before (and thus the connection already was ready and won’t enter that state again)? - No, I check first if the bot is in any channel in the same guild then ignore this event and don't connect
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 6/2/2024 in #djs-voice
The operation was aborted
@Qjuh Is it truly related to certain channels? - What do you mean certain channels? It happens on the client's servers. What are channel settings can cause it?
15 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 4/14/2024 in #djs-voice
Record users with high input sensitivity
Ok. Thanks!
8 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 4/14/2024 in #djs-voice
Record users with high input sensitivity
@duck You are right, I don't know how I missed it on the first time. So, the possible solution can be like a scheduled thread that checks who is in this Map and still is not being recorded, correct?
8 replies
DIAdiscord.js - Imagine an app
Created by Chiko0401 on 4/14/2024 in #djs-voice
Record users with high input sensitivity
@duck It is not. I checked it. This map doesn't contain these users, because there are no event "user started/ended speaking"
8 replies