Maps services no working on .NET

344
1
05-10-2022 08:36 PM
MARCORIVERA50501
New Contributor

Hello, I have an application working with ArcGis Runtime 10.2.5, until last week it worked fine with the services.

https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer
https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer

But now it won't let me see maps as a service

 

---------

 

I get this log

-----------------------

Timestamp: 5/9/2022 3:48:23 PM

Message: An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---

 

 

Thanks

 

0 Kudos
1 Reply
hayer
by
New Contributor II

This is not related to ArcGIS directly, but your computer configuration or the SSL/TLS configuration of the service you are attempting to use.

 

Assuming it is running as a Window desktop-app I would take a look at these links;

TLS (Schannel SSP) | Microsoft Docs
Transport Layer Security (TLS) registry settings | Microsoft Docs


To test that this is not ArcGIS SDK's doing; create a console app and use System.Net.Http and send a GET request to the endpoints. You will probably end up with the same exception.

0 Kudos