Open StreamersConnected opened 7 years ago
Is it spitting out any errors? Yukari is heavily customized for our channel's use (which play Vocaloid music), and I haven't tested setup in a long time. If you need a general bot, https://github.com/nuclearace/CytubeBot is better documented.
The only error I could notice is this.
] 2017-06-12T03:00:09+0100 [CytubeClient] (onClose) Closed Protocol connection. wasClean:False code1006, reasonconnection was closed uncleanly (WebSo cket connection upgrade failed (200 - OK)) 2017-06-12T03:00:09+0100 [CytubeClient] CHECKING CHANNEL CONFIG--------------------------- 2017-06-12T03:00:09+0100 [connections.cytube.cyClient.WSService#info] sending GET for ws servers url: https://movie-nights.streamersconnected.tv/so cketconfig/StreamersConnected.json 2017-06-12T03:00:09+0100 [-] <twisted.internet.tcp.Connector instance at 0x7f99c4e44cb0> will retry in 107 seconds 2017-06-12T03:00:09+0100 [connections.cytube.cyClient.WsFactory#info] Stopping factory <connections.cytube.cyClient.WsFactory object at 0x7f99c4e30 450> 2017-06-12T03:00:09+0100 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f9 9c4dd8c20> 2017-06-12T03:00:09+0100 [connections.cytube.cyClient.WSService#debug] 200 response 2017-06-12T03:00:09+0100 [connections.cytube.cyClient.WSService#info] comparing WSURLS! 2017-06-12T03:00:09+0100 [connections.cytube.cyClient.WSService#info] Failed to retrieve servers from channel.json 2017-06-12T03:00:09+0100 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f9 9c4dd8c20>
How are you starting it?
I think I forgot to document it, but yukari.py is not used anymore. Please run tacfile.py with twistd
instead; e.g.
twistd -noy tacfile.py --logfile log.log
twistd info: https://twistedmatrix.com/documents/current/core/howto/basics.html
Oh actually, the error is at retrieving channel.json.
What do you get if you manually go to https://{your_domain}/socketconfig/{your_channel}.json
?
I get this, and sorry for the late reply. https://gyazo.com/3b44e3ef7eb4a4cbc9cc41f7ef0a48cf
and I do run tacfile.py
Oh sorry, it doesn't connect because the WS connection is not secure. Can you try changing the line https://github.com/d-dd/Yukari/blob/4dbfe29877eda18969d83764c95098fec693f2ca/connections/cytube/cyClient.py#L1383
def cbMakeWsUrl(self, response, secure=True):
to def cbMakeWsUrl(self, response, secure=False):
I'm having trouble connecting it to a privately hosted cytu.be server. It won't load into any of the channels even though its connecting to the actual server.