Jeremy Nickurak ([info]gehrehmee) wrote in [info]lj_dev,

Digest authentication failed.

There's a couple tickets that refer to a digest authentication failure recently, for requests that worked fine a few months ago:

http://www.livejournal.com/support/see_request.bml?id=1139934
http://www.livejournal.com/support/see_request.bml?id=1140658

One was marked as "reported to LiveJournal's development staff for further troubleshooting".

Any insight from anyone here as to what's going on? Is this related to the previous "Client error: No mode specified" post at all? Is there any working method of writing a script to retrieve RSS feeds with authentication currently?
Tags: *report (lj), bugs, bugs: client protocol, client, client: troubleshooting

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your reply will be screened

    Your IP address will be recorded 

  • 15 comments

[info]pauamma

August 16 2010, 16:12:42 UTC 1 year ago

Timeline makes it likely there's a connection with http://community.livejournal.com/lj_dev/834731.html. (Was that the one you were thinking of?)

[info]gehrehmee

August 16 2010, 20:05:31 UTC 1 year ago

Yes, that's what i'm thinking of.

[info]alierak

August 16 2010, 17:19:19 UTC 1 year ago

Submitting the login form still works; method described (and example script) in the comments here.

[info]duskwuff

August 16 2010, 19:00:32 UTC 1 year ago

As noted in the earlier entry [info]pauamma linked, the digest failure appears to just be a matter of the failed-auth response having the wrong status code. This can be worked around in Perl with:
package LJIsBrokenAgent;
use base qw( LWP::UserAgent );

sub simple_request {
    my ($Self, @args) = @_;
    my $resp = LWP::UserAgent::simple_request($Self, @args);
    $resp->code(401) if $resp->is_success && $resp->content eq '<b>Digest authentication failed.</b>';
    return $resp;
}

[info]gehrehmee

August 16 2010, 20:04:14 UTC 1 year ago

So, I thought about that. But i'm entering my login information correctly, afaict.

[info]duskwuff

August 16 2010, 20:35:18 UTC 1 year ago

That's not the problem — the issue is that negotiating digest authentication requires one initial "failed auth (because you didn't give me any; here's what you need)" response.

[info]gehrehmee

August 16 2010, 20:06:19 UTC 1 year ago

That seems to be a different issue. I don't want an aggregate feed of all my friend's posts.... I just want all of my posts, including private ones.

[info]alierak

August 16 2010, 20:40:44 UTC 1 year ago

Not really; what you do once authenticated is your business.

[info]pauamma

August 20 2010, 22:10:21 UTC 1 year ago

Thanks for the workaround!

[info]franky

August 17 2010, 00:11:25 UTC 1 year ago

The issue you've described is related to upgrades LiveJournal has performed recently. The upgrades have managed to break small portions of the site. We've had our engineers fixing the problems as quickly as possible. I hope to have RSS Digest authentication fixed by the end of the week. Sorry for this unforeseen inconvenience.

[info]aredridel

August 17 2010, 02:10:22 UTC 1 year ago

Awesome! It's bit me and my lover, too.

[info]gregstoll

August 17 2010, 03:46:34 UTC 1 year ago

Thanks for the info!

[info]dmitriid

August 17 2010, 09:30:02 UTC 1 year ago

Small portions like OpenID auth and HTTP Digest auth? 0_o

These don't look small to me.

Is there a timeline on when these are going to be fixed?

[info]pauamma

August 20 2010, 17:25:24 UTC 1 year ago

Thanks for the update. Are those changes related to http://community.livejournal.com/lj_dev/834731.html as well?

[info]pauamma

September 11 2010, 15:44:07 UTC 1 year ago

*nudges and points to comment above*
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…