The Underlying Connection Was Closed

Hi,

I have sent a request to the API and i receive the " The Underlying Connection Was Closed " exception. My client received the same result on a different network and internet connection.

The inner exception is as follows,

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Can someone point me to why this is occurring, as it has been working for ages and we have a paid account that is up tom date.

the request was to endpoint

https://api.routexl.com/tour/

with my credentials used to log into this account and the addresses to router are below.

“[{“address”:“324540”,“lat”:”-37.88839",“lng”:“145.229393”},{“address”:“324349”,“lat”:"-37.8259453",“lng”:“144.9621415”},{“address”:“324539”,“lat”:"-37.8231278",“lng”:“144.9648298”},{“address”:“324389”,“lat”:"-37.82342",“lng”:“144.96628”},{“address”:“324379”,“lat”:"-38.308476",“lng”:“145.188285”},{“address”:“324095”,“lat”:"-37.80949",“lng”:“144.97164”},{“address”:“324551”,“lat”:"-37.81576925",“lng”:“144.983419652994”},{“address”:“324541”,“lat”:"-37.8282879",“lng”:“145.2797101”},{“address”:“322295”,“lat”:"-38.2908679",“lng”:“145.2105331”},{“address”:“322296”,“lat”:"-38.2908679",“lng”:“145.2105331”},{“address”:“322297”,“lat”:"-38.2908679",“lng”:“145.2105331”},{“address”:“324388”,“lat”:"-38.1955301",“lng”:“145.4905492”}]"

Your account seems fine indeed. If it always worked until a few days, the first thing we’d check is the version of the TLS protocol your software is using.

See: Protocol TLS 1.2

Hi,

Thank you for your response. I have changed the tls version to 1.2, now the response is returning a 409 Conflict exception.

endpiont is - https://api.routexl.com/tour/
collection of address locations is - [{“address”:“323180”,“lat”:"-37.8231278",“lng”:“144.9648298”}]"

Exception Message = The remote server returned an error: (409) Conflict

You’ll probably get this response because there are too little locations in the input. Only one location does not make sense to the routing algorithm. Try again with some more.