This issue didn't start untill last night. I have 3 portal layers (hosted feature layers) that are supposed to update every evening. They didn't update last night. I wasn't aware of this issue till the customer reported that their apps were getting an error that said couldn't add layer to the map. This morning I created a new map image service that works great. The issue alone is with hosted feature layers. All other services that are not hosted feature layers draw just fine.
Here is a rundown of my issues... 1. Hosted feature layers are unable to be added to map. 2. When I go to the rest endpoints for the hosted feature layers I see a list of the layers but when you click on one it goes no further. So it is like they are there but it cant see them. https://geo1.oit.ohio.gov/arcgis/rest/services/Hosted 3. IN any application that uses a hosted feature layer it gets a message that layer can't be added to the map. 4. I can't upload a csv file or anything that I wish to create a hosted feature layer. The error I get states Error While analyzing file. There was an error trying to analyze your file. Please check that file is formatted cortrectly. I have tried this with several different csv files and all produce the same results. 5. I can upload an image. I have no problem doing that. I can also upload using the Add CSV file only option. 6. I validated the datastore and it validated correctly. 7. I checked the federation and it is valid also. 7. I tried adding a hosted feature layer in pro also and this also failed. So this was all working yesterday and it is not working today. They did patch our server last night so I had them roll back the patches and it is still not working. I need to addresss this issue asap and get it working for my end users.
Sounds like something happened with your connection or ability to publish feature layers? What version of ArcGIS are you using? ArcMap? ArcGIS Pro? Also, which patch was applied on the server?
What does the portal log say about the 3 hosted feature services? What about the other hosted feature services work except the 3 hosted feature services we are having trouble with? Also, Have you tried to stop the services and start them manually or restart the portal services?
Appears to be an issue related to connectivity between ArcGIS Server and ArcGIS DataStore. Although, you mentioned datastore is validating correctly. Did you validate through Server Manager or Server Admin API?
First thing I would do is restart the Server and DataStore services, validate DataStore again through Server Manager and check logs if there are any errors. Following that, use the blog below to check that the expected processes are running for each Enterprise component in Task Manager: