• Resolved Dmitry Andrews

    (@dmitry-andrews)


    Hello!

    I use a shared hosting account for my wordpress blog. I installed Social Login 4.6 and it worked for me while I was testing it.

    After I invited my friends to test the blog, they told me that were unable to login and that they got an access denied error. I checked other browsers and found that it doesn’t work.

    It’s interesting to note that Social Login still works in Chrome on my machine. It doesn’t work on other machines and in other browsers on my machine.

    I checked the error.log provided by my hosting provider and it has the following lines (I changed my domain’s name to domain.com for privacy purposes):

    [Sat Jan 03 23:09:21 2015] [error] [client 5.101.152.55:36578] AH01797: client denied by server configuration: /home/r/user1/domain.com/public_html/wp-cron.php

    Will you please tell me where I should look to try to fix it?

    Regards,
    Dmitry Andrews

    https://www.ads-software.com/plugins/oa-social-login/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    A follow up. It only worked in Chrome on my machine because of existing cookies. I cleared cookies and now it doesn’t work in my Chrome either.

    Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    Sorry if post too many updates, but I just found a way to work around the issue. Having said that, I don’t think my readers will use it since they will be scared of the error page.

    Here’s how you can log in regardless of the access denied error:

    – Log in using any social networking service (facebook, google, etc)
    – You will see the access denied error page
    – Select the URL displayed in the browser’s address bar. It’s https://domain.com/wp-login.php?oa_social_login_source=login
    – Hit enter to load that page again
    – You will be able to log in successfully

    Does that ring a bell? What can be tweaked to fix the issue?

    Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    One final update. The exact error message is this:

    405 Not Allowed
    nginx/1.6.2

    It turns out my hosting provider uses nginx as a load balancer or something. The errors that I found in the log are not related to the issue. The error occurs before the request reaches the Apache backend server actually hosting my wordpress blog.

    Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    I think I was able to narrow down the issue. It goes like this:

    Login through a social networking service (facebook, google, etc) always fails UNLESS the login URL contains this “wp-login.php?oa_social_login_source=login

    As soon as the login page is accessed via a GET request containing the oa_social_login_source parameter set to “login”, social login succeeds and evrything works as expected ever since.

    I may assume that there is a problem with my hosting provider’s nginx configuration. However, I need to understand what difference that oa_social_login_source parameter makes. It will give me a clue to what they should fix.

    Please explain what the oa_social_login_source parameter does and if you have any ideas why nginx mail fail to serve the social login request without that parameter specified in the URL.

    Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    Another interesting detail is that I can only use social login when I paste the URL into the browser’s address bar.

    (Talking about https://domain.com/wp-login.php?oa_social_login_source=login)

    If I create a menu item on my wordpress blog that takes me to that URL, and make a social login attempt, social login still fails.

    Thread Starter Dmitry Andrews

    (@dmitry-andrews)

    ok, I was able to resolve it by contacting my hosting provider’s support team. I still wonder why it worked when accessed by the URL mentioned above and didn’t otherwise.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Login Failure. AH01797: client denied by server configuration’ is closed to new replies.