Error loading extensions from gallery source 'Orchard Gallery'. Unable to connect to the remote server.

Topics: Administration, Installing Orchard, Troubleshooting
Oct 23, 2012 at 12:15 PM

Hi

I've set up Orchard v.1.5.1.0 on IIS7.5 and when I go to Themes or Modules and click the Gallery tab I get this error: 

Error loading extensions from gallery source 'Orchard Gallery'. Unable to connect to the remote server.

The gallery URL is currently set to http://packages.orchardproject.net/FeedService.svc

When I have the site running locally it works fine so I'm assuming it is something to do with the server configuration. I tried contacting the host but they dismissed it as a Orchard issue.

Does anyone have any suggestions on how to fix this?

Coordinator
Oct 26, 2012 at 4:57 AM

They are probably blocking outbound network traffic from their servers but were too lazy to investigate. What hosting company is that, so we can publicly shame them? ;)

Oct 29, 2012 at 8:39 AM
Edited Oct 29, 2012 at 8:42 AM

Yeah I figured it would be something on their end. I asked them about blocking outbound traffic and got this response:

Netregistry does not allow direct connections to and from your website
virtualhost to third party hostnames by default in order to protect the
website owner and the server from countless different security issues
associated with this type of connection.

In order connect externally, please use the follow Proxy hostname in
your code:

host: proxy.private.netregistry.net
port: 3128

The proxy is only used for external HTTP requests and not for external
DATABASE connections

There isn't somewhere to easily set that is there?

Coordinator
Oct 29, 2012 at 7:32 PM

This can probably be configured in web.config: http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx but you should really ask yourself whether it's a good idea to install modules and theme directly in production. You should do that in a development environment and then deploy.