We have a WPF app with v2019.2.618.45 controls that has been working fine with the ArcGisMapProvider for a couple of years but has stopped displaying tiles in the last few days.
Have tried clearing MapCache (settings are .IsTileCachingEnabled = true; and .RequestCacheLevel = RequestCacheLevel.CacheIfAvailable;) but no difference.
That's with the release builds. Running in debug there's still an intermittent problem but more tiles load. Setting .IsTileCachingEnabled = false; in debug and all tiles seem to load correctly.
Anything that explains this behaviour or suggestions to debug? It will take some time to push a new release build and don't want to do this unnecessarily. We also don't want to lose the cached tiles.
Hi Neil,
We managed to reproduce the mentioned issue and we will try to investigate it further and also contact ArcGis (ESRI) support for more information. We will keep you informed here.
Just to make sure we are on the same page, could you please confirm you (or your clients) are able to open ZoomLevel 1 and on next zoom, no new tiles are rendered on the map, just the initial ones scaled ?
Thanks Peter.
We were getting some inconsistent results - initially it was reported that no new tiles were loading, so clients were only seeing any they had in their cache.
When I ran in debug I was seeing tiles load intermittently, then when setting IsTileCachingEnabled = false in debug it seemed to work fine. Since then we've had further inconsistent behaviour.
Lastly I've just tried setting default security protocol to TLS1.2 and that seems to have fixed it in both debug and release. Is it possible ArcGis have started enforcing TLS1.2?
Great finding regarding the TLS 1.2.
It appears they have moved to 1.2 3 years ago, according to this article and I guess the transition / migration period has ended soon,
https://support.esri.com/en/tls#:~:text=ArcGIS%20uses%20the%20TLS%20protocol,accept%20connections%20using%20TLS%201.2.
We will make sure to update our ArcGisProvider documentation accordingly.