Sunday, September 25, 2016

Livestreamer: Downloading Twitch Streams Results in 400 Client Error:Bad Request

I use Livestreamer to download my own VOD files when I dun goofed and break my local recordings. This used to work perfectly, but as I write this, the software is broken due to an update in the Twitch API that enforces authentication.

error: Unable to open URL: 
https://api.twitch.tv/api/channels/havejoystick/access_token.json 
(400 Client Error: Bad Request)


There is a workaround, however; you can hand over a client specific token. Right now, this is the one used by Twitch's web player:

livestreamer --http-header Client-ID=jzkbprff40iqj646a697cyrvl0zt2m6

This works like a charm. For now.

Friday, September 23, 2016

OpenVPN: IP packet with unknown IP version seen

While setting up a new OpenVPN, I got this message:

Sep 23 21:05:25 ascalon openvpn[18770]: krynn/aaa.bbb.ccc.ddd:xxxxx IP packet with unknown IP version=3 seen

The cause was that I had set my OpenVPN server to "dev tun", while setting my Windows client to "dev tap" in the configuration. Changing the client to also be "dev tun" fixed the issue.