开发者

IIS7 Win 2008 + ASP MVC http result 504 status with static files css, js, images

开发者 https://www.devze.com 2022-12-14 08:59 出处:网络
Randomly accessing static files o开发者_Go百科n our web site returns http 504 error status code From fiddler:

Randomly accessing static files o开发者_Go百科n our web site returns http 504 error status code

From fiddler:

Result Protocol Host URL Body Caching Content-Type Process Comments Custom 288 504 HTTP

/assets/styles/site1.css 512 text/html ekrn:700 289 504 HTTP

/assets/styles/rightmenu.css 512 text/html ekrn:700 291 504 HTTP

/assets/scripts/jquery.cookie.js 512 text/html ekrn:700

Fiddler gives information

HTTP/1.1 504 Fiddler - Receive Failure Content-Type: text/html Connection: close Timestamp: 08:30:45:8693

ReadResponse() failed: The server did not return a response for this request.

The 504 error still appears. This website runs on the same port and ip with over website (multibinding iis function)


504 is not a valid IIS Status Code. Check the IIS logfile and see what is the status code for the static files. Please explain further what is the error message and what are you using Fiddler for.


Looking at the Fiddler traces, all failing requests are returned as text/html. You might want to look at the actual response content to see if there's some more details.

Also, look at the IIS logs to see what exactly IIS got as a request and what it did respond with.


Solution was disabling on router HTTP Multiplexing feature.

0

精彩评论

暂无评论...
验证码 换一张
取 消