• Resolved nitzanfoucks

    (@nitzanfoucks)


    Hey,

    I have a password protected feed using powerpress (feed: https://greatgame.blog/feed/peleg/) with MemberPress add-on for member rules.
    Although I can access the feed with my admin username and password, other users fail to access it from third party apps. When trying to access the feed from a browser it sometimes asks for a password and sometimes just sends me straight to “unauthorized”.

    I’ve been searching this forum for a solution and from what I can tell there might be a problem with my server running php in cgi mode? this is from the powerpress diagnostics:

    WordPress Version 5.4

    Your version of PHP (7.2.30) is OK!

    You are using 11% (29.0M of 256M) of available memory.

    Temporary directory /tmp/ is writable.

    Warning: PHP running in CGI mode

    Would love to know if there is an issue with PHP running in CGI mode, or some other diagnostics I can do to understand what is the source of the problem.

    Thank you!
    Nitzan Foucks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Angelo Mandato

    (@amandato)

    Hello Nitzan,

    It appears your URLs are getting cached by your web hosting. They appear to be using Nginx. Let them know they need to not cache requests when the “WWW-Authenticate:” header is sent from the server. Assuming they knew what they were doing when they setup nginx they should be able to google and figure out how to turn off the cache for authorization requests. This is an example but may not be exactly what they need:

    proxy_no_cache $http_pragma $http_authorization;

    Thanks,
    Angelo

    Thread Starter nitzanfoucks

    (@nitzanfoucks)

    Hey Angelo,

    thanks for the quick reply.
    I contacted my server’s tech support – they say don’t perform caching for www-authenticate and tried to re-create the problem – but every time they tried, the feed asked authorization as it should.

    They did ask if something in the header of the plugin that would tell the service to re-auth; that would at least explain why some users are able to authorize it and then later become un-authorized.

    Is there anything else they can look into? A work-around perhaps? is there any way to diagnose the feed to see why some users can’t access it? Most of them are having problem when trying to access from “PodcastAddict” if that helps.

    thank you,
    Nitzan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fail to access password protected feed’ is closed to new replies.