• Resolved useStrict

    (@usestrict)


    Opening new thread as requested.

    I’m having trouble connecting site kit and experiencing the Loop back to the welcome page. I’m on Site Kit version 1.6, have reverted my .htaccess to the bare minimum (WP index.php rules and PHP 7 handler), and tried adding the ModSecurity rules outlined in a different ticket.

    Site: https://theguyinthekitchen.com
    Site health report:

    
    ### wp-core ###
    
    version: 5.3.2
    site_language: en_US
    user_language: en_US
    timezone: America/Toronto
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: closed
    multisite: false
    user_count: 1
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /path/to/theguyinthekitchen.com
    wordpress_size: 37.86 MB (39701123 bytes)
    uploads_path: /path/to/theguyinthekitchen.com/wp-content/uploads
    uploads_size: 1.56 MB (1639164 bytes)
    themes_path: /path/to/theguyinthekitchen.com/wp-content/themes
    themes_size: 1.97 MB (2065890 bytes)
    plugins_path: /path/to/theguyinthekitchen.com/wp-content/plugins
    plugins_size: 48.65 MB (51013016 bytes)
    database_size: 3.48 MB (3653632 bytes)
    total_size: 93.53 MB (98072825 bytes)
    
    ### wp-active-theme ###
    
    name: Hello Elementor (hello-elementor)
    version: 2.2.2
    author: Elementor Team
    author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    parent_theme: none
    theme_features: menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
    theme_path: /path/to/theguyinthekitchen.com/wp-content/themes/hello-elementor
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty: version: 1.1, author: the WordPress team
    
    ### wp-plugins-active (9) ###
    
    Advanced Custom Fields: version: 5.8.9, author: Elliot Condon
    Classic Editor: version: 1.5, author: WordPress Contributors
    Custom Post Type UI: version: 1.7.4, author: WebDevStudios
    Elementor: version: 2.9.7, author: Elementor.com
    Elementor Pro: version: 2.9.2, author: Elementor.com
    Enable Media Replace: version: 3.3.11, author: ShortPixel
    Rank Math SEO: version: 1.0.41.1, author: Rank Math
    Save & Import Image from URL: version: 0.7, author: basteln3rk
    Site Kit by Google: version: 1.6.0, author: Google
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: 9.26
    
    ### wp-server ###
    
    server_architecture: Linux 3.12.18-clouder0 x86_64
    httpd_software: Apache
    php_version: 7.3.16 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 3000
    time_limit: 120
    memory_limit: 768M
    max_input_time: 120
    upload_max_size: 128M
    php_post_max_size: 128M
    curl_version: 7.59.0 OpenSSL/1.0.2r
    suhosin: false
    imagick_availability: false
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.6.40-84.0-log
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /path/to/theguyinthekitchen.com/wp-content
    WP_PLUGIN_DIR: /path/to/theguyinthekitchen.com/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 768M
    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: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### google-site-kit ###
    
    version: 1.6.0
    php_version: 7.3.16
    wp_version: 5.3.2
    reference_url: https://theguyinthekitchen.com
    amp_mode: no
    site_status: connected-site
    user_status: not authenticated
    active_modules: site-verification, search-console
    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: ?
    search_console_property: none
    
    

    Note that if I try going to the Site Kit Dashboard in a new tab while stuck in the loop, I get the following error:

    
    Loading chunk 0 failed. (error: https://theguyinthekitchen.com/wp-content/plugins/google-site-kit/dist/assets/js/chunk-googlesitekit-adminbar~chunk-googlesitekit-setup-wizard~chunk-googlesitekit-setup-wizard-proxy-7b6a86fd3073896743e0.js)
    
        in Unknown
        in Suspense
        in DashboardSplashApp
        in ErrorHandler
        in GoogleSitekitDashboardSplash
    

    Thanks,
    Vinny

Viewing 14 replies - 1 through 14 (of 14 total)
  • @usestrict thanks for your topic!

    Could you try to reset and reinstall Site Kit from an incognito browser, and attempt the setup process again?

    If that doesn’t work, could you check for any browser console errors on the page with the error?

    Thread Starter useStrict

    (@usestrict)

    Hi Renee,

    I don’t have that option to reset Site Kit anywhere. I had to deactivate/delete/reinstall Site Kit to get to the connection screen. This is what I see in the console.

    
    DevTools failed to parse SourceMap: chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/include.preload.js.map
    amp.js:172 Powered by AMP ? HTML – Version 2003261442330 https://sitekit.withgoogle.com/site-management/setup/?code=sitekit-LSzuLXrDAEgrLBmcViLtLC&nonce=c48c619d50&site_id=VRkexbMxcoNYMo9LKsnVo3-wpuxh3UNYjyYk3MnN4P2UG.apps.sitekit.withgoogle.com&supports=credentials_retrieval+short_verification_token+file_verification
    DevTools failed to parse SourceMap: chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/include.postload.js.map
    sitekit.withgoogle.com/:1 Unchecked runtime.lastError: The message port closed before a response was received.
    xhr-impl.js:88 Fetch finished loading: GET "https://cdn.ampproject.org/rtv/012003261442330/ww.js".
    (anonymous) @ xhr-impl.js:88
    Promise.then (async)
    f.Kg @ xhr-impl.js:71
    mg @ xhr-impl.js:107
    f.fetch @ xhr-impl.js:183
    f.fetchText @ xhr-impl.js:149
    bc @ amp-worker.js:99
    O @ service.js:402
    R @ service.js:200
    Z @ amp-worker.js:50
    zc @ bind-impl.js:614
    (anonymous) @ bind-impl.js:217
    Promise.then (async)
    yc @ bind-impl.js:216
    wd @ service.js:402
    S @ service.js:172
    (anonymous) @ extensions-impl.js:380
    f.addDocFactory @ extensions-impl.js:408
    f.addService @ extensions-impl.js:379
    (anonymous) @ amp-bind.js:25
    f @ amp-bind.js:24
    f.registerExtension @ extensions-impl.js:154
    (anonymous) @ runtime.js:190
    Promise.then (async)
    amp-form @ runtime.js:186
    ri @ chunk.js:200
    ni.kf @ chunk.js:414
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ni.va @ chunk.js:503
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    ni.runForStartup @ chunk.js:373
    oi @ chunk.js:69
    (anonymous) @ amp.js:138
    (anonymous) @ amp.js:113
    xhr-impl.js:88 Fetch finished loading: GET "https://cdn.ampproject.org/rtv/012003261442330/v0/analytics-vendors/gtag.json".
    (anonymous) @ xhr-impl.js:88
    Promise.then (async)
    f.Kg @ xhr-impl.js:71
    mg @ xhr-impl.js:107
    f.fetch @ xhr-impl.js:183
    f.fetchJson @ xhr-impl.js:133
    zc @ config.js:110
    push.f.h.loadConfig @ config.js:69
    (anonymous) @ amp-analytics.js:226
    Promise.then (async)
    Pe @ amp-analytics.js:210
    push.f.h.layoutCallback @ amp-analytics.js:153
    (anonymous) @ custom-element.js:1187
    (anonymous) @ promise.js:75
    kb @ promise.js:74
    Ai.b.layoutCallback @ custom-element.js:1187
    (anonymous) @ resource.js:868
    Yl @ vsync-impl.js:470
    f.Dh @ vsync-impl.js:426
    requestAnimationFrame (async)
    Wl @ vsync-impl.js:392
    f.va @ vsync-impl.js:386
    f.run @ vsync-impl.js:188
    f.mutate @ vsync-impl.js:228
    (anonymous) @ resource.js:866
    f.startLayout @ resource.js:865
    h @ resources-impl.js:1528
    uj.setState @ finite-state-machine.js:72
    f.doPass @ resources-impl.js:814
    (anonymous) @ resources-impl.js:133
    gi.Bc @ pass.js:109
    yg @ pass.js:55
    (anonymous) @ timer-impl.js:76
    Promise.then (async)
    f.delay @ timer-impl.js:70
    gi.schedule @ pass.js:94
    f.schedulePass @ resources-impl.js:692
    (anonymous) @ resources-impl.js:627
    Promise.then (async)
    Gj @ resources-impl.js:626
    Bj @ resources-impl.js:549
    f.upgraded @ resources-impl.js:670
    Ai.b.qd @ custom-element.js:419
    Ai.b.gg @ custom-element.js:914
    Ai.b.upgrade @ custom-element.js:388
    Di @ custom-element-registry.js:89
    jm @ custom-element-registry.js:73
    im @ extensions-impl.js:347
    (anonymous) @ extensions-impl.js:323
    f.addDocFactory @ extensions-impl.js:408
    f.addElement @ extensions-impl.js:322
    (anonymous) @ amp-analytics.js:806
    f @ amp-analytics.js:796
    f.registerExtension @ extensions-impl.js:154
    (anonymous) @ runtime.js:190
    Promise.then (async)
    amp-form @ runtime.js:186
    ri @ chunk.js:200
    ni.kf @ chunk.js:414
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    ni.runForStartup @ chunk.js:373
    oi @ chunk.js:69
    om @ runtime.js:318
    b @ runtime.js:203
    (anonymous) @ runtime.js:245
    (anonymous) @ timer-impl.js:83
    setTimeout (async)
    f.delay @ timer-impl.js:89
    qm @ runtime.js:498
    mm @ runtime.js:227
    rm @ runtime.js:347
    (anonymous) @ amp.js:82
    ri @ chunk.js:200
    ni.kf @ chunk.js:414
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    ni.runForStartup @ chunk.js:373
    oi @ chunk.js:69
    (anonymous) @ amp.js:138
    (anonymous) @ amp.js:113
    xhr-impl.js:88 Fetch finished loading: POST "https://www.googletagmanager.com/gtag/amp?__amp_source_origin=https%3A%2F%2Fsitekit.withgoogle.com".
    (anonymous) @ xhr-impl.js:88
    Promise.then (async)
    f.Kg @ xhr-impl.js:71
    mg @ xhr-impl.js:107
    f.fetch @ xhr-impl.js:183
    f.fetchJson @ xhr-impl.js:133
    (anonymous) @ config.js:216
    Promise.then (async)
    (anonymous) @ config.js:213
    Promise.then (async)
    Dc @ config.js:203
    push.f.h.ld @ config.js:189
    Promise.then (async)
    push.f.h.loadConfig @ config.js:69
    (anonymous) @ amp-analytics.js:226
    Promise.then (async)
    Pe @ amp-analytics.js:210
    push.f.h.layoutCallback @ amp-analytics.js:153
    (anonymous) @ custom-element.js:1187
    (anonymous) @ promise.js:75
    kb @ promise.js:74
    Ai.b.layoutCallback @ custom-element.js:1187
    (anonymous) @ resource.js:868
    Yl @ vsync-impl.js:470
    f.Dh @ vsync-impl.js:426
    requestAnimationFrame (async)
    Wl @ vsync-impl.js:392
    f.va @ vsync-impl.js:386
    f.run @ vsync-impl.js:188
    f.mutate @ vsync-impl.js:228
    (anonymous) @ resource.js:866
    f.startLayout @ resource.js:865
    h @ resources-impl.js:1528
    uj.setState @ finite-state-machine.js:72
    f.doPass @ resources-impl.js:814
    (anonymous) @ resources-impl.js:133
    gi.Bc @ pass.js:109
    yg @ pass.js:55
    (anonymous) @ timer-impl.js:76
    Promise.then (async)
    f.delay @ timer-impl.js:70
    gi.schedule @ pass.js:94
    f.schedulePass @ resources-impl.js:692
    (anonymous) @ resources-impl.js:627
    Promise.then (async)
    Gj @ resources-impl.js:626
    Bj @ resources-impl.js:549
    f.upgraded @ resources-impl.js:670
    Ai.b.qd @ custom-element.js:419
    Ai.b.gg @ custom-element.js:914
    Ai.b.upgrade @ custom-element.js:388
    Di @ custom-element-registry.js:89
    jm @ custom-element-registry.js:73
    im @ extensions-impl.js:347
    (anonymous) @ extensions-impl.js:323
    f.addDocFactory @ extensions-impl.js:408
    f.addElement @ extensions-impl.js:322
    (anonymous) @ amp-analytics.js:806
    f @ amp-analytics.js:796
    f.registerExtension @ extensions-impl.js:154
    (anonymous) @ runtime.js:190
    Promise.then (async)
    amp-form @ runtime.js:186
    ri @ chunk.js:200
    ni.kf @ chunk.js:414
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:327
    postMessage (async)
    vi @ chunk.js:514
    ui @ chunk.js:461
    ni.va @ chunk.js:483
    ni.runForStartup @ chunk.js:373
    oi @ chunk.js:69
    om @ runtime.js:318
    b @ runtime.js:203
    (anonymous) @ runtime.js:245
    (anonymous) @ timer-impl.js:83
    setTimeout (async)
    f.delay @ timer-impl.js:89
    qm @ runtime.js:498
    mm @ runtime.js:227
    rm @ runtime.js:347
    (anonymous) @ amp.js:82
    ri @ chunk.js:200
    ni.kf @ chunk.js:414
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    (anonymous) @ chunk.js:440
    Promise.then (async)
    ni.kf @ chunk.js:420
    (anonymous) @ chunk.js:465
    Promise.then (async)
    ui @ chunk.js:464
    ni.va @ chunk.js:483
    ni.runForStartup @ chunk.js:373
    oi @ chunk.js:69
    (anonymous) @ amp.js:138
    (anonymous) @ amp.js:113
    DevTools failed to parse SourceMap: https://sitekit.withgoogle.com/ww.js.map
    
    Plugin Support James Osborne

    (@jamesosborne)

    @usestrict Many thanks for providing this information. We may need to investigate this further or create a GitHub issue. Before doing so can you inform me of the below:
    1. Can you confirm you’ve attempted setup using a Chrome incognito window? (so browser extensions interfere and caching is not applied)
    2. Were you able to setup Site Kit previously on this site?

    Thread Starter useStrict

    (@usestrict)

    Hi James,

    Can you confirm you’ve attempted setup using a Chrome incognito window? (so browser extensions interfere and caching is not applied)

    Yes, I have.

    Were you able to setup Site Kit previously on this site?

    Not on this site, no. But I’ve had success setting it up on a different (older) site on a subdomain in the same shared hosting account.

    Cheers,
    Vinny

    @usestrict thanks for this helpful information. A few more troubleshooting steps since you have a site where Site Kit works at the same hosting environment:

    1) Are you using similar plugins on the the site where you were able to get through the set up process?

    If possible, could you safely deactivate the plugins on this site and attempt the setup process?

    2) If that doesn’t work, the following has helped some users:

    – From the WordPress Dashboard under Settings > General, change both the WordPress Address and Site Address from https:// to https://. Screenshot of the settings.

    – You may be logged out of the admin, log in again and change those settings back from https:// to https://

    – Attempt the setup process

    Thanks for your feedback and patience and we work to get this resolved for you!

    Thread Starter useStrict

    (@usestrict)

    If possible, could you safely deactivate the plugins on this site and attempt the setup process?

    I’ve already tried with everything except elementor and elementor pro deactivated. I’ll try deactivating *everything*.

    From the WordPress Dashboard under Settings > General, change both the WordPress Address and Site Address from https:// to https://. Screenshot of the settings.

    – You may be logged out of the admin, log in again and change those settings back from https:// to https://

    – Attempt the setup process

    No dice. When I click ‘Proceed’ in the Welcome to Site Kit screen, I see a call to

    https://theguyinthekitchen.com/wp-admin/index.php?action=googlesitekit_proxy_setup&googlesitekit_code=sitekit-<<REDACTED>>&googlesitekit_verification_token=<<REDACTED>>&googlesitekit_verification_token_type=FILE&nonce=<<REDACTED>>

    which throws a 302 to

    https://sitekit.withgoogle.com/site-management/setup/?scope=openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsiteverification%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fwebmasters&supports=credentials_retrieval%20short_verification_token%20file_verification&nonce=<<REDACTED>>&code=sitekit-<<REDACTED>>&site_id=<<REDACTED>>.apps.sitekit.withgoogle.com&verify=true&verification_method=FILE

    which in turn throws another 302 to

    https://sitekit.withgoogle.com/site-management/setup/?code=sitekit-<<REDACTED>>&nonce=<<REDACTED>>&site_id=<<REDACTED>>.apps.sitekit.withgoogle.com&supports=credentials_retrieval+short_verification_token+file_verification

    which finally throws a 200 status and renders as the initial Welcome to Site Kit screen.

    Thread Starter useStrict

    (@usestrict)

    Deactivating *all* plugins still didn’t cut it.

    Plugin Support James Osborne

    (@jamesosborne)

    @usestrict Many thanks for providing the additional information. We’ve created a GitHub issue which you can keep track of below:
    https://github.com/google/site-kit-wp/issues/1323

    We can also keep you updated here once we have more information. Feel free to add any input to that issue or share here.

    @usestrict we’ve made some updates on our end to address the issue with the proceed button not progressing/ looping.

    Could you attempt the setup process and let us know if you able to complete it?

    Thanks again for your helpful feedback!

    Thread Starter useStrict

    (@usestrict)

    Hi @reneesoffice,

    I tested and it’s working perfectly.

    Thank you!

    @usestrict awesome! Thanks for the update.

    Just to confirm: has the error you were getting on the dashboard (Loading chunk 0 failed.) also resolved?

    Thread Starter useStrict

    (@usestrict)

    @reneesoffice

    Yes, that only happened when I gave up on the connection loop and tried loading the Site Kit dashboard. And I was getting chunk 20 more often than chunk 0.

    Cheers,
    Vinny

    @usestrict thanks, really helpful info.

    Once you’ve given Site Kit a spin, feel free to share your experience. We’d appreciate it.

    Plugin Support James Osborne

    (@jamesosborne)

    @usestrict Great to hear it, many thanks for the update, and for assisting us in troubleshooting this issue (which was also impacting others).

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Connection Loop’ is closed to new replies.