Closed alanwsmith closed 3 years ago
Hi @alanwsmith,
It looks like the twitch websocket/webhook worker code is failing. This is usually due to a misconfiguration, and we're currently working on both simplifying the setup process, improving the setup documentation (apologies, it has some pretty big issues at the moment) and giving better logs to troubleshoot.
Looking at your .env file:
REDIS=internal
is the correct way to run it. TWITCH_APP_ID
and TWITCH_CLIENT_SECRET
set properly. Mixing up the two can cause issues.TWITCH_WEBHOOK_SECRET
must be more than 10 characters, and less than 100.Number 3. seems to be the one that is most commonly getting people on startup. Please let me know if that fixes things. If not, we'll try some other troubleshooting steps (and in a day or two, I should be merging a branch that will give much better logs for troubleshooting).
Hey @FiniteSingularity ,
I verified the three steps you mentioned and sadly, still no go.
I'll watch for you to publish the branch with more logs. I'm also happy to jump on a screen share at any point if you want to take a more direct look. (I'm TheIdOfAlan on twitch, btw :-)
I've also taken some notes to help with documentation. Once I get up and running, I'll finalize those and then make a PR.
Cheers, and happy weekend,
-a
If you can exec into the tau app container you could cat the logs located under /tmp to hopefully get some better log output in the meantime. What I've done to test and verify it's possible and to find logs as a test:
# docker exec -it tau-app sh
# cd /tmp
# ls
server-stderr---supervisor-AjfaLC.log supervisord-tmp supervsiord-tmp wsworker-stderr---supervisor-tms1qk.log
server-stdout---supervisor-1Ip2gu.log supervisord.log tmp6jhzu0ft wsworker-stdout---supervisor-zWxPFB.log
# cat server-stderr---supervisor-AjfaLC.log
2021-05-22 03:58:49,084 INFO Starting server at tcp:port=8000:interface=0.0.0.0
2021-05-22 03:58:49,085 INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2021-05-22 03:58:49,086 INFO Configuring endpoint tcp:port=8000:interface=0.0.0.0
2021-05-22 03:58:49,088 INFO Listening on TCP address 0.0.0.0:8000
I suspect your issue may have had to do with ngrok connection limits. A couple of merges back, I added some code to decouple the worker process from the database- sending all database inserts to the server process to handle. Unfortunately, I was sending this traffic through ngrok connections, and was hitting connection limits. The last merged PR ( #39 ) fixed this.
Saw that everything is now up and running on your stream. I hope you enjoy using TAU!
I walked through the install documentation for TAU. I'm able to get the web page to show up and to authenticate with Twitch, but the dashboard only shows spinning icons.
When I look in the console, I see a bunch of these errors:
The terminal logs when I start up are:
This is my config file:
I also tried:
but that didn't fix it
Happy to help troubleshoot.