Gateway Time-out when uploading File(s) - REST API

I’m having trouble uploading files and I receive this error:

504 Gateway Time-out

Does it happen on every upload or on some of them?

At the time it happened on every file upload. I will check again here and report.

I followed the exact steps as described in the youtube video on how to create a service by implementing IBackendlessService and then tried to upload the jar. It always times out and says gateway time out and i just cant upload the jar file. Is there a problem? Do I need to do anything extra with the jar or compiling??

Could you please forward your jar file to

once i corrected the jar packaging, upload was successful.