DiscordDJ icon indicating copy to clipboard operation
DiscordDJ copied to clipboard

read ECONNRESET

Open KNGRSM opened this issue 9 years ago • 14 comments

{ [String: '97049313879797760'] id: [Getter], username: [Getter], discriminator: [Getter], avatar: [Getter], guild_id: [Getter], roles: [Getter], mute: [Getter], deaf: [Getter], joined_at: [Getter] } events.js:141 throw er; // Unhandled 'error' event ^

Error: read ECONNRESET at exports._errnoException (util.js:870:11) at Pipe.onread (net.js:544:26)

trying to /yt /youtube a youtube link results in this error. can you provide any help on this please?

KNGRSM avatar Feb 04 '16 23:02 KNGRSM

I will look into this. For now, use /add instead. Works pretty much the same way

Guichaguri avatar Feb 05 '16 00:02 Guichaguri

the same problem occurs using /add or !add

KNGRSM avatar Feb 05 '16 00:02 KNGRSM

Can you send me the npm-debug.log file that was generated by this crash?

Guichaguri avatar Feb 05 '16 00:02 Guichaguri

debug.log:

http://pastebin.com/xRniakcg

KNGRSM avatar Feb 05 '16 00:02 KNGRSM

does this help?

KNGRSM avatar Feb 05 '16 00:02 KNGRSM

I think it's something to do with the encoder. Try playing a file !file [path]

Guichaguri avatar Feb 05 '16 00:02 Guichaguri

same things occurs

ShiftBladez avatar Feb 05 '16 02:02 ShiftBladez

You specified the wrong path for the encoder. It will accept any executable file, but only FFmpeg or avconv will work

Guichaguri avatar Feb 05 '16 11:02 Guichaguri

screenshot 8

ShiftBladez avatar Feb 05 '16 13:02 ShiftBladez

@Guichaguri what do you mean wrong path for the encoder, where do I set up the path to the encoder? All I did was install libav-tools.

KNGRSM avatar Feb 05 '16 13:02 KNGRSM

I'll make a quick fix, if it doesn't work, it's something to do with Discordie. It seems like the bot is not fully connected to the voice channel.

Guichaguri avatar Feb 05 '16 13:02 Guichaguri

this is more of a point i wanna make if you look at the log for the update ptb, i dont what they did but i believe from what it says they made it easier to use music bots, maybe it maybe helpful for your bot ?

ShiftBladez avatar Feb 09 '16 22:02 ShiftBladez

I can't find it. I know they were implementing configurable bit rates, that would help music bots on better audio quality. I'm still waiting for this feature to implement compatibility in DiscordDJ. Until that, i'm working on making it stable and easy to use. (also, a clean code is always a good idea)

Guichaguri avatar Feb 10 '16 02:02 Guichaguri

oh ok

ShiftBladez avatar Feb 10 '16 03:02 ShiftBladez