[mythtv] DataDirect Authentication

David Shay david at shay.net
Thu Apr 22 17:27:43 EDT 2004


Not sure I know the problem, but the "401 Unauthorized" "errors" are
actually normal.  When you do http authentication, you first send a standard
HTTP request and basically expect to get the 401 error.  Certain information
contained in the error is then used to construct the actual call which
includes the username and password.

If you want to do a bit more troubleshooting, remote the
"--header='Accept-Encoding:gzip'" and " | gzip -d " portions of the command
line.  You might see some more valid information then.  If that doesn't shed
any light on it, try adding  " | tee /tmp/wget.out" to the command line to
see the actual HTML retrieved by wget.


----- Original Message ----- 
From: "jack" <jr at jrh.net>
To: "'Development of mythtv'" <mythtv-dev at mythtv.org>
Sent: Thursday, April 22, 2004 3:21 PM
Subject: [mythtv] DataDirect Authentication


> While trying to use the DataDirect Zap2it grabber in the latest cvs I get
>
> **************************************
> 2004-04-22 11:42:09 Fetching lineups from DataDirect service...
> 2004-04-22 11:42:09 wget --http-user='xxx' --http-passwd='xxx'
> --post-file='/tmp/mythpostSeIp9g' --header='Accept-Encoding:gzip'
> http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
> --output-document=- | gzip -d
> --11:42:09--
> http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
>            => `-'
> Resolving datadirect.webservices.zap2it.com... 206.18.98.160
> Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
> connected.
> HTTP request sent, awaiting response... 401 Unauthorized
> Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/xml]
>
>     [  <=>
> ] 4,874         12.14K/s
>
> 11:42:13 (12.11 KB/s) - `-' saved [4874]
>
>
> gzip: stdin: not in gzip format
> ****************************************
>




More information about the mythtv-dev mailing list