Program fails after entering correct token #33
Labels
No labels
beta
bug
dependencies
duplicate
enhancement
invalid
postponed
question
release: bugfix
release: major
release: minor
repository improvment
required
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Serraniel/DiscordMediaLoader#33
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I know my token is correct (no quotes), on first run it requires "this could get you banned - yes" followed by "enter token:" and I enter the token and hit go, it pops up the "enter token:" window again (with the textbox still populated) and if I click go a second time it crashes and asks about submitting a bug report
Details
[1/24/2020 - 4:24:10 PM] (Info): Starting up Discord Media Loader application...
[1/24/2020 - 4:24:10 PM] (Warn): Settings not found. Creating new one. This is normal on first start up...
[1/24/2020 - 4:24:11 PM] (Info): Loaded settings.
[1/24/2020 - 4:24:11 PM] (Info): Trying to log into discord...
[1/24/2020 - 4:24:13 PM] (Info): DiscordClient: Discord.Net v1.0.2 (API v6)
[1/24/2020 - 4:24:13 PM] (Info): DiscordClient: Connecting
[1/24/2020 - 4:24:13 PM] (Warn): DiscordClient:
[1/24/2020 - 4:24:13 PM] (Info): DiscordClient: Disconnecting
[1/24/2020 - 4:24:13 PM] (Info): DiscordClient: Disconnected
[1/24/2020 - 4:24:14 PM] (Info): DiscordClient: Connecting
[1/24/2020 - 4:24:14 PM] (Warn): DiscordClient:
[1/24/2020 - 4:24:14 PM] (Info): DiscordClient: Disconnecting
[1/24/2020 - 4:24:14 PM] (Info): DiscordClient: Disconnected
[1/24/2020 - 4:24:15 PM] (Error): A task was canceled. [TaskCanceledException] occured at: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Discord.ConnectionManager.<>c__DisplayClass28_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.ConnectionManager.d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.DiscordSocketClient.d__92.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.DiscordSocketClient.d__90.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.BaseDiscordClient.d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.BaseDiscordClient.d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.BaseDiscordClient.d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DML.Client.DMLClient.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at DML.Application.Classes.Core.d__14.MoveNext()
Hey,
can you remove the configuration File in
%appdata%\Serraniel\Discord Media Loader
directory in try again? In #31 somebody reported a similar behaviour after the entered token wasn´t working the first time.Sorry I thought I said but it must have slipped my mind. I tried clearing that several times. Same outcome.
As well as relogging discord for new tokens.
I have tried to reproduce the issue for my self several times now with either invalid tokens or wrong formatted tokens. For invalid tokens I do not get an exception to occur, the token dialog just pop ups again (as expected). For wrong formatted token I receive a
The format of value '<token>' is invalid.
exception. But this is different from the one you posted and happens before the connection starts.From the logs it looks like the used Discord API lib is having an issue establishing a connection with your account. I am not sure why this should happen.
I am aware of an issue a single person had in the past which was fixed by changing his nickname in Discord but I don´t know any more how this happened and when. You could try that, too.
Can you please try submitting this? Maybe the error details in Sentry.io may show some more details.