Several users have reported the Analytics module is not able to detect their existing accounts. Clicking "Re-fetch my account" also does not locate the account.
-- Various browser console errors are on the request to connect the service (locale=user): _404_, _500_ (sometimes includes a _WP Error data in response, curl error 2_)
-- Can happen in various hosting environments, but unable to replicate
-- Still occurs in an incognito browser
Console errors:


related support topics/ issues:
https://wordpress.org/support/topic/problems-with-analytics/
https://wordpress.org/support/topic/google-kit-does-not-find-google-analytics-accoun/
https://github.com/google/site-kit-wp/issues/1569
(Site Health available in topics or through form)
_Do not alter or remove anything below. The following sections will be managed by moderators only._
Another related topic: https://wordpress.org/support/topic/analytics-error-curl-erro-2-easy-handle-already-used-in-multi-handle/
Console error:
Google Site Kit API Error
{โฆ}
โ
code: "unknown"
โ
data: {โฆ}
โโ
reason: ""
โโ
status: 500
โโ
<prototype>: Object { โฆ }
โ
message: "cURL error 2: easy handle already used in multi handle"
โ
<prototype>: {โฆ}
โโ
__defineGetter__: function __defineGetter__()
โโ
__defineSetter__: function __defineSetter__()
โโ
__lookupGetter__: function __lookupGetter__()
โโ
__lookupSetter__: function __lookupSetter__()
โโ
__proto__:
โโ
constructor: function Object()
โโ
hasOwnProperty: function hasOwnProperty()
โโ
isPrototypeOf: function isPrototypeOf()
โโ
propertyIsEnumerable: function propertyIsEnumerable()
โโ
toLocaleString: function toLocaleString()
โโ
toString: function toString()
โโ
valueOf: function valueOf()
โโ
<get __proto__()>: function __proto__()
โโ
<set __proto__()>: function __proto__()
googlesitekit-api.js:1:11004
g https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-api.js?ver=1.8.0:1
k https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
_invoke https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
e https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
k https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
e https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
e https://peacerivercampground.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.js?ver=1.8.0:1
Same happened to me in Safari (latest version). Worked fine in Chrome
@ernee Sounds similar to #1548
Tested
Ran a series of tests around Analytics setup and re-fetching my account. Was unable to reproduce this with the latest 1.11.1 release.
Sending to L2.
Just noting here that we're suspecting some of these issues to be related to this issue with Guzzle: https://github.com/guzzle/guzzle/issues/2617
@felixarntz I haven't able to reproduce this issue either. After researching it a little bit, I tend to say that it is not our issue at all. This seems to be cURL related problem that happened on some hosting poviders like GoDaddy or its resellers. See this comment for reference.
Plus, it looks like this issue has stopped appearing for folks that makes me think that it might be already fixed by hosting providers and we have nothing to do here. Assigning this to you to make a decision what to do next with it.
@ernee This issue (like the other cURL issues we've been seeing) are most likely out of our control. We're working on detecting this problem early on, per #1549, so that users should be informed before even setting up Site Kit. Let's keep an eye on these issues and support threads and inform the reporters that this is likely a host-specific problem, and we're working on some changes to detect it earlier.
Downgrading the libcurl version resolved this issue for one user, as reported here.