I have recently installed and federated an ArcGIS Server and a Portal (10.6.1). I am using the server as a hosting one as I have installed and configured the ArcGIS Datastore (Tile cache and Managed) altogether with a registered enterprise database. Everything seems to work nicely when publishing different map image/elevation/feature/tile cache layers. However, when I am trying to publish a .slpk, the process fails and I get the following error messages on both the server and the portal logs:
"Failed to create couchdb database. Client tried to access password-protected page without proper authorization. (status code 401). Failed to execute (Publish Portal Service)."
I have done different tests, publishing both from ArcGIS Pro and the Portal, with "Add item from my computer" and I get the same errors.
The solutions that I have already tried are the following:
|FIXED| CityEngine SLPK and Portal for ArcGIS
Error: ERROR 001785: Unable to connect to the database used for scene caches (Unidentified Error)
Error: ERROR 001784: Unable to connect to the database used for scene caches (unauthorized)
None of them worked in my case.