I have a PHP script which runs through a list of items about 2500 of them and writes them to a file in format of CSV. Then I read out the file and echo back to the client. But I am getting 502 Bad Gateway from Cloud9.
Does C9 have a timeout for requests? I have set the timeout to zero in PHP.
If I create the file on one request and read it back in another it works as intended, but not being able to do them in one request, which is what I am after.