502 bad gateway로 끊기는데 document읽어서 502인지 확인하는 절차를 거쳐야할까?