New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 705283 link

Starred by 22 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

chrome.webstore.install returns error "Could not fetch data from the Chrome Web Store" anywhere

Reported by c...@funtomic.com, Mar 26 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.33 Safari/537.36

Steps to reproduce the problem:
1. go to Kizi.com
2. in the javascript console execute 
chrome.webstore.install('https://chrome.google.com/webstore/detail/pmmbokildidpgafchfmebmhpoeiganhj',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)}) 
and see the error 

a few more examples:

browse gogy.com - and execute - 
chrome.webstore.install('https://chrome.google.com/webstore/detail/ipcoionabdjoaobikadcdmeankklnnam',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)})

freepik.com -
chrome.webstore.install('https://chrome.google.com/webstore/detail/nkhjnpgcnmdpeikbeegmibjcfjpamjnp',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)})

What is the expected behavior?
inline installation window should pop (or chrome web store should be opened in case inline installation was disabled)

What went wrong?
I'm getting the following error: "Could not fetch data from the Chrome Web Store" on any site with a chrome extension that I've tried.

Did this work before? Yes v56 or later (not sure)

Does this work in other browsers? Yes

Chrome version: 58.0.3029.33  Channel: beta
OS Version: OS X 10.11.6
Flash Version: 

In an incognito window there is *no* error and chrome.webstore.install works ok
 
Components: Platform>Apps>AppLauncher>Install Platform>Extensions>API Webstore
Labels: -Hotlist-Interop
Labels: Needs-Triage-M58
Cc: kavvaru@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on windows 7, Ubuntu 14.04 and Mac 10.12.3 using chrome version 58.0.3029.33  and canary 59.0.3051.3 with the below steps

1. Go to Kizi.com
2.Open dev tools console
3.Execute the code "chrome.webstore.install('https://chrome.google.com/webstore/detail/pmmbokildidpgafchfmebmhpoeiganhj',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)})"
4.Able to see the expected behaviour.Inline installation pop up window and chrome web store link opened without any issues.

Please find the attached screen shot and confirm if anything missed here.

Thanks,
705283.png
510 KB View Download

Comment 4 by c...@funtomic.com, Mar 27 2017

Thank you for checking this. 
It works for me on Canary 59.0.3053.0, but on chrome version 58.0.3029.33 beta I still get the same error - see attachment. Since it does work when I use incognito mode, I tried disabling all of my chrome extensions but with no luck, still getting the error. 
The exact same behaviour happens to my colleague on windows 10 pro, with the same chrome version (58.0.3029.33), we are not using the same network, however we use the same anti virus, I'll try to see if this can be caused by it, although this issue started right after we updated chrome beta to the latest version.

Screen Shot 2017-03-27 at 10.24.11.png
830 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 27 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kavvaru@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by c...@funtomic.com, Mar 27 2017

FYI, I've also disabled the antivirus but still got the error. Could this be geo related? 
Thank you.
Cc: krajshree@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue in MacBook Pro (Retina, 15-inch, Mid 2014), 10.12.3 and Win-10 using chrome reported version #58.0.3029.33 and latest canary #59.0.3054.0.

Following are the steps followed to reproduce the issue.
------------
1. Navigated to Kizi.com
2. In the javascript console executed 
chrome.webstore.install('https://chrome.google.com/webstore/detail/pmmbokildidpgafchfmebmhpoeiganhj',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)}) 
3. Observed that inline installation window popped up and chrome web store opened without any issues.

Attaching screen cast for reference.

Reporter@ - Could you please verify the screencast and please let us know if anything missed from our side.

Thanks...!!
705283.mp4
5.2 MB View Download

Comment 8 by c...@funtomic.com, Mar 28 2017

Hi guys, I confirm - the screencast is the correct way to reproduce the problem. 
I've just discovered that this is related to my google account! Which explains why it worked in incognito mode. If I sign-in to my account (chen@funtomic.com) it stops working in incognito as well.
I think it could be related to us being defined as trusted testers of our chrome extension (both me and my colleague are), found this old bug - 
https://bugs.chromium.org/p/chromium/issues/detail?id=138155
In the meantime I tried removing myself from the list of testers but it doesn't seem to solve it so far.
Any thoughts? 
Thanks!


Project Member

Comment 9 by sheriffbot@chromium.org, Mar 28 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 10 by c...@funtomic.com, Mar 28 2017

Ok the picture is clearer now: this can be reproduced if you sign in to *any* google account. Also reproduces to me on Canary if I sign in to a google account there.

So steps to reproduce:

1. sign in to google with your account
2. go to Kizi.com
3. in the javascript console execute 
chrome.webstore.install('https://chrome.google.com/webstore/detail/pmmbokildidpgafchfmebmhpoeiganhj',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)}) 
and see the error 
  

Please let  me know if you can reproduce now, 
Thanks!
Labels: OS-Windows
Status: Untriaged (was: Unconfirmed)
I get a different error message, but, still, an error message -
"Inline installation is not supported for this item. The user will be redirected to the Chrome Web Store."

Comment 12 by c...@funtomic.com, Mar 28 2017

Actually this error is valid, we get it because inline installation was disabled for our extension (you can see web store is opened on another tab) but it means you didn't get the first error.. meaning you still didn't reproduce the issue :( 

Can you kindly try the following steps on latest chrome beta/canary:

1. on a chrome tab, sign in to google with your account 
2. on another tab - navigate to gogy.com
3. in the javascript console execute 
chrome.webstore.install('https://chrome.google.com/webstore/detail/ipcoionabdjoaobikadcdmeankklnnam',function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)})

