bitfocus / companion-module-discord-api

MIT License
5 stars 2 forks source link

test Error: Could not connect #20

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe the bug It gives an error on connecting

To Reproduce Steps to reproduce the behaviour:

Install the plugin on the lastest beta Fill in the client id and secret That's all.

Expected behaviour It would connect

Screenshots Logging information, in text, as screenshot is more work

system: ** Starting Connection from "/home/name/path/companion-linux-x64-3.1.0+6087-beta-5a13ecf5/companion-x64/resources/bundled-modules/discord-api/main.js" **
system: ** Connection started **
Starting up module class: d
Sentry disabled
debug: Initializing Discord client
Module-host accepted registration
test Error: Could not connect
    at Socket.r (/home/name/path/companion-linux-x64-3.1.0+6087-beta-5a13ecf5/companion-x64/resources/bundled-modules/discord-api/main.js:2:200510)
    at Object.onceWrapper (node:events:628:26)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
warn: Login err: {}

System (please complete the following information):

thedist commented 1 year ago

Couple things to check, are you running Discord on the same machine as Companion? Also, is the Discord account that you created the Discord app with the same account thst you're logged in to Discord as?

legomannetje commented 1 year ago

No, that was the problem, has been resolved now. Thanks!

legomannetje commented 1 year ago

This issue can be closed