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

Fix OpenID login error on live site #1460

Merged
merged 1 commit into from Jun 28, 2015

Conversation

kareila
Copy link
Member

@kareila kareila commented Jun 27, 2015

Per discussion in #1355, trying to log in with OpenID in production currently
results in the following error:

Not an ARRAY reference at /home/dw/current/extlib/lib/perl5/Net/DNS/Paranoid.pm line 91.

My understanding of the problem is that LWP::UserAgent::Paranoid has a different argument
format for its blocked_hosts method than LWPx::ParanoidAgent did, and the arguments need
to be enclosed in an arrayref. I can't reproduce the error exactly in testing on my
development environment, but I believe this will at least get us back to where we were
before, where at least non-SSL OpenID logins would still work.

Per discussion in dreamwidth#1355, trying to log in with OpenID in production currently
results in the following error:

    Not an ARRAY reference at /home/dw/current/extlib/lib/perl5/Net/DNS/Paranoid.pm line 91.

My understanding of the problem is that LWP::UserAgent::Paranoid has a different argument
format for its blocked_hosts method than LWPx::ParanoidAgent did, and the arguments need
to be enclosed in an arrayref.  I can't reproduce the error exactly in testing on my
development environment, but I believe this will at least get us back to where we were
before, where at least non-SSL OpenID logins would still work.
afuna added a commit that referenced this pull request Jun 28, 2015
Fix OpenID login error on live site
@afuna afuna merged commit 09cb130 into dreamwidth:release-1.25 Jun 28, 2015
@afuna
Copy link
Member

afuna commented Jun 28, 2015

Okay, going to get this live tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants