2013-04-06 2 views
3

오늘 502 오류와 관련된 큰 문제가 발생합니다. 자세한 내용은 다음과 같습니다. azure 웹 사이트에서 사용하면 완벽하게 작동합니다. http://mywebsite.cloudapp.net/ 그러나 http://www.mywebsite.com에있는 DNS를 가리키면 일부 작업 (전부가 아님)이 502 오류를 반환했습니다. 이상한 점은 http://mywebsite.cloudapp.net/에서 동일한 작업을 사용할 때 완벽하게 작동하기 때문입니다.DNS 및 오류 : 리소스를로드하지 못했습니다. 서버가 502 상태 (불량 게이트웨이)로 응답했습니다.

참고 : "mywebsite"는 웹 사이트의 가짜 이름입니다.

도와주세요

프록시와 관련된 문제가 있습니까?


업데이트 : 나는 그것이 함께 발생하는 것을 알 수 "PUT"명령과 함께 작동 다른 요청에 대해 "GET". "PUT"명령과 일부 DNS 설정에 문제가있을 수 있습니까? 아니면 프록시?

"response": { 
    "status": 502, 
    "statusText": "Bad Gateway", 
    "httpVersion": "HTTP/1.1", 
    "headers": [ 
    { 
     "name": "Date", 
     "value": "Sat, 06 Apr 2013 18:33:08 GMT" 
    }, 
    { 
     "name": "Server", 
     "value": "Microsoft-IIS/7.5" 
    }, 
    { 
     "name": "X-Powered-By", 
     "value": "ASP.NET" 
    }, 
    { 
     "name": "Content-Length", 
     "value": "1477" 
    }, 
    { 
     "name": "Content-Type", 
     "value": "text/html" 
    } 
    ], 
    "cookies": [], 
    "content": { 
    "size": 1477, 
    "mimeType": "text/html", 
    "compression": 0, 
    "text": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>502 - Web server received an invalid response while acting as a gateway or proxy server.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n <h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2>\r\n <h3>There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n" 
    }, 
    "redirectURL": "", 
    "headersSize": 162, 
    "bodySize": 1477 
}, 

답변

0

나는이 문제를 해결할 수 있었다 : 여기

는 서버의 응답입니다. godaddy에서 DNS 설정이 잘못되었습니다. 나는 "A"레코드에 하늘색의 webrole (NOT WEBSITE)에 IP 주소를 설정해야했습니다. 이제 완벽하게 작동합니다.

관련 문제