502 Bad Gateway nginx/1.4.7

Hey guys, i’ve been getting this error since yesterday when i was posting on the foum. it would show up randmly in some pages. But now is also showing up when i try to load an image from the file service, but in there it only happened since today, it has been working well for over 2 months. In my app the images wont load and the network tab shows pending for a while, then fails.


Hi Nicolas,

Could you please try it now?


Hi Mark,
Still not working. Yet i’ve found part of the problem. Opening this link from my app in the mobile device and my logged in browser windows does not work. opening it from a in-private browser tab loads it perfectly.

It looks like it is related to some kind of caching on the client/browser side. Could you try clearing browser cache and reload the file again?

actually i cannot, not really on the deployed native apps. This is the screen capture from the emulator with the disabled cache

As a temporary workaround, you could try using the following URL:


Please note that it is NOT https://


If it is of any help, the resource is available to not authenticated users and disabling the cache did not help, maybe it has something to do with cookies.

not working either :confused:

This is the console message from the webpage

Failed to load resource: the server responded with a status of 404 (Not Found) http://api.backendless.com/favicon.ico

http://api.backendless.com/97F1E992-5230-CFC2-FF4D-58283C79C800/v1/files/media/BitBurger75.jpg Failed to load resource: the server responded with a status of 502 (Bad Gateway)

Sorry, I changed the text of the link, but not the actual href.

Here it is again (see the difference in the domain name):

It loads!
The problem with this is that i cannot change the api calls made from mobile devices… i load the images dinamycally, changing the final path to the media element. This URL (“https://api.backendless.com/97F1E992-5230-CFC2-FF4D-58283C79C800/:wink: is embedded in the already released app.

Can I download the app and try it out? What’s the URL for the app store?

More testing reveals that new app installs load correctly the images. https://play.google.com/store/apps/details?id=sitmap.cometealguito_1&hl=es
Installs not opened today or yesterday work.

The only thing that worries me right now is if this event repeats again. i wouldn’t want to leave our customers with an unusuable app

I understand. We made a few changes which should only improve stability of the server side. The problem you see appears to be related to the client caching.

Alright, i’d still would recommend you to look into the Bad Gateway issue. But for the time beign hopefully the problem won’t show up again. Have a good day!

One last update, clearing local storage and cookies solve the problem for the web browser.

Mark, the iOS version is finally approved and images are not loading :confused: Same 502 error


Nicolas, the file download problem has been resolved. Thank you for your patience!

Thanks for your support!