|
POST
|
If you're interested whether an item is shared with everyone via the Sharing API, you need to look at the item details:
... View more
04-18-2019
08:38 AM
|
1
|
1
|
5811
|
|
POST
|
If the arcgisonline redirect URI's are not maintained during an upgrade, that's an issue that needs to be reported to Support. I don't think the generateToken page via the Sharing API uses oauth, only the home app does, and you're only allowed to reach the oauth page if the URL is within the array of the redirect URI's, so order shouldn't matter either.
... View more
04-18-2019
08:34 AM
|
0
|
3
|
3864
|
|
POST
|
If you sign into Portaladmin, go to the Machines API, grab the machine listed there and then use that in place of domain.com, (ex. https://portal.domain.com:7443/arcgis), what do you get? Can you expand on what you mean when you say "it doesn't have a cert"? Do you mean it's not a certificate from a root certificate authority, (such as your domain certificate authority or a CA like Digicert or Verisign)? The DR tool can connect to a Portal URL that uses a self-signed certificate. The only time I've seen a Java error is when the URL you're trying to use goes through IWA. The DR tool doesn't support connecting directly to IWA secured URLs until 10.7, but the internal machine name should work fine. If the Services URL is secured with IWA, that is going to be a problem as well.
... View more
04-16-2019
11:28 AM
|
2
|
1
|
5445
|
|
POST
|
Looks like it's a problem with the lack of the Access-Control-Allow-Origin header: The map viewer is failing to retrieve any responses from requests to your server. http://docs.motechproject.org/en/latest/deployment/CORS_Headers.html https://stackoverflow.com/questions/12383109/access-control-allow-origin-in-tomcat
... View more
04-11-2019
08:51 AM
|
1
|
1
|
1215
|
|
POST
|
I believe the description is defined in the original MXD used to author the map service. You may need to update it there are overwrite the existing service.
... View more
04-09-2019
09:36 AM
|
0
|
1
|
3928
|
|
POST
|
Yeah, that's possible just takes some refactoring. It looks like the httplib.HTTPSConnection would be used instead of httplib.HTTPConnection: https://docs.python.org/2/library/httplib.html#httplib.HTTPSConnection Then make sure you update serverPort = 6080 to be 6443 or 443, depending on what port your load balancer is listening on. The folderURL and stopOrStartURL variables, (and any others, really) would need to be corrected for the context too depending on the load balancer URL. They're using "arcgis" but you could change that if need be. I had re-written that script within a different thread if you want to take a look for some ideas: https://community.esri.com/message/842376-re-startstop-secure-services-in-1061?commentID=842376&et=watches.email.thread#…
... View more
04-08-2019
03:22 PM
|
0
|
0
|
3526
|
|
POST
|
I like Michael Volz's suggestion of truncating and appending, but another approach is to stop the individual service or services instead of the whole ArcGIS Server service. You can take pieces out of the "stop or start all services in a folder" script to stop specific services, or create your own script: http://enterprise.arcgis.com/en/server/latest/administer/windows/example-stop-or-start-all-services-in-a-folder.htm https://developers.arcgis.com/rest/enterprise-administration/server/stopservice.htm https://developers.arcgis.com/rest/enterprise-administration/server/startservice.htm
... View more
04-08-2019
10:37 AM
|
1
|
2
|
3526
|
|
POST
|
Yes, non-hosted services, applications, and operational and basemap service URLs within webmaps can be updated via the Sharing API using a script, but did you need to update hosted services? Those cannot be updated via the Sharing API and need to be updated elsewhere, a workflow that is not supported and risky.
... View more
04-03-2019
10:07 AM
|
0
|
1
|
2971
|
|
POST
|
The error IOError: [Errno socket error] [Errno 11001] getaddrinfo failed means whatever hostname you're entering can't be found from the machine you're running the tool on. The ""No JSON object could be decoded" error is likely because the getaddrinfo error is sending back a None type object, (or at least something that isn't convertable to JSON), and when the script tries to convert to a JSON object, it fails.
... View more
04-02-2019
11:44 AM
|
1
|
1
|
2817
|
|
POST
|
Portal's health check will only check the health of the Portal instance, not anything else like federated Servers, data stores, etc. Server's health check also won't tell you whether specific services are up, only whether the config-store is accessible and the site is up and running.
... View more
04-02-2019
11:42 AM
|
5
|
0
|
1305
|
|
POST
|
We're working on making it more clear how to register the ArcGIS Data Store to a multi-machine Server site. The ArcGIS Data Store has logic to determine the machines in the site and the traffic between the Servers and the Data Stores isn't HTTP traffic, so you don't need to put a LB in front of it. You'll just register the Data Store to a single machine within your Server site, (https://s1.domain.com:6443, or https://s2.domain.com:6443, etc), and the Data Store will sort out getting the list of machines in the site.
... View more
04-02-2019
08:49 AM
|
2
|
1
|
1279
|
|
POST
|
Right, they're functionally the same. You're getting a dictionary back, ({"token":XXXXX","expires":"YYYY"}), so you just need to extract the "token" variable, however you want to do that.
... View more
04-02-2019
08:42 AM
|
0
|
0
|
3614
|
|
POST
|
That OS is not listed as a supported OS at 10.6: https://enterprise.arcgis.com/en/system-requirements/10.6/linux/arcgis-server-system-requirements.htm#ESRI_SECTION1_B26370BE05834D038A68064E07B8036E Unfortunately, there's no expectation that Server, or any Enterprise product for that matter, will work on unsupported operating systems, even if it worked at prior versions. https://enterprise.arcgis.com/en/system-requirements/latest/linux/arcgis-server-system-requirements.htm#ESRI_SECTION1_B26370BE05834D038A68064E07B8036E
... View more
03-29-2019
02:12 PM
|
0
|
0
|
2470
|
|
POST
|
Hm, openURL isn't return JSON or a dictionary, but a string or array of some sort. It's probably not a good idea for the token request to assume the response will have the token in it, so in my original example, line 46 should be something like: resp = openURL(tokenURL,params)
if "token" in resp:
return resp['token']
else:
raise Exception("Can't get token: {}".format(resp))
If you check whether the response as the token property in it, then you can get the token from the response. Otherwise, the script needs to let you know there was an issue with the token request.
... View more
03-29-2019
02:08 PM
|
0
|
2
|
3614
|
|
POST
|
An easy approach is using joinSite: https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/migrate-to-a-new-machine-in-arcgis-enterprise/ Another approach is using the Python API: https://developers.arcgis.com/python/sample-notebooks/clone-portal-users-groups-and-content/
... View more
03-29-2019
09:08 AM
|
0
|
2
|
4499
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-28-2026 06:05 AM | |
| 1 | 08-26-2016 10:10 AM | |
| 2 | 02-22-2024 07:22 AM | |
| 1 | 06-07-2024 07:11 AM | |
| 4 | 12-12-2024 08:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
07:43 AM
|