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

Endless loop - Unlock content #105

Open
raulfunkie opened this issue Jul 5, 2020 · 3 comments
Open

Endless loop - Unlock content #105

raulfunkie opened this issue Jul 5, 2020 · 3 comments

Comments

@raulfunkie
Copy link

raulfunkie commented Jul 5, 2020

I manage a website that uses this plugin and since updating to the last version (and also, upgrading to the V2 of the API) users have been constantly stuck in a loop.

  • Visit page
  • Click "Unlock Content"
  • Click "Allow" on Patreon permission website
  • User returns to the website but no content is unlocked.

Edit:

  • Using WPEngine as hosting
  • patreon_nonce is already on the no-cache list.

How do I around resolving this? the website is https://leangains.com

@codebard
Copy link
Collaborator

codebard commented Jul 7, 2020

If you have any caching plugin at your site (W3 total, WP super etc), or your host any caching feature at the server (opcode etc), this may cause users to see old, locked versions of pages even if they unlock. Checking that out may provide clues.

patreon_nonce is not necessary to deal with anymore.

Additionally you can reconnect your site to Patreon - maybe it lost connection - that may cause some issues like the ones you described.

@raulfunkie
Copy link
Author

raulfunkie commented Jul 7, 2020

I got in touch with WPEngine and they could not provide any further details. The patreon_nonce cookie had already been added to the exceptions.

How can I approach this? I've already checked connection and it seems good. I actually had to migrate to the APIv2 not too long ago cause of some errors popping on the config log.

Any ideas as to what to request WPEngine in this case? I've asked them to stop caching post pages to see if that makes any difference, but doesn't seem to have worked so far.

After trying to manually refresh the page I'm getting this error now:
Screen Shot 2020-07-07 at 7 21 50 PM

Any ideas?

Getting these errors as well on the Patreon Health Check page:

Response code: 401 Response :{"errors":[{"code":1,"code_name":"Unauthorized","detail":"The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.","id":"049afcfc-7903-4285-b0d2-b6649d32d6b5","status":"401","title":"Unauthorized"}]}

Response code: 401 Response :{"error": "invalid_grant"}

Things I've tried

  • Reconnecting using the wizard = no dice
  • Reconnecting manually = no dice
  • Asking WPEngine to momentarily deactivate cache on the whole site = no dice

@codebard
Copy link
Collaborator

Reconnecting using the wizard = no dice
Reconnecting manually = no dice

What errors did you receive when trying those out?

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

No branches or pull requests

2 participants