The reprojection might fail for points that are located at the backside of the globe. Best solution is to clip the data to the visible hemisphere.
I have given some advice on that here: Losing polygons after projecting map in QGISLosing polygons after projecting map in QGIS and in the questions in the Linked
section of that topic.