Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube api error #499

Closed
linuxlite opened this issue Mar 31, 2014 · 12 comments
Closed

Youtube api error #499

linuxlite opened this issue Mar 31, 2014 · 12 comments
Labels
Bug Things to squish; generally used for issues

Comments

@linuxlite
Copy link

Posting youtube links in channel results in:

Something went wrong when accessing the YouTube API.

@tyrope
Copy link

tyrope commented Mar 31, 2014

As seen below, it works fine on our current version of Willie. Please provide more details (Willie version, posted URL, log files)

[0756.59] <Tyrope> https://www.youtube.com/watch?v=yfyO3d1yOwk
[0757.01] <@Willie> [YouTube] Title: Ars Magica 1.2 Preview (Take 2) | Uploader: Mithion | Uploaded: 14/03/2014, 23:14 | Duration: 10mins | Views: 2,807 | Comments: 73 | Likes: 205 | Dislikes: 1

@tyrope tyrope added the Bug label Mar 31, 2014
@tyrope tyrope self-assigned this Mar 31, 2014
@linuxlite
Copy link
Author

Version: Willie v. 4.2.1-git at commit: f1182ff
URL example: https://www.youtube.com/watch?v=T8aXx3K_lKY
stdio.log:
No user settings database specified. Ignoring.

Welcome to Willie. Loading modules...

Error in chanlogs setup procedure: ConfigurationError: Channel logs are not configured (modules/chanlogs.py:75)
Error in rss setup procedure: ConfigurationError: Database not set up, or unavailable. (modules/rss.py:30)

Registered 39 modules,
2 modules failed to load

Connecting to irc.freenode.net:7000...
Connected.

@CtrlAltDefeat94
Copy link

Try installing ca-certificates:
apt-get install ca-certificates

After this, it should work :p

@linuxlite
Copy link
Author

ca-certificates were already installed.

@tyrope
Copy link

tyrope commented Apr 15, 2014

[2324.38] <Tyrope> https://www.youtube.com/watch?v=T8aXx3K_lKY
[2324.39] <Willie> [YouTube] Title: 'Use VPN!' Former 'Most Wanted Hacker' Mitnick talks Snowden, NSA, privacy | Uploader: RT | Uploaded: 12/09/2013, 14:50 | Duration: 12mins 18secs | Views: 31,332 | Comments: 330 | Likes: 487 | Dislikes: 26

Please confirm this is still an issue in 4.3.0(-git)

@linuxlite
Copy link
Author

Still an issue in 4.3.0(-git), Youtube used to work fine, up until what version it stopped working, I am unsure, but something has changed for sure. I've even dropped the bot from our channel because our community posts a lot of youtube links :(

@tyrope
Copy link

tyrope commented Apr 15, 2014

I'd like to debug this problem using your specific setup, please contact me on irc.dftba.net. Nickname Tyrope.

edit: meanwhile you can disable the youtube module (see the config option for blacklisting) if you want to keep the other features.

@richard132
Copy link

@linuxlite (i know this is something different) this is affecting me too, but are the https:// url's title text displayed to you? Because this appeared at the same time (for me atleast) when the youtube api stopped to work.

@linuxlite
Copy link
Author

The only thing that appears, is what I've posted in the first post. Forget about it, we're using other bot software now, youtube links are essential for our channel.

@elad661 elad661 reopened this Apr 20, 2014
@elad661
Copy link
Contributor

elad661 commented Apr 20, 2014

I'm reopening this because I want to understand why it doesn't work for you.

Can you give us more data on your setup please? Which distro are you using? did you configure the ca cert path (required for debian based)?

The actual bug here is not only it doesn't work in your setup, but also that the youtube module gives a very shitty error message.

@walliski
Copy link

I am using Willie on an Ubuntu server 12.04 setup. I also have the problem that the Youtube API suddently stopped working. Can also confirm that https has stopped working. Havent configured any paths, but it seems as if there could be something with the certs. The ca-certificates package is installed. Most often using the newest commit in the Master branch, with some other fixes (walliski/willie)...

Logs doesn't say anything about this, just some other random errors. You can find me as Walliski on Ircnet or Quakenet. Freenode less actively.

@elad661
Copy link
Contributor

elad661 commented Apr 21, 2014

The reason for this is that Ubuntu and Debian are stupid.

See issue #510 for a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Things to squish; generally used for issues
Projects
None yet
Development

No branches or pull requests

6 participants