Description
When attempting to enable time settings on a hosted feature layer within Portal for ArcGIS, the process fails, and either one of the following error messages is returned:
Error:
Layer(s) and/or table(s) are not configured for sync. Any changes have been reverted and will not be saved.
Error:
Unable to load https://<DOMAINNAME>/arcgis/rest/services/Hosted/<layername>/FeatureServer/0/metadata status: 404
Error:
Unable to load https://<DOMAINNAME>/portal/sharing/proxy?https://<DOMAINNAME>:6443/arcgis/rest/admin/services/Hosted/<layername>/FeatureServer/0/updateDefinition status: 400
Cause
The errors occur because Portal for ArcGIS cannot successfully route requests between itself and the federated ArcGIS Server when updating the hosted feature layer definition. Possible causes include:
- The domain URL is not listed in the allowedProxyHosts configuration in the Portal Administrator Directory.
- The domain URL is not added to the portal's trusted servers list. Refer to Portal for ArcGIS: Trusted servers for more information.
- Outdated or missing WebContextURL and privatePortalURL properties prevent proper internal routing.
- Invalid or mismatched server certificates. Both Portal for ArcGIS and the federated server are encouraged to use valid, matching server certificates.
Solution or Workaround
Based on the cause, perform any of the corresponding workflows below.
Note:
These workflows require administrator privileges.
Add the domain name to the list of approved addresses for proxy capability
Refer to Portal for ArcGIS: Restrict the portal's proxy capability for instructions.
Add the domain name to trusted servers in Portal for ArcGIS
- Log in to Portal for ArcGIS as an administrator.
- At the top of the site, click Organization and click the Settings tab.
- In Settings, on the left side of the page, click Security.
- On the Security page, in the Scroll to section, click Trusted servers.
- Click Add trusted servers and type in the domain name.
- Click Add server, after specifying the domain name.
Verify portal system properties
- Log in to the ArcGIS Portal Administrator Directory as an administrator.
- On the Site Root - / page, for Resources, click System.
- On the System page, for Resources, click Properties.
- On the System Properties page, confirm that WebContextURL and privatePortalURL match the external portal URL. For example:
https://<DOMAINNAME>/portal
Validate server certificates
Ensure both Portal for ArcGIS and ArcGIS Server use valid, matching server certificates. Refer to ArcGIS Server: Best practices for server certificates for more information.