owlbear-rodeo / kenku-fm

Online tabletop audio sharing for Discord
https://www.kenku.fm
GNU General Public License v3.0
189 stars 32 forks source link

Error connecting to bot: creating the TLS connector resulted in a error #77

Closed CodyNguyen235 closed 1 year ago

CodyNguyen235 commented 1 year ago

Describe the bug When trying to connect Kenku-FM to discord, I get the error: "Error connecting to bot: creating the TLS connector resulted in a error"

To Reproduce Steps to reproduce the behavior:

  1. Input Discord Token
  2. Click on 'Connect'
  3. See error

Expected behavior Connects to discord to be able to play music.

Screenshots image

Desktop (please complete the following information):

Additional context Note that Kenku-fm 1.2.4 is able to connect to discord but no sound comes from the bot.

nthouliss commented 1 year ago

I wasn't able to reproduce this on my end, so you'll have to test some changes for me.

I published a branch called fix/tls-connector are you able to check it out and build from the source? If not we can figure out a way to get a build to you to test.

nthouliss commented 1 year ago

I went ahead and created a pre-release with the app packaged, just in case.

https://github.com/owlbear-rodeo/kenku-fm/releases/tag/v1.3.1-test

Let me know if it works. It isn't production-level but if it resolves your issue, I'll start working on making a new version.

QaisQaisQais commented 1 year ago

I am having the same issue

QaisQaisQais commented 1 year ago

your fix didn't work for me for some reason

CodyNguyen235 commented 1 year ago

I tried the new version and unfortunately did not see any difference. Did you increase the version number? It still says 1.3.0, but i am sure i downloaded the pre-release.

image

Is there any logs i can find on my computer to give you or any other information that would be useful?

nthouliss commented 1 year ago

I've built another and made sure to bump the version this time so you can be sure. Was the one you tested last time called Kenku FM-1.3.0 Setup.exe? It looks like the CICD went overnight and added another windows build which didn't have any changes (sorry about that).

CodyNguyen235 commented 1 year ago

I can confirm that the discord token is now working and I can have Kenku-fm join different channels i have him in. However, It appears to be unable to output any sound. The green circle around the bot in discord to indicate sound is permanently on despite no sound coming out. Sound does come out when the output is selected to "This Computer."

I have tried the following changed to try to fix the issue: -Reset the discord token -Wiped Kenku-fm from both appdata folders and reinstalled it.

image image

CodyNguyen235 commented 1 year ago

Restarting my computer appears to have fixed the issue. Kenku-fm is working as intended in 1.3.1-test.

nthouliss commented 1 year ago

@CodyNguyen235 Thanks! We've published a full version v1.3.1 which you might want to download. It's better than the quick dev build that I gave you for 1.3.1-test 😄

https://github.com/owlbear-rodeo/kenku-fm/releases/tag/v1.3.1

CodyNguyen235 commented 1 year ago

@nthouliss Thank you for your work. I know its stressful but I know the community really appreciates you.