Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics: existing account not found, re-fetching account does not work #1575

Closed
ernee opened this issue May 19, 2020 · 9 comments
Closed
Labels
Group: Escalation Issues which requires escalation Type: Bug Something isn't working

Comments

@ernee
Copy link

ernee commented May 19, 2020

Bug Description

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

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

Console errors:

404 error re-fetch analytics

500 error re-fetch analytics

Additional Context

  • PHP Version:
  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Plugin Version [e.g. 22]
  • Device: [e.g. iPhone6]

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/
#1569
(Site Health available in topics or through form)

#1548 might also be related


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

QA Brief

Changelog entry

@ernee ernee added the Type: Bug Something isn't working label May 19, 2020
@ernee
Copy link
Author

ernee commented May 19, 2020

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

@eclarke1 eclarke1 added the Group: Escalation Issues which requires escalation label May 20, 2020
@ernee
Copy link
Author

ernee commented May 22, 2020

@vladarte
Copy link

vladarte commented May 23, 2020

Same happened to me in Safari (latest version). Worked fine in Chrome

@jamesozzie
Copy link
Collaborator

@ernee Sounds similar to #1548

@cole10up cole10up self-assigned this Jun 2, 2020
@cole10up
Copy link

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.

@cole10up cole10up removed their assignment Jul 13, 2020
@ernee
Copy link
Author

ernee commented Jul 14, 2020

Just noting here that we're suspecting some of these issues to be related to this issue with Guzzle: guzzle/guzzle#2617

@eugene-manuilov eugene-manuilov self-assigned this Jul 24, 2020
@eugene-manuilov
Copy link
Collaborator

@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.

@felixarntz
Copy link
Member

@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.

@felixarntz felixarntz removed their assignment Jul 29, 2020
@jamesozzie
Copy link
Collaborator

Downgrading the libcurl version resolved this issue for one user, as reported here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Group: Escalation Issues which requires escalation Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants