trying to debug 504 responses