Add debug info to server..
Suspect that NaN centroids are causing upload failures