✨I am putting this at the top to make sure it is seen: This is a known issue, which resulted in Secured Storage being pulled from 12.1. It has been logged as an Enhancement: ENH-000186590. The hope is that it will return in 12.2.✨
I'm trying to serve an Oriented Imagery Dataset from a secured Amazon S3 cloud store (not public) using the $virtualCacheDirectory workflow documented for ArcGIS Enterprise 12.0, and I've hit a wall where the service publishes and resolves correctly but images never actually load. Before I go further, my real question for the community: has anyone gotten OID secured storage working end-to-end on AWS S3 with Enterprise 12.0? If you have, I'd love to know what your setup looked like. If you tried and couldn't, that's useful to know too.
Reference docs for the workflow I'm following:
Environment
What I'm seeing
ImagePath is formatted as documented, e.g. $virtualCacheDirectory:<folder>/<filename>.jpg. Published with the native Generate Service From Oriented Imagery Dataset tool with the Virtual Cache Directory parameter set to the registered cloud store.
What I've already verified / ruled out
Open questions
I have an open Esri support case on this (#04187998) and have worked through it extensively with Enterprise support, but we haven't been able to resolve it through standard troubleshooting. I'm hoping someone here with direct experience getting OID secured storage working on AWS (or on the Imagery team) might recognize what's going on. Any pointers appreciated.
Solved! Go to Solution.
Thank you for your research and work here Cameron! I wanted to put the enhancement number from our support case here for visibility in case anyone else came across this issue. We confirmed that this is a known limitation with Oriented Imagery in Enterprise 12.0 and logged ENH-000186590 to request additional support for the functionality. If anyone else is running into this issue, feel free to contact Esri Support Services to be attached to the enhancement.
Very similar approach and results, also in version 12.0, but I'm getting a 500 error when trying to access the images thru the Oriented Imagery Viewer. Did you make any headway?
Not yet, Esri Support is currently reproducing my environment and testing to see if it is a misconfiguration or a bug. They have acknowledged that the documentation is not very clear, I will be sure to follow-up here whatever the outcome.
I'm curious about the error that you are getting? I followed the same instructions you specified. Slightly different environment with a hosting, image, raster, and mapping server. Same private S3. I setup the cloud store connection on all the servers (via server manager). When I click on the image using the OID tools, the icon spins as if it's loading the image and then comes back with a
"Error occurred while loading the image. Unable to load https://FQDN.com/hosting/rest/directories/ags-objects-projectimages/test/S100441.JPG status: 500"
Is this the same error you get?
Yes, this is the same error I am getting. The only difference is that the resolved URL is resolving dsid_<storeGUID>, not the cloud store name as shown in your error.
I had the opportunity to talk with the Esri Imagery & Remote Sensing team at the UC last week about OIDs, and specifically the Secured Storage issue present in 12.0.
Over the weekend I received a message stating that there are issues with OID Secured Storage in 12.0, and the feature has been pulled till likely 12.2. Given this new information Esri Tech Support is trying to figure out how they want to log the issue.
If I receive any additional information on OID Secured Storage I will be sure to update here.
Hello Cameron thank you for sharing this issue. Have you had any follow up with Esri? I am working off Azure and running into the same issues as everyone here. I am unable to load OI imagery from my hosting server in Enterprise 12.0 while everything looks to be setup correctly.
Orlando-
Yes, see the reply by GRoll (I have now marked it as the Solution for this Issue). This is a known issue and is no-op. The feature was pulled in 12.1 (probably the reason the documentation for it disappeared. Esri has logged it as a Enhancement request, so you can contact Esri Support and be attached to ENH-000186590.
Same issue with a secured Azure Cloud storage and AGE 12.0. The OI widget from the map viewer gives an error message 'error occured while loading the image - unable to load <ImagePath>'.
In the browser console it looks like an http path is expected instead of the $VirtualCacheDirectory path, which doesn't make sense:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <Imaage path> (Reason: CORS request not http)
Quite disappointed at Esri staff who told me that this worked perfectly during last EU Dev Summit in November. It also took us weeks to figure out the exact workflow and what was/wasn't possible in version 12.0, even our local distributor got confused by the contradictory doc.
Local distributor is in contact with Esri Inc to follow this up.