Errros when trying to add specific services to Portal

10702
13
09-29-2014 07:14 PM
DownerNew_Zealand
New Contributor III

Hi,

I am having difficulty adding specific external services to my installation of Portal. Any insight would be greatly appreciated.

Attempting to add http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities

either as an item or directly to the map produces this error:

"Service '' does not exist or is inaccessible."

The following GeoRSS (http://www.geonet.org.nz/quakes/services/all.rss) produces this:

"The GeoRSS, http://www.geonet.org.nz/quakes/services/all.rss, cannot be added to the map. It is either not available or you have entered an invalid URL for the type of layer you want to reference."

These are just two examples of the many I am encountering. I cant seem to find a pattern to which ones work and which do not. I've confirmed these services are working by successfully adding them to AGOL.

Diving a bit deeper, I find that the portal logs claim that the connections are timing out.

Sep 30, 2014 12:52:24 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 12:57:07 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 1:19:00 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 1:22:53 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 1:33:06 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 2:17:32 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://www.geonet.org.nz/quakes/services/all.rss?SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 2:18:36 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Sep 30, 2014 2:25:36 PM com.esri.gw.proxy.ProxyServlet service

SEVERE: Proxying request to: http://geo.weather.gc.ca/geomet/?lang=E&SERVICE=WMS&REQUEST=GetCapabilities failed: Connection timed out: connect

Any ideas?

By the way, My Portal and Server are 10.2.2

0 Kudos
13 Replies
JoseSousa
Esri Contributor

Hi Ryan,

Can you see if this resolves the issue?

Handling mixed HTTP and HTTPS content

I would suggest that you use HTTPS URLs though as you are referencing an insecure (http) resource within a secure (https) page.

This is also related with this post: Cannot add any layer from web (map service)

Cheers,

Jose

DownerNew_Zealand
New Contributor III

Thanks for the reply Jose. I've confirmed the browser settings and am still seeing the problem. I've tried with multiple browsers on multiple machines and networks, and they all give the same error, which leads me to believe it is something server side.

On that note, I've successfully consumed http items from local councils without issue. While I'm not ruling out this as a problem with SSL, things do not seem to be pointing in that direction.

0 Kudos
JoseSousa
Esri Contributor

Hi Ryan,

I have tested your URLs in ArcGIS Online and they both work well.

I have tested an HTTPS GeoRSS feed and the Portal 10.2.2 still failed meaning that this is not a problem with the mixed content as you also mentioned earlier.

The HTTPS URL that I have used is the Esri sample: https://dl.dropboxusercontent.com/u/2654618/data-mixed.xml

Portal for ArcGIS 10.2.2 gives the following error in fiddler:

{"error":{"code":400,"message":"File not found. Wrong url.","details":[null]}}

and the following error in the Portal web site:

The GeoRSS, https://dl.dropboxusercontent.com/u/2654618/data-mixed.xml, cannot be added to the map. It is either not available or you have entered an invalid URL for the type of layer you want to reference.

I do think that you are correct and that this is a bug with the software so I will leave this to Esri Inc. so that they can provide more information about the error.

Cheers,

Jose

DownerNew_Zealand
New Contributor III

Jose,

I tried and successfully added a WMS service from my own ArcGIS server, as well as one from a local council's ArcGIS server.

However, you may be onto something that only wms services published by ArcGIS can be accessed by ArcGIS for Portal. I can add the following to AGOL but not to our portal:

Appreciate your help Jose. I will chase this up with Esri has to see what they have to say.

0 Kudos
SusanJones
Occasional Contributor II

Howzit Ryan, Jose

Did you ever get clarification from ESRI whether this is a bug in the software, or if this can be sorted out by adjusting the the internet security configurations. ?

We are experiencing the same issue with consuming mixed content map services.

Awesome feedback -I love the Geonet user participation and engagement.

Susan

0 Kudos
DownerNew_Zealand
New Contributor III

Nothing from Esri on this yet. Still experiencing the problem. Will update this thread if we ever find a resolution.

SusanJones
Occasional Contributor II

Thanks for your reply and update, Ryan.

This stream has been a valuable lesson for us.

0 Kudos
JoseSousa
Esri Contributor

Hi Susan,

It is unlikely that the software has issues regarding with mixed content as this seems to be working well for other organisations thus not recommended.

There might be issues consuming WMS services that weren't created by ArcGIS since this is just a capability on top of a Map Server. However, this has not been confirmed by Esri as mentioned. The same in regards to consuming a GeoRSS feed. Both these issues are not related to mixed-content at least directly. This can even be caused due to the URLs not being formatted as expected as this is not very well documented. Lars suggested adding the WMS without the getcapabilities. I haven't tried so am not sure if this will work for all cases/software releases.

Your issues can come from many things including firewall restrictions, security policies, browser limitations, the portal proxy denying the communication, SSL certificate errors or even because we don't know how the software expects that the URLs are formatted. This is not very well documented.

Can you login to a machine using an account with admin privileges and attempt to consume the resources? It might happen that the firewall is preventing your user from performing calls to external HTTPS content or mixed-content.

Cheers,

Jose

SusanJones
Occasional Contributor II

Jose, Ryan:

Thank you both. Your posting came at the right to get to the issues.

Have done some testing and identified issues.

Susan

0 Kudos