bitfocus / companion-module-discord-api

MIT License
5 stars 2 forks source link

[Bug] Connection failure on new config #11

Closed Rizotochaud closed 1 year ago

Rizotochaud commented 1 year ago

Describe the bug After the configuration of the instance and connection to Discord with the login prompt, the instance displays Connection Failure

To Reproduce Steps to reproduce the behaviour:

  1. From a fresh install, create a discord instance
  2. Enter credentials
  3. Save and enable
  4. Accept connection in the Discord app
  5. Connection Failure

I made a new app on Discord Dev Portal to get new credentials as the console says "Login err" but it is not the solution

System (please complete the following information):

Console log system: Starting Connection from "C:\Program Files\Companion\resources\bundled-modules\discord-api\main.js" system: Connection started Starting up module class: c Sentry disabled Module-host accepted registration debug: Initializing Discord client warn: Login err: {} error: [object Object]`

thedist commented 1 year ago

Is the user account that created the Discord app the same user account that's logged in to Discord?

RizoWBD commented 1 year ago

Yes, same account.

thedist commented 1 year ago

The module works perfectly fine when ran directly as a dev module, but Companions packaging process seems to be breaking the module when packaged so I'm looking in to why that's happening.

thedist commented 1 year ago

This should be fixed in the latest beta builds.