Would like to suggest to have Karney Geodesic measurement algorithm in arcgis server to desktop platform.
It could be better in calculation near the point around 180 and better accuracy.
https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgeographiclib.sourceforge.io%2Fscrip...