Skip to main content
Question

Bing map API call exception?


Forum|alt.badge.img

We are getting exception as mentioned in attached log file while FSM tries to call Bing API. Can you please check the exception and suggest the solution.

 

Exception messages –

 

Message: Exception details in BING REST call: requestUrl=http://dev.virtualearth.net/REST/v1/Locations?addressLine=GIPSON%20ST&locality=DIAMOND%20CREEK&postalCode=3089&countryRegion=AU&key=Arf9rKlhppvsv6lk7V13KcT9WzJXr1ts0HNgikfaOrr5MayEw3xjvT8WKyftVj8k

exception=System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.231.167.203:80

3 replies

roklde
Superhero (Employee)
Forum|alt.badge.img+27
  • Superhero (Employee)
  • 756 replies
  • May 17, 2022

Hi Soumitra,

I believe it’s because the FSM App Server isn’t able to connect to the BING Maps API due to Firewall blocking or any other policy in place.

Check with the customer if this is the case (or maybe if a Proxy is required to access external resources).

Best regards

Roman


Forum|alt.badge.img+21
  • Superhero (Employee)
  • 427 replies
  • May 18, 2022

Forum|alt.badge.img+7
  • Sidekick (Customer)
  • 47 replies
  • June 23, 2022

Hi I have got a similar error and timeout during the perform refresh cache. It seems there during the refresh a public ip is trying to be reached. Can you assist on pinpoint the location of such a url? 

 

Timestamp: 2022-06-22T12:56:21.8267337+00:00
Message: Incoming XML request:
<perform_full_refresh_cache><parameters /><authentication><session_info><tenant_name></tenant_name><workstation></workstation></session_info></authentication></perform_full_refresh_cache>
Outgoing XML reponse:
<metrix_response><result type="Exception"><error><system_error><severity>ERROR</severity><message>A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 20.60.130.101:443</message></system_error></error></result></metrix_response>
Time Elapsed: 00:04:46.9251241


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings