I have built an app using Web App Builder. It has a Map which has a map layer that is served by a map service by ArcGIS Server. All these components are local on my computer including the Portal and ArcGIS Server. Everything works well on my computer. However others are only able to see the basemap when they connect to my app but not the layer data itself. All the resources including the Map, App etc. are shared with everyone. What is going wrong here - seems I am obviously missing something? Can someone please help me - this is really frustrating. Thank you!
Solved! Go to Solution.
Hi Gagag,
Need more info to try and help troubleshoot.
Hi Gagag,
Need more info to try and help troubleshoot.
...all the things Derek asked, but also check to make sure the data itself is accessible to all, and the paths are a something that can be read by others (i.e. Derek's last point, make sure others can see the end point).
It would also be helpful to know the version of Server you are using...and of Web AppBuilder (and whether using the Online version or a developer edition, and the version...or Portal version).
Thanks. Please see my response to Derek.
Thanks for your response. It seems the issue is with the map service whose endpoint is encoded as and points to localhost. . This service was created from ArcMap by sharing the map (File->Share As->Save a Service Definition File). The connection that I use is a fully qualified machine name (not localhost). However when the service ends up in the ArcGIS server admin, I see its REST and SOAP endpoints encoded as localhost. I don't know why it happens that way. How to fix it?
Here are answers to your questions:
Ok some update - I took care of the service url to be fully qualified server url. I also opened up all the ports to ArcGISServer.exe so that it can send and receive on any port - either TCP or UDP. With this setting, when I access the REST end point of the service from another computer, I do get the REST response. The end point uses port #6443.
However, when I access the map viewer from another computer, the layer still doesn't show up.
Have you set up a web adaptor for your ArcGIS Server? Typically 6080 or 6443 is used when accessing using the <machinename> to access the REST (i.e. <machinename:6080> for unsecure, <machinename:6443> for secure). If you have web adaptor(s) in place, it is port :80 for unsecure and uses http, and port :443 for secure, and uses https....but you shouldn't typically have to specify the port for these.
If you have secure services, you may need to set up a proxy GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.
re: getting network traffic without firebug/fiddler.....F12 on browsers, even IE, will typically give you some feedback or going in tools and clicking on the developer tools, that is unless your IT has disabled this too.
And of course, go thru the links Derek provided, since he know more about Portal than I do.
Hi Gagag,
Ok, so it sounds like you are using ArcGIS Server 10.1 with Portal for ArcGIS (which release?) and it is NOT a federated deployment.
Q1. What is the security/authentication model set for the Server site? This could be the built-in identity store, enterprise identity store, etc. Help topic here,
Configuring ArcGIS Server security—Documentation (10.4) | ArcGIS for Server
You can check by logging into ArcGIS Server Manager > Security tab.
Q2. Did you enable HTTP, HTTP and HTTPS, or HTTPS only for your Server site?
Secure ArcGIS Server communication—Documentation (10.4) | ArcGIS for Server
Q3. Did you set security on your web services from ArcGIS Server?
Restricting access to GIS web services—Documentation (10.4) | ArcGIS for Server
Q4. When you added your web services to Portal by registering them - did you specify the fully qualified domain name as part of the URL that you added? If they were secure, did you save the credentials with the item?
Add items—Portal for ArcGIS (10.4.1) | ArcGIS for Server
> Can you get the other end users to install Fiddler or Firebug to monitor the network traffic when they attempt to load the web app?
That's unfortunate, because without this logged network traffic info, it will be challenging to help you troubleshoot your issue.
Thanks, Derek. I will follow up on the information that you point me to and report. Meanwhile I would like to know if this behavior is due to limitation of the software which is part of the EDN and licensed as EDN - I am using the ArcGIS Server and the Portal that I received as EDN. Could that be the case?
Hi Derek,
I have gone through all the links and accordingly checked my ArcGIS Server and Portal settings. I am using HTTP/HTTPS and am using ArcGIS Server built-in security. I have shared my service with everyone. I used fully qualified server name when I created the service definition (.sd) file. When I check the details of the service in ArcGIS Server manager, I see the fully qualified server machine name, https://<servername>:6443/arcgis/rest/services/<servicename>MapServer. My web adapter is configured to work with portal.
However, I see following two interesting things:
I think I am getting closer but still not there. And I am stumped as to what could be wrong in this setup here. May be I should uninstall ArcGIS Server, Web adapter and Portal and reinstall them?