This has come up multiple times in trainings. Some firewalls are blocking the fakesat gem download from rubygems.org, which results in an empty file. When you try to upload an empty file to COSMOS, you get this error, which isn't very helpful:

We should check to see if the uploaded file is empty or if there are some other obvious issues to give a better error message to point to what's wrong.
This has come up multiple times in trainings. Some firewalls are blocking the fakesat gem download from rubygems.org, which results in an empty file. When you try to upload an empty file to COSMOS, you get this error, which isn't very helpful:

We should check to see if the uploaded file is empty or if there are some other obvious issues to give a better error message to point to what's wrong.