Select to view content in your preferred language

ArcGIS Pro - Failed to publish web layer to Portal For ArcGIS

15444
10
03-06-2018 09:17 AM
AlessandroValra
Occasional Contributor III

Hello,

I am trying to share a shapefile as a vector tile layer from ArcGIS Pro (2.1) to Portal for ArcGIS (10.6).

I am receiving the generic error "Failed to publish web layer".

I attach the log of the failed job. To sum up, the errors I read are:

  • Unable to write to user defined location for the local tile cache creation ()
  • Publishing web layer failed (AGO)
  • Publishing tool execution failed
  • Failed to publish web layer    ErrorMessage: Failed to publish web layer

This is what I 'm doing.

I launch ArcGIS Pro using an ArcGIS Online organizational credentials to authorize it.

I switch to Portal for ArcGIS with admin credentials, setting it as my active portal.

I do this because I cannot directly authorize Pro with Portal credential.

I then go to Share -> Web Layer -> Publish Web Layer.

I check "Copy all data" and then Vector Tile.

No messages at all when analyzing.

I press Publish and receive the error.

I already checked the permission on many folders, but I am not sure where to find the "user defined location for the local tile cache" mentioned in the log.

Also, if this could matter, the certificate of the Portal is self signed, and I am using Pro from within the LAN of the server.

Finally, I have NO problem at all publishing map image layers using the same exact procedure.

Any guess?

Thanks in advance.

10 Replies
JonathanQuinn
Esri Notable Contributor

The CN of the certificate has to match the host and domain for the URL. Did you use fe8sina.sina.int as the CN for the certificate used for https://fe8sina.sina.int:6443/arcgis?