[mythtv-users] wget unauthorized mod

Paul Harvey paul.l.harvey at gmail.com
Sat Aug 5 05:13:09 UTC 2006


It is normal to get a 401 Unauthorized message before a 200 Ok.

Happens everytime mythfilldatabase runs.

Here is the log when I run it manually...

...
2006-08-04 22:08:38.840 Retrieving datadirect data.
2006-08-04 22:08:38.840 Grabbing data for Fri Aug 4 2006 offset 1
2006-08-04 22:08:38.840 From Sat Aug 5 07:00:00 2006 to Sun Aug 6
07:00:00 2006                        (UTC)
--22:08:38--  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]

    [       <=>                           ] 175,887       74.35K/s

22:08:42 (74.23 KB/s) - `-' saved [175887]

2006-08-04 22:08:42.941 DataDirect: Your subscription expires on
08/31/06 21:31:                       21
2006-08-04 22:08:49.774 Grab complete.  Actual data from Sat Aug 5
07:00:00 2006                        to Sun Aug 6 07:00:00 2006 (UTC)
...

On 8/4/06, WR <poi at planetofidiots.com> wrote:
> Yes, what I'm trying to say is the account works, the un/pw are good, I can
> log into the site, and mythtv is configured up to the "Video Source Setup"
> page in mythtv-setup. That's where the problem hits (and also at
> mythfilldatabase, same auth failure) --
>
> 1) the un/pw are known-good. THEY WORK! I swear. Not only do they work via a
> browser, but I had this box running an earlier version of mythtv last week,
> and the whole darn kit worked perfectly, listings and all, zap2it, the works.
>
> 2) BUT They don't work in a mythtv context at all right now. I've read a few
> things on the net about gzip issues, and also MD5 related things with wget
> and zap2it, so I thought that was a likely source of the problem...
>
>
>
> On Friday 04 August 2006 10:02, you wrote:
> > Have you filled out the servey recently? I mean the account will
> > expire every 3 to 6 months if you don't complete a servey.
> >
> > John
> >
> > On 8/3/06, WR <poi at planetofidiots.com> wrote:
> > > On Thursday 03 August 2006 15:50, Joe Votour wrote:
> > > > > I've tried many possible ways to compile wget (>v1.9), but always get
> > > > > an "Unauthorized" message from zap2it. Where do I modify the wget
> > > > > line that applies to mythfilldatabase?
> > > > >
> > > > > Here's the problem:
> > > > >
> > > > > POST /tvlistings/xtvdService HTTP/1.0
> > > > > User-Agent: Wget/1.10.2
> > > > > Accept: */*
> > > > > Authorization: Basic mf65sFlnqdg7kD8sTHDkWw==
> > > > > Host: datadirect.webservices.zap2it.com
> > > > > Connection: Keep-Alive
> > > > > Content-Type: application/x-www-form-urlencoded
> > > > > Content-Length: 525
> > > > > Accept-Encoding: gzip
> > > > >
> > > > >
> > > > > <?xml version='1.0' encoding='utf-8'?>
> > > > > <SOAP-ENV:Envelope
> > > > > xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
> > > > > xmlns:xsd='http://www.w3.org/2001/XMLSchema'
> > > > > xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
> > > > > xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'>
> > > > > <SOAP-ENV:Body>
> > > > > <ns1:download  xmlns:ns1='urn:TMSWebServices'>
> > > > > <startTime xsi:type='xsd:dateTime'>2006-08-16T07:00:00Z</startTime>
> > > > > <endTime xsi:type='xsd:dateTime'>2006-08-17T07:00:00Z</endTime>
> > > > > </ns1:download>
> > > > > </SOAP-ENV:Body>
> > > > > </SOAP-ENV:Envelope>
> > > > >
> > > > > HTTP/1.1 401 Unauthorized
> > > > > Date: Thu, 03 Aug 2006 19:31:03 GMT
> > > > > Server: Orion/2.0.5
> > > > > Connection: Close
> > > > > Content-Type: text/html
> > > > > WWW-Authenticate: Digest realm="TMSWebServiceRealm",
> > > > > nonce="PDExNsffFSDFM677jQ1MDAsjyr654WUyN2Qwdf65452YzBhMmJlMjc3ZGVAbml
> > > > >naHR mbGlnaHQ+", opaque="dbcc4562347654d02", algorithm=MD5, qop="auth"
> > > > >
> > > > > <HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD><BODY><H1>401
> > > > > Unauthorized</H1></BODY></HTML>
> > > > >
> > > > > Thanks!
> > > >
> > > > Have you specified a username and password in mythtv-setup?  The
> > > > username/password are the same one that you log into "labs.zap2it.com"
> > > > with.  If you don't have one, then look at the documentation for
> > > > details on how to get one.
> > > >
> > > > -- Joe
> > >
> > > Yes, I have a valid zap2it account which I've used successfully before.
> > > All instructions for setting up zap2it were followed -- that's the
> > > baffling part, the un/pw are working on the website. Thanks
> > >
> > > > ___________________________________________________________
> > > > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer
> > > > 10 Personalized POP and Web E-mail Accounts, and much more.
> > > > Signup at www.doteasy.com
> > > >
> > > > _______________________________________________
> > > > mythtv-users mailing list
> > > > mythtv-users at mythtv.org
> > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


-- 
I have Gmail invites... Email me if you want one!


More information about the mythtv-users mailing list