Hi. I'm new to this and trying to follow the display a map tutorial:
https://developers.arcgis.com/net/maps-2d/tutorials/display-a-map/
All seems to be good until I run the app at which time I see a blank, white map with the "powered by esri" label at the bottom. The output window has the following errors:
ArcGIS Maps SDK: Load Error: Basemap
System.Net.Http.HttpRequestException
No such host is known. (basemapstyles-api.arcgis.com:443)
ArcGIS Maps SDK: Load Error: Map
System.Net.Http.HttpRequestException
No such host is known. (basemapstyles-api.arcgis.com:443)
before starting, I created a Location Platform Account and API Key as per the tutorials.
Any idea where the issue may be?
Thanks.
Solved! Go to Solution.
Hi there,
It sounds like the SDK isn’t able to reach Esri’s basemap styles service, which is why you’re seeing the “No such host is known” error. This error typically indicates that the client can’t resolve or reach the hostname.
Here are a few things to check:
Map = new Map(BasemapStyle.ArcGISImagery);
Let us know if these steps help or if you need further assistance.
Hi there,
It sounds like the SDK isn’t able to reach Esri’s basemap styles service, which is why you’re seeing the “No such host is known” error. This error typically indicates that the client can’t resolve or reach the hostname.
Here are a few things to check:
Map = new Map(BasemapStyle.ArcGISImagery);
Let us know if these steps help or if you need further assistance.
Thanks for reply. I believe I've ruled out 2, 3, and 4. I was trying this on my office network where there is indeed a proxy server, so I think that is cause. Also, I tried the same tutorial on my home machine and it worked fine. Looks like I will need to look into if there is a way to work around the proxy issue.