Coder Social home page Coder Social logo

Comments (8)

jprjr avatar jprjr commented on July 20, 2024 1

Found the real error - Twitch IRC sends attributes along with messages, one of which is "display-name"

In the past, I've seen them send an empty "display-name" attribute before, so I'd check if it was empty. It looks like they'll also sometimes just not send the attribute at all, which was the bug - I assumed the attribute would always be there.

New update will try to use the display-name attribute, but fallback to the IRC nick if it's missing or empty.

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Yeah, I've had that happen a few times myself. I've stepped up the logging on my main instance so I can try catching it next time it happens. It seems like I just get disconnected from Twitch IRC

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Just pushed 11.3.3 with some changes that should hopefully keep Twitch chat running.

It uses SSL instead of plain-text IRC now, this should prevent the stream from being mucked with by firewalls etc. If it gets disconnected, it keeps trying to reconnect instead of attempting to reconnect once.

from multistreamer.

Llorx avatar Llorx commented on July 20, 2024

Was just going to update. Going to wait for this new update.

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Pushed up a new release - 11.4.2 with a fix. Building Docker images now

from multistreamer.

Llorx avatar Llorx commented on July 20, 2024

Tested docker build 11.4.2-1 and happened again :-/ Stopped receiving Twitch chat messages.

Where can I get the logs to see what is happening?

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

If you docker exec into your image, you can get to /var/log/multistreamer - all the logs are in there. There's a current file, along with other files that end in .s

I forget the exact syntax off the top of my head, but if you run docker ps to see a list of images, there should be one with multistreamer in the name - grab the name of that image, then:

docker exec -ti (image name) /bin/bash
ls -lh /var/log/multistreamer

You can just cat them, or install ssh and scp them to another box, etc.

I'll change the default docker-compose file to mount the logs as a volume - then you'd be able to just get to them from your box instead of running docker-exec

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Hey hey, I had this same error happen to me just now, when somebody hosted my stream - the IRC message came in like:

Apr 11 21:06:36 stream multistreamer[425]: 2018/04/11 21:06:36 [debug] 603#0: *5 [lua] client.lua:40: log_parse_line(): [IRC] :[email protected]
v PRIVMSG gamethattune :Equitem87 is now hosting you.
Apr 11 21:06:36 stream multistreamer[425]: 2018/04/11 21:06:36 [error] 603#0: *5 lua user thread aborted: runtime error: /opt/multistreamer/lib/multist
reamer/networks/twitch.lua:559: attempt to concatenate local 'userid' (a nil value)

So basically, I can't assume I have any of the tags on IRC messages. I'll get this fixed shortly!

from multistreamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.