Google Site Kit Keeps Logging Me Out
-
Hi, I’m hoping someone can help, Google site kit seems to log me out on my wordpress dashboard so i have to go through the sign up steps every time i want to view anything. If i quickly log out and log back into wordpress site kit still shows correctly but it appears that when i go to check it every now and then (maybe every day/other day) it has logged me out and i have to go through the set up again. Its not a huge inconvenience but it is a bit annoying so hoping someone might be able to point me in the right direction?
thanks in advance
-
Sorry to hear you’re repeatedly disconnected. We’d be happy to investigate this with you to try and determine the cause. In other cases plugins such as language plugins can change your site URL which can result in Site Kit detecting a URL change.
While this may not be the case with your particular if you can share your Site Health information here or privately via this form we can check your current setup.
Good morning James, thanks for coming back to me, please see below the site health info, hopefully this is what you’re after if not then let me know (i’m still quite new to wordpress!)
### wp-core ### version: 5.7 site_language: en_GB user_language: en_GB timezone: Europe/London permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: undefined environment_type: production user_count: 2 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/us91k0jl0x3y/public_html wordpress_size: 389.11 MB (408008963 bytes) uploads_path: /home/us91k0jl0x3y/public_html/wp-content/uploads uploads_size: 84.57 MB (88679268 bytes) themes_path: /home/us91k0jl0x3y/public_html/wp-content/themes themes_size: 20.29 MB (21276063 bytes) plugins_path: /home/us91k0jl0x3y/public_html/wp-content/plugins plugins_size: 171.49 MB (179825169 bytes) database_size: 40.41 MB (42369007 bytes) total_size: 705.87 MB (740158470 bytes) ### wp-active-theme ### name: Astra (astra) version: 3.3.2 author: Brainstorm Force author_website: https://wpastra.com/about/ parent_theme: none theme_features: core-block-patterns, astra_hooks, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, amp, widgets, menus theme_path: /home/us91k0jl0x3y/public_html/wp-content/themes/astra auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Thirteen: version: 3.3, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (25) ### AddToAny Share Buttons: version: 1.7.44, author: AddToAny, Auto-updates enabled Beaver Builder Plugin (Lite Version): version: 2.4.2.2, author: The Beaver Builder Team, Auto-updates enabled Broken Link Checker: version: 1.11.15, author: WPMU DEV, Auto-updates enabled Complianz | GDPR/CCPA Cookie Consent: version: 4.9.12, author: Really Simple Plugins, Auto-updates enabled Guest Author: version: 2.2, author: WebFactory Ltd, Auto-updates enabled Hustle: version: 7.4.3, author: WPMU DEV, Auto-updates enabled Image optimization service by Optimole: version: 3.0.1, author: Optimole, Auto-updates enabled Insert Headers and Footers: version: 1.5.0, author: WPBeginner, Auto-updates enabled Ivory Search: version: 4.6.2, author: Ivory Search, Auto-updates enabled PDF Embedder: version: 4.6.2, author: Lever Technology LLC, Auto-updates enabled Post Grid by PickPlugins: version: 2.1.3, author: PickPlugins, Auto-updates enabled Post SMTP: version: 2.0.22, author: Yehuda Hassine, Auto-updates enabled Site Kit by Google: version: 1.30.0, author: Google, Auto-updates enabled Slide Anything - Responsive Content / HTML Slider and Carousel: version: 2.3.34, author: Simon Edge, Auto-updates enabled Starter Templates: version: 2.6.2, author: Brainstorm Force, Auto-updates enabled Sucuri Security - Auditing, Malware Scanner and Hardening: version: 1.8.26, author: Sucuri Inc., Auto-updates enabled Team Members: version: 5.0.9, author: WP Darko, Auto-updates enabled Ultimate Addons for Beaver Builder - Lite: version: 1.5.1, author: Brainstorm Force, Auto-updates enabled UpdraftPlus - Backup/Restore: version: 1.16.53, author: UpdraftPlus.Com, DavidAnderson, Auto-updates enabled WebP Express: version: 0.19.0, author: Bj?rn Rosell, Auto-updates enabled Widget Options: version: 3.7.8, author: Widget Options Team, Auto-updates enabled WP-Optimize - Clean, Compress, Cache: version: 3.1.8, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates enabled WPForms Lite: version: 1.6.6, author: WPForms, Auto-updates enabled Yet Another Related Posts Plugin (YARPP): version: 5.17.0, author: YARPP, Auto-updates enabled Yoast SEO: version: 16.1.1, author: Team Yoast, Auto-updates enabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1802 imagemagick_version: ImageMagick 7.0.10-10 Q16 x86_64 2020-07-22 https://imagemagick.org file_uploads: File uploads is turned off post_max_size: 520M upload_max_filesize: 512M max_effective_size: 512 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 142 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 12288 imagick::RESOURCETYPE_MAP: 142 GB imagick::RESOURCETYPE_MEMORY: 71 GB imagick::RESOURCETYPE_THREAD: 1 gd_version: bundled (2.1.0 compatible) ghostscript_version: 8.70 ### wp-server ### server_architecture: Linux 2.6.32-954.3.5.lve1.4.82.el6.x86_64 x86_64 httpd_software: Apache php_version: 7.3.23 64bit php_sapi: litespeed max_input_variables: 5000 time_limit: 120 memory_limit: 512M max_input_time: -1 upload_max_filesize: 512M php_post_max_size: 520M curl_version: 7.71.0 OpenSSL/1.1.1d suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.6.49-cll-lve client_version: 5.6.49 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/us91k0jl0x3y/public_html/wp-content WP_PLUGIN_DIR: /home/us91k0jl0x3y/public_html/wp-content/plugins WP_MEMORY_LIMIT: 512M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### wpforms ### version: 1.6.6 lite: Mar 1, 2021 @ 12:28pm upload_dir: Writable db_tables: wp_wpforms_tasks_meta total_forms: 4 total_submissions: 21 ### google-site-kit ### version: 1.30.0 php_version: 7.3.23 wp_version: 5.7 reference_url: https://www.lincolnwick.com amp_mode: no site_status: connected-site user_status: authenticated connected_user_count: 1 active_modules: site-verification, search-console, adsense, analytics, pagespeed-insights required_scopes: openid: ? https://www.googleapis.com/auth/userinfo.profile: ? https://www.googleapis.com/auth/userinfo.email: ? https://www.googleapis.com/auth/siteverification: ? https://www.googleapis.com/auth/webmasters: ? https://www.googleapis.com/auth/adsense.readonly: ? https://www.googleapis.com/auth/analytics.readonly: ? capabilities: googlesitekit_authenticate: ? googlesitekit_setup: ? googlesitekit_view_posts_insights: ? googlesitekit_view_dashboard: ? googlesitekit_view_module_details: ? googlesitekit_manage_options: ? googlesitekit_publish_posts: ? enabled_features: helpVisibility: ? serviceSetupV2: ? storeErrorNotifications: ? userInput: ? widgets.dashboard: ? widgets.pageDashboard: ? widgets.moduleScreens: ? search_console_property: https://www.lincolnwick.com/ adsense_account_id: none adsense_client_id: none adsense_account_status: none adsense_use_snippet: yes adsense_web_stories_adunit_id: none analytics_account_id: 1909????? analytics_property_id: UA-1909??????? analytics_profile_id: 2383????? analytics_use_snippet: yes
Many thanks for sharing. I don’t see any obvious plugins active that have URL altering features so we may need to perform additional troubleshooting steps. Before doing so can you share the following:
- After you get logged out do you see any dashboard notice, such as “Looks like the URL of your site has changed..” or an access token error?
- Has this always been the case with this site, or did this start to occur recently? If just recently do you recall any changes such as modifications to your caching or security plugin?
- While you mention this can occur randomly do you recall any particular action that resulted in you having to sign in once more?
Hi James, thanks for coming back to me.
There are no notices on the dashboard after i’m signed out that i can recall, it just states ‘sign in’ (or sign up, something like that) when i do it then takes me to google and says something along the lines of ‘lets get you started’ but all the options about authenticating that its my domain etc all already have green ticks in.
From memory this has always been the case.
At the moment no, i cant recall any particular pattern. having looked back through my emails (because i get a security alert emailed to me every time i have to sign in again) it happened on the 10/03/2021, 17/03/2021 and on the 04/04/2021 (according to the emails i could find). having tried to replicate the issue again yesterday when i logged out and logged back into wordpress straight away site kit was still fine. i didn’t log out of wordpress last night and today it seems fine as well. happy to try some other trouble shooting steps to try and replicate the issue if you let me know what they are?
Thanks
Thanks for the update. When this occurs once more let me know if you notice any message other than the login message and I can see what I can find. The security email is interesting, if this email coming from your security plugin or alternatively from Google requesting you review your connected apps and services? If you want to share more on this feel free to do so via this form.
In relation to troubleshooting steps if you can share a summary of the email notification you receive let’s see if we can unearth anything unusual there first.
@mileshall As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!
Good afternoon, Apologies i haven’t been online for a few days, i have just logged into my website though and have been logged out of site kit again.
I dont seem to be able to paste the snip that i did of the error into this chat but it states:
Connect your Google account to Site Kit Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the 3 setup steps, you’ll see stats from all activated Google products. Help us improve the Site Kit plugin by allowing tracking of anonymous usage stats. All data are treated in accordance with Google Privacy Policy
then there is a button with ‘sign in with google’ on it.
Thanks for the response. In that case is it possible that other administrator of your site is removing your Search Console access? By that I mean if Site Kit was setup by another administrator they would be notified by email that there is another owner of the connected Search Console property each time you setup the plugin. At that stage the remove access. Can you please ask the other administrator if known?
If you are not aware of another administrator who setup Site Kit please share your Site Health information privately via this form and I an check your current setup.
Hi James, thanks for coming back to me. its not possible that another admin is removing the access because i am the only admin for the site. my site health information is listed in this discussion above, nothing has changed since previously posting the site health information previously so this should still be up to date…
Thanks for the update and apologies, you did provide your Site Health information, which does refer to only one connected user.
If you have access to your error logs at host level it might be useful to see what’s occurring when you become disconnected. The only thing I can think of which may be resulting in such behaviour is a conflict with particular configurations with one of your plugins such as Complianz, Sucuri or WP-Optimize.
As it’s not ideal to deactivate such plugins do you have access to your error logs at host level? Alternatively you can enable your error logs using your wp-config file or a plugin. Once we receive those we can look for any particular error that may be resulting in this disconnection.
Hi James, no worries and thanks for coming back to me. im relatively new to wordpress so i’m not sure how to get access to the error logs at host level? Do i just need to contact my hosting provider and ask them for them and if so from what time period?
thanks
No problem at all. The error logs could potentially be quiet large, so ideally for a period from when you were connected to being disconnected only may help determine any issue.
An alternative is to enabling a debug log yourself, by following this guide. If you happen to obtain your logs you can share them via this form, sharing the link to the log files in the “Any other supporting information (optional)” section.
If you find this same issue is occurring between logins and not specifically with data periods you it might be useful if you can temporarily deactivate the mentioned 3 plugins above one at a time, while trying to login or even waiting for a day or so and checking for the same issue. Should the same issue persist try the same with the next of the 3 plugins.
Hi @mileshall –?Just checking in here. Were you able to get the error logs? Thanks!
As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!
Hello!
I’m having the same issue with a website, Site Kit keeps logging out after a few days. Could you figure out what the issue was?
Thank you!
- The topic ‘Google Site Kit Keeps Logging Me Out’ is closed to new replies.