Did you get the original error message ('Could not fetch data from the Chrome Web Store')?

Thank you!

Comment 13 by phistuck@gmail.com, Mar 28 2017

#12 - could not reproduce using the latest canary on Windows.

Comment 14 by c...@funtomic.com, Mar 29 2017

Hi, please see attached screencast with the scenario I described on comment #12. I can record it on Canary too if needed.
Recording #1.mp4
3.1 MB View Download

Comment 15 by phistuck@gmail.com, Mar 29 2017

#14 - I see that you have multiple Google accounts. Does it reproduce with all of them, or is only the @funtomic.com account experiencing this issue?

Comment 16 by c...@funtomic.com, Mar 29 2017

It happens with all of them - see comment #10. It also happens on an incognito window if I sign in to just one of them (it's not an issue of being signed it to more than one account). It happens to me on Mac and to my colleague on windows 10 pro.
If you can't reproduce, could it be a geo related issue? we are in Israel.
10x.

Comment 17 by c...@funtomic.com, Mar 29 2017

PS
I also created a guest user on my mac to make sure it is not related to any chrome extension I have installed, and it happens there as well, after I sign in to a google account.

Comment 18 by phistuck@gmail.com, Mar 29 2017

#16 - I am also located in Israel, as it happens, so it is probably not a geographical issue. :)

(I am using Windows 7, though, not Windows 10)

1. Does it happen at home as well, or only at work (I am trying to rule out some corporate proxy/firewall rules that are being applied only when certain payloads are being submitted)?

2. Does inline installations work for you in other websites, unrelated to your work? For example, does this one show the installation dialog when you are signed into one of your accounts?
https://buffer.com/extensions

Comment 19 by c...@funtomic.com, Mar 29 2017

Shalom :) 
Just installed chrome v58 on my husband's mac and it happens there as well. Also, me and the colleague I mentioned earlier work on different sites, and I am not part of any corporate network. 
Inline installation doesn't work for us at all (gogy is also unrelated to my work), and also the one you provided. 
This issue started when I updated my chrome beta to the latest chrome 58, before (I was probably on v57) it worked, so this is probably a regression. 
Perhaps I can try to install a previous version to verify when exactly it started..

Comment 20 by c...@funtomic.com, Mar 29 2017

phistuck@gmail.com, are you using the latest chrome beta version?  58.0.3029.33 beta?

Comment 21 by phistuck@gmail.com, Mar 29 2017

#20 - I tried using the canary, not beta. Since beta (on Windows) replaces stable, I am not installing it. :(

Comment 22 by phistuck@gmail.com, Mar 29 2017

#19 -
You might want to try bisecting. It is pretty technical (command line), but it might work for you.
https://www.chromium.org/developers/bisect-builds-py
https://www.chromium.org/developers/bisecting-bugs

Comment 23 by c...@funtomic.com, Mar 29 2017

Thank you! seems useful - I'll try to use it and update.

Comment 24 by c...@funtomic.com, Mar 29 2017

In the meantime - I've installed Version 57.0.2987.110 (64-bit) - which is now on stable, and it works there...

Comment 25 by vargc...@gmail.com, Apr 21 2017

We have the same issue with the new released v58

- inline installation works on v57
- installing from the web store works fine on 58
- installing inline in incognito mode works on 58
- installing inline in non incognito mode works if you aren't logged into a google account

Chrome version:
Version 58.0.3029.81 (64-bit)

To reproduce:

- login to google account
- go to http://apps.eye-square.com/scheduler/entry?ProjectID=2016-03_DE007_im4pnldz81&SubjectGroupID=fb-static
- execute:
chrome.webstore.install(chromeExtensionUrl ,function(x){alert('Good:'+x)},function(x){alert('FAIL:'+x)})
We are facing the exact same issue with inline installation starting with v58:

- worked in v57
- webstore installation works in v58
- inline installation works in v58 when not being logged into a Google account
- inline installation fails when being logged into one or more Google accounts

Comment 27 Deleted

Inline installation of Google Play Music's Chrome App is also "broken" in v58 where it was working fine in v57.

"Broken" means that chrome.webstore.install() fails with "Could not fetch data from the Chrome Web Store" -- I have not investigated how clearing of cookies impacts the bug.

Inline installation of Google Play Music's Chrome App can be triggered by clicking on the "Open Miniplayer" icon in lower-right area of Play Music's web app.

Thanks for taking a look at this!

Cc: ackermanb@chromium.org
+ackermanb as fyi

Comment 31 by jawag@chromium.org, Apr 21 2017

Cc: konsto@chromium.org jawag@chromium.org lottie@chromium.org
Cc: rbasuvula@chromium.org
 Issue 714176  has been merged into this issue.
Cc: -konsto@chromium.org rdevlin....@chromium.org
Owner: konsto@chromium.org
Status: Assigned (was: Untriaged)
konsto@ has been handling this on the webstore side.
For us, inline install started working again just now in v58, even when being logged into a Google Account.
Status: Fixed (was: Assigned)
Should be fixed by now.
I can confirm that it works again.
Your attention, responsiveness and speed of resolution on this matter are greatly appreciated. Well done and thank you.

Sign in to add a comment