Internal Server Error SHARING REST Portal

467
6
10-20-2021 02:57 AM
Oiligriv
New Contributor III

Hello
I am experiencing strange behavior in the portal.
"Internal Server Error" appears when uploading and publishing a Hosted service through the Portal

looking deeper, I find that uploading the zip file always works if I don't publish at the same time.

when I publish from the Portal content, "Internal Server Error" reappears.

the offending call is the following
https: // fqdn: 7443 / arcgis / sharing / rest / portals / 0123456789ABCDEF / isServiceNameAvailable

How do you think it is possible to solve?
Thanks
Virgilio

0 Kudos
6 Replies
MichaelGinzburg
Occasional Contributor

Internal error 500 in most cases connected to credentials.

These may be IIS credentials, windows folder credentials etc.

For example, look at: https://support.esri.com/en/technical-article/000025312

It is not exactly the same case but it gives some directions.

 

0 Kudos
Oiligriv
New Contributor III

Hi MichaelGinzburg
I also noticed this Support link.
I have completely ruled out a problem with ArcGIS WebAdaptor.
Error 500 is reported directly on Portal port 7443.

I also performed a Backup and Restore of the Portal but the anomaly persists.

Thanks

0 Kudos
Oiligriv
New Contributor III

Continuing my research, I found that the index is not aligned.
I re-indexed from both Rest Admin and Command line but failed.

how can i force re-create the index?

 

0 Kudos
SzuNyiapTang
Esri Contributor

Hi @Oiligriv ,

Which ArcGIS Enterprise version are you on? If you are below 10.7.1 version, you can refer to the guide in this article to force rebuild the index.

How To: Manually rebuild the index in Portal for ArcGIS (esri.com)

Cheers,

Tang

0 Kudos
AdamPigg
New Contributor

Hi @Oiligriv , did you resolve this issue?  I think we have the same, and followed the same process you have.  Ruled out the web adapter, but getting a 500 response on the isServiceNameAvailable api.  Index looks fine for us however, and we are on 10.8.1.

0 Kudos
AdamPigg
New Contributor

I can also add that this happens on "Feature Service" types.

0 Kudos