froger-me / wp-remote-users-sync

Synchronise users across WordPress websites
GNU General Public License v3.0
71 stars 34 forks source link

WPRUS -randomly not responding- #84

Open Mt-Norstar opened 8 months ago

Mt-Norstar commented 8 months ago

The plugin works great - however I find that it seems to randomly quit responding, I then have to manually "test" the plugin settings for the affected sites, sometimes this works immediately - other times I have to test the connections a couple of times, I have considered creating a cron job to regularly "test" the connections, however I have no idea if that would help things. Is this issue specific to my site environment, has anyone else had problems of this sort? If you have any thoughts on to why this occurs, please let me know. If a cron job might fix this issue would it be possible to create a cron job within the plugin to regularly "test" the connections?

qwik3r commented 8 months ago

The plugin creator doesn't seem to respond anymore to posts. I'm also having an issue where I get an 'undefined error' while testing. Haven't been able to even connect the sites.

Mt-Norstar commented 7 months ago

I should have read the "Help" section, oh well, I had to enable the setting "Force Login Redirects & Logout Everywhere" in the miscellaneous section of the plugin, it now allows me to login across sites, I still have a couple of bugs to work out, such as when logging in as admin it fails to log me in across all but one site even with the user registered across the other sites, however it seems that with a little more troubleshooting and debugging I should be able to get it to work. If you are getting an undefined error, have you tried deactivating plugins to see if that is the issue? Do you have the same secret keys across the sites, to set the keys go to Settings >> WPRUS >> Security. Have you activated the plugins error logs >> Settings >> WPRUS >> Activity Log. Also I find that enabling an actrivity log plugin such as WP Activity Log by MelaPress really helps with determining if the site is logging in a user when they log in a user on another site in the network.

qwik3r commented 7 months ago

I should have read the "Help" section, oh well, I had to enable the setting "Force Login Redirects & Logout Everywhere" in the miscellaneous section of the plugin, it now allows me to login across sites, I still have a couple of bugs to work out, such as when logging in as admin it fails to log me in across all but one site even with the user registered across the other sites, however it seems that with a little more troubleshooting and debugging I should be able to get it to work. If you are getting an undefined error, have you tried deactivating plugins to see if that is the issue? Do you have the same secret keys across the sites, to set the keys go to Settings >> WPRUS >> Security. Have you activated the plugins error logs >> Settings >> WPRUS >> Activity Log. Also I find that enabling an actrivity log plugin such as WP Activity Log by MelaPress really helps with determining if the site is logging in a user when they log in a user on another site in the network.

I've tried this offline using localwp on 2 brand new fresh installs with nothing but the WPRUS plugin installed. The keys are exactly the same between sites. I've also created two sites on Cloudways just to rule out it being a 'local' issue. Both brand new, no caching or anything else enabled and still can't get it to work. I immediately the 'undefined' error. I have the error log on and it doesn't provide anything of any use.