Skip to content

[BUG] Discord is crashing when attempting to authenticate #203

@ronfrigginjon

Description

@ronfrigginjon

Describe the bug
After updating to v1.0.9006 Discord is crashing when my app is authenticating. The window that used to pop up and allow me to click the "Authorize" button is no longer there. Instead, discord crashes and says it was awkward.

To Reproduce
Authenticate application

Expected behavior
Would expect the authentication window to appear, allowing me to click the authorize button, which in turn will fire the OnAuthenticated event.

Desktop (please complete the following information):

  • OS: Windows 10
  • Framework: net45

Logs
INFO: Attempting a new connection
INFO: RPC Connection Started
TRCE: ============================
TRCE: Assembly: DiscordRPC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
TRCE: Pipe: DiscordRPC.IO.ManagedNamedPipeClient
TRCE: Platform: Microsoft Windows NT 6.2.9200.0
TRCE: applicationID: 800373225032777738
TRCE: targetPipe: -1
TRCE: POLL_RATE: 750
TRCE: _maxRtQueueSize: 4096
TRCE: _maxRxQueueSize: 0
TRCE: ============================
TRCE: Connecting to the pipe through the DiscordRPC.IO.ManagedNamedPipeClient
TRCE: ManagedNamedPipeClient.Connection(-1)
TRCE: Connection Attempt 0 ()
INFO: Attempting to connect to discord-ipc-0
TRCE: Waiting for connection...
TRCE: Setting the auth state to WAITING_FOR_USER
TRCE: Enqueue Command: DiscordRPC.RPC.Commands.AuthorizeCommand
TRCE: Enqueue Command: DiscordRPC.RPC.Commands.PresenceCommand
INFO: Connected to discord-ipc-0
TRCE: Done. Result: False
TRCE: Begining Read of 16384 bytes
TRCE: Connected to the pipe. Attempting to establish handshake...
TRCE: Enqueued Message, but queue size is 0.1:29:59 PM
TRCE: Attempting to establish a handshake...
TRCE: Sending Handshake...
TRCE: Setting the connection state to CONNECTING
TRCE: Connection Established. Starting reading loop...
INFO: Checking command queue
TRCE: Ending Read
TRCE: Read 344 bytes
TRCE: Read a frame: Frame
TRCE: Starting another read
TRCE: Begining Read of 16384 bytes
TRCE: Read Payload: Frame
INFO: Handling Response. Cmd: Dispatch, Event: Ready
INFO: Connection established with the RPC
TRCE: Setting the connection state to CONNECTED
TRCE: Enqueued Message, but queue size is 0.1:30:01 PM
INFO: Checking command queue
TRCE: Attempting to send payload: Authorize
TRCE: Sending payload: Authorize
TRCE: Sent Successfully.
TRCE: Attempting to send payload: SetActivity
TRCE: Sending payload: SetActivity
TRCE: Sent Successfully.
TRCE: Ending Read
TRCE: Read 150 bytes
TRCE: Read a frame: Frame
TRCE: Starting another read
TRCE: Begining Read of 16384 bytes
TRCE: Read Payload: Frame
INFO: Handling Response. Cmd: SetActivity, Event:
TRCE: Enqueued Message, but queue size is 0.1:30:01 PM
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
TRCE: Ending Read
TRCE: Read 0 bytes
WARN: Empty frame was read. Please send report to Lachee.
TRCE: Starting another read
TRCE: Begining Read of 16384 bytes
TRCE: Ending Read
TRCE: Left main read loop for some reason. Aborting: False, Shutting Down: False
TRCE: Waiting 1095ms before attempting to connect again
TRCE: Setting the connection state to DISCONNECTED
TRCE: Connecting to the pipe through the DiscordRPC.IO.ManagedNamedPipeClient
TRCE: ManagedNamedPipeClient.Connection(-1)
TRCE: Connection Attempt 0 ()
INFO: Attempting to connect to discord-ipc-0
TRCE: Waiting for connection...
INFO: Connected to discord-ipc-0
TRCE: Done. Result: False
TRCE: Begining Read of 16384 bytes
TRCE: Connected to the pipe. Attempting to establish handshake...
TRCE: Enqueued Message, but queue size is 0.1:30:06 PM
TRCE: Attempting to establish a handshake...
TRCE: Sending Handshake...
TRCE: Setting the connection state to CONNECTING
TRCE: Connection Established. Starting reading loop...
INFO: Checking command queue
INFO: Checking command queue
TRCE: Ending Read
TRCE: Read 319 bytes
TRCE: Read a frame: Frame
TRCE: Starting another read
TRCE: Begining Read of 16384 bytes
TRCE: Read Payload: Frame
INFO: Handling Response. Cmd: Dispatch, Event: Ready
INFO: Connection established with the RPC
TRCE: Setting the connection state to CONNECTED
TRCE: Enqueued Message, but queue size is 0.1:30:07 PM
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue
INFO: Checking command queue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions