Probably server is down for maintenance, 504 description explained http://www.ehow.com/info_12142936_504-gateway-time-out-mean.html