network.download problem

I have something like this:

network.download( url, "GET", networkListener, "json.file",system.TemporaryDirectory )  
  

and most of the times it returns:

html\>

# 502 Bad Gateway
  
The server returned an invalid or incomplete response.  
[/html]  

only a few times, it works fine and returns what it´s supposed to

Why am I having this 502 Bad Gateway error most of the time ? [import]uid: 10141 topic_id: 18813 reply_id: 318813[/import]

Just figured it out… it’s a random remote problem. Not Corona’s fault [import]uid: 10141 topic_id: 18813 reply_id: 72827[/import]