Bug 18033 - Cannot view component in component store: "Unable to connect to component store"
Summary: Cannot view component in component store: "Unable to connect to component store"
Status: CONFIRMED
Alias: None
Product: Components
Classification: Xamarin
Component: Visual Studio Integration ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: vsx
URL:
Depends on:
Blocks:
 
Reported: 2014-02-26 15:53 UTC by Marcel Bradea
Modified: 2017-08-31 16:46 UTC (History)
15 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Step 1 - View component list (151.83 KB, image/png)
2014-02-26 15:54 UTC, Marcel Bradea
Details
Step 2 - Click on one of the components in the component list (78.03 KB, image/png)
2014-02-26 15:54 UTC, Marcel Bradea
Details
Internet Options that resolved the issue (165.99 KB, image/jpeg)
2015-08-28 15:47 UTC, Jose
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 18033 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Marcel Bradea 2014-02-26 15:53:25 UTC
Certain components do not load up in the Component Store in Visual Studio.

After clicking on a component (see screenshot 1), the component details screen briefly flashes for a fraction of a second then the "Unable to connect to the component store." error shows up (screenshot 2). Clicking through the error bar up top and clicking 'Allow blocked content.....' only makes the error bar go away, but the components subsequently still don't load.


This seems to only be happening for certain components and not others.
For example:
- happens for Google Play Services, Azure Mobile Services, ActionAlert
- doesn't happen for RestSharp, JSON.Net, ModernHttpClient


What is special about these components and is there certain configuration that needs to be set up for them?


NOTE: All external web requests go through a proxy here internally, if that's of any relevance.
Comment 1 Marcel Bradea 2014-02-26 15:54:33 UTC
Created attachment 6161 [details]
Step 1 - View component list
Comment 2 Marcel Bradea 2014-02-26 15:54:54 UTC
Created attachment 6162 [details]
Step 2 - Click on one of the components in the component list
Comment 3 Sadik Ali 2014-02-27 02:15:10 UTC
I have checked this issue and able to added "Google Play Services, Azure Mobile Services" Refer screen cast: http://screencast.com/t/NyjCYrjm

Please recheck at this issue and let us know if still facing same issue.
 
Checked With:

Window
VS 2012
X iOS: 1.10.39
Comment 4 Marcel Bradea 2014-02-27 09:56:58 UTC
Yes it is still having the same issue. This is preventing us from moving forward on our project (cannot get required Google Play Services library).


The environment used:
- Windows 7
- Visual Studio 2013
- Xamarin.Android 4.10.02014
- Xamarin.iOS 1.10.39
Comment 5 PJ 2014-02-28 15:55:29 UTC
Hi Marcel,

We will still need to investigate this further, but for now I want to make sure you can work around this issue and use the components.

you should be able to work around this by downloading the components directly from the component store (using a browser), and adding the included assemblies as a reference.

Here's the url for the store:

http://components.xamarin.com/
Comment 6 Marcel Bradea 2014-03-03 10:32:00 UTC
Is there a log somewhere that we can send you to investigate what thee cause of this is?
Comment 7 Shruti 2015-07-15 06:57:22 UTC
I have checked this issue with adding components 'Azure Mobile Services' and 'Action Alert' and observed same issue as described in comment (0), getting "Unable to connect to the component store." error.

Environment Info:

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.6.00007

Xamarin   3.11.785.0 (d8dbdd9)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.1 (17843e3350f88de6656e39ce5dd379eb191d140d)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.4.0 (c57a2c7d806a18cc56c1f9f3aaf91cb17b791d02)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 8 Jason Steele 2015-07-22 05:50:12 UTC
@Marcel, are you behind an authenticating proxy server. I am about to log a bug stating that the Component can not be downloaded by VS2015 when I am connected through an authenticating proxy.
Comment 9 Jose 2015-08-28 15:47:32 UTC
Created attachment 12681 [details]
Internet Options that resolved the issue

I got the same problem and resolved by going to Internet Explorer -> Internet Options -> Advanced and under the security settings checked: Use TLS 1.0, Use TLS 1.1 and Use TLS 1.2.
Comment 10 b.stoltefuss 2017-08-31 16:43:10 UTC
I am facing the same problem. I am using a special company proxy for my development tools (like VS). So i use a "<proxy 
 proxyaddress="http://compproxy:3128" bypassonlocal="true" />proxy" directive in devcon.exe.config.

When trying to install some components (like azure messaging) via AddComponent in Visual Studio the process silently fails (i can search for a component, but hitting the add button just closes the window and does nothing).

When i open a project which already includes a component reference to one of these components (f.e. the Xamarin Evolve project) i get an error on the component, saying that adding the component failed because "ServicePointManager does not support the https scheme".

If the Xamarin plugin can not correctly handle the proxy settings(http/https) for Visual Studio (in devcon.exe.config) it would probably be the best, if the proxy settings can be configured independently (like this has to be done for nuget).
Comment 11 b.stoltefuss 2017-08-31 16:46:48 UTC
@Jose's workaround does not work for me, as i am using a different proxy for my development tools (like VS, Eclipse etc.).