Trouble uploading files via REST API

Is the backendless file service partially down?

I’ve been having trouble uploading files to the file service. I am getting response code of 502 - bad gateway and I appears it take longer to uploaded a file when it is successful. This code has been working for many weeks now that I am using to perform the upload file process. Some files actually get upload and most are failing at this point.

Hi Roy,

You’re correct, we’re experiencing an outage with the file service. Everything else is operational (both API and console). We’re working to resolve the issue.

Regards,
Mark

Thanks for the info. I’ll try uploading files later then

Uploading files was working this morning but I’m having trouble uploading files now at this point.

I am current getting HTTP/1.1 502 Bad Gateway when uploading file(s)

Could you please try uploading to the following URL?:

http://files.backendless.com//<version name>/files/<path>/<file name>

Please let me know if it works.

Mark

I tried uploading to the new URL just now and it worked with:

http://files.backendless.com/<application id>/<version name>/files/<path>/<file name>

but didn’t work with:

https://files.backendless.com/<application id>/<version name>/files/<path>/<file name>

Also, I noticed that when it did work, the URL returned is the original l URL path to files i.e.

{“fileURL”:“https://api.backendless.com/<App_ID>/v1/files/<directory(s)>/<filename>”}. This is the same URL that I posted the file data to (i.e. -
https://api.backendless.com/v1/files/<Directories>/<Filename>

Also, when I tried to update a table I am also getting the error HTTP/1.1 504 Gateway Time-out. This happens more often than not but isn’t 100% failure.

There seems to be a lot of latency between API calls when it does work, or not.

In addition, I am seeing after a successful login, I will get an error of Session Timeout which before I hadn’t seen.

The problem with the file upload/download is resolved. Could you please confirm?

I cannot reproduce the problem with the login though. What is the API call that gives you session timeout?

The file upload/download indeed has been fixed. Works very well and the speed of the request is also extremely good. Thanks!