Topic-icon JFBConnect Login Looping Since Newest Update

Support Specialist
9 years 6 months ago #60343 by alzander
Google works for me:

Message:
Google profile successfully connected.


As for:

Maybe this is related to specific users in the database?

Are you testing with new registrations, or existing accounts? Mine are definitely new accounts. Please try that way.

I just logged into the administration backend and I'm getting frequent invalid tokens then access denied messages when opening an item more than once.

Invalid tokens could definitely be a problem if you have Varnish or some other reverse caching server in operation. JFBConnect shouldn't loop in that case, but it could deny the requests being made.

As for testing, here's what I'd recommend:
* Use a browser like Chrome
* Open the Developer tools
* Go to Network
* Go to the login page
* Click the 'Clear' button (no smoking/ghostbusters symbol)
* Click the Record button, so all requests are kept
* Try to login
Watch the requests. You should be able to see where the loop is occurring.. there will be a page load, then another load then another load of the same page, etc. Let us know what the looping URLs and response codes are. That will help us narrow things down.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago #60347 by inuxse
Hi Alex

Great information. I'll try that.

I would also like to exclude the cookie from nginx caching. Do you know the definition of the cookie variable in Joomla to exclude from Nginx?

That would help greatly

Thanks
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago - 9 years 6 months ago #60361 by inuxse
I disabled cache and problem still exists. I didn't see any error message in the inspector console.

I'm thinking this might be something with plugin arrangement possibly? What should the proper arrangement be for all the system plugins?

Also if you could, which variable cookie type can I also exclude from nginx caches?

Greatly appreciate your feedback.

Thanks again


Captured attached
nauseous-logs.txt
Last edit: 9 years 6 months ago by inuxse.
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago #60366 by inuxse
I believe I found the culprit which might be sh404sef.

Remove sef from a few extensions and cleared sef.

NginX and Pagespeed has nothing to do with the issues.

Hopefully I resolved it, I'll let you knows soon.
The topic has been locked.
Support Specialist
9 years 6 months ago #60369 by alzander
If you're using sh404SEF, you definitely should have it set to 'skip' JFBConnect. No other extensions should interfere with our operation even if they use SEF URLs, but if you find something else that needs to have it's SEF config disabled, let us know.

I'm glad you narrowed things down and please let us know if you run into any other issues.

Thanks,
Alex
The topic has been locked.