GithubHelp home page GithubHelp logo

Comments (14)

kossmikman avatar kossmikman commented on August 18, 2024 1

I don't know if it's related or anything, but i 've been getting twitch api error constantly for the last few months:
twitch.py: Error with twitch API (data key missing from json)
I have debug mode on. I tried enabling/disabling the ssl/tls verification, but to no avail.

from weechat-twitch.

mumixam avatar mumixam commented on August 18, 2024 1

@kapiorr is plugins.var.python.twitch.token set and valid?

Its now required that you have a oauth token set that is linked to the client-id you specify. Its pretty annoying how complex they decided to make it

from weechat-twitch.

mumixam avatar mumixam commented on August 18, 2024

After speaking to techman- on irc we finally discovered this issue was related to ssl/tls verify in curl. Commit 20ab70c adds a option to be able to disable ssl/tls verification.

from weechat-twitch.

furai avatar furai commented on August 18, 2024

It just started happening to me out of the blue. So it's for sure just the SSL/TLS verification error? Can I make the error more verbose to see what it actually is about?

from weechat-twitch.

mumixam avatar mumixam commented on August 18, 2024

Do you have debug mode on?
/set plugins.var.python.twitch.debug on
to enable debug mode

from weechat-twitch.

mumixam avatar mumixam commented on August 18, 2024

@kossmikman are you running the latest commit from github of the script? twitch pushed some changes that require a oauth token for all api calls now. i havent got around to pushing the update to the weechat repos yet

from weechat-twitch.

kossmikman avatar kossmikman commented on August 18, 2024

I'm running the weechat repos, i'll check it out with the latest script.

from weechat-twitch.

kossmikman avatar kossmikman commented on August 18, 2024

It's fixed in the latest script, thanks.

from weechat-twitch.

Techman avatar Techman commented on August 18, 2024

I'll be honest, this issue slipped into the back of my mind. I didn't know it was still open. I run the weechat repo version of the script, so I guess I will have to wait until then :)

from weechat-twitch.

kapiorr avatar kapiorr commented on August 18, 2024

still have a problem
weechat 3.0-dev
twitch.py latest from github.
On connect to channel:
twitch.py: exception: Expecting value: line 1 column 1 (char 0 twitch.py: Error with twitch API (data key missing from json) twitch.py: {"error":"Unauthorized","status":401,"message":"OAuth token is missing"}

from weechat-twitch.

kapiorr avatar kapiorr commented on August 18, 2024

No, I didnt known about that. Thanks a lot.

from weechat-twitch.

mumixam avatar mumixam commented on August 18, 2024

@kapiorr try this
https://mumixam.github.io/weechat_twitch/

from weechat-twitch.

kapiorr avatar kapiorr commented on August 18, 2024

Everything works fine. Thanks a lot.

from weechat-twitch.

Techman avatar Techman commented on August 18, 2024

I am going to close this, because I forgot I had it open. I haven't had an issue with the script for a while.

Thank you to all who assisted me.

from weechat-twitch.

Related Issues (16)

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.