Upload fails part way

Over the past couple days I have been unable to upload logs, it start to upload but after 10-15 seconds or so it stops abruptly and says failed to upload. Today I was lucky enough for it to make it all the way through after a few attempts (as I was making this post). At first I thought it was a corrupted log so I ditched the last one but tonight’s exhibited the same behavior until it eventually went through.