Chinaunix

标题: traffic server 问题,求大神搭救 [打印本页]

作者: wdsnake    时间: 2014-11-23 12:58
标题: traffic server 问题,求大神搭救
本帖最后由 wdsnake 于 2014-11-23 12:59 编辑

最近www.hao123.com被运营商给搞的来回的刷新,都没法用了,领导让把这个问题解决。试着用反向代理的方法来搞一下,发现用nginx和varnish做,页面还是来回的刷,只有是url里包含www.hao123.com,就会被来回的反复刷新。后来用traffic server做反向代理,把www.hao123.com map 为hao123.xxx.net后就不刷新了,但出现一个新的问题,就是面页顶部的天气预报出不来了,显示“加载超时,请重试”。看tas的error日志,有下面这些错误
http://www.hao123.com/h.gif?ts=1 ... ver=5.2&px=1680*1050&xp=div4-div-div-div-div2-div2-div-div-a&ep=.3%2C.6&ci=2&pp=747%2C54&ps=1663%2C4310&v=hao123-indexnu&objurl=http%3A%2F%2Fhao123.nvn.net.cn%2F%23&title=%E9%87%8D%E8%AF%95&area=weather&monkey=m-header2-weather&axp=A4(layoutContainer)AAA(header2)A2A2AAC'
20141122.23h56m47s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/r/image/2014-11-21/7fc5921f2904a768a4ea96897626772b.gif'
20141122.23h56m47s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/adimages/textlink-ads.gif'
20141122.23h56m47s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/t.gif?v=index&pid=113&ref=&embed=0&ho=1&ver=150-3-14-3&_=1416671591561'
20141122.23h56m47s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/api/newxhtiao?c=&sys=5&brw=3&edt=7&pid=hao123-index&callback=getXhtData&_=1416671591592'
20141122.23h56m48s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/api/newforecast?callback=jQuery17201819679329297007_1416671591583&t=1&_=1416671591861'
20141122.23h56m48s RESPONSE: sent 10.202.127.217 status 404 (Not Found on Accelerator) for 'http://www.hao123.com/images/track.gif?tm=1416670269&embed=0&ho=http%3A%2F%2Fhao123.xxx.net%2F&type=access&r=1416671592049&v=1.1.3&level=1&page=index&ver=150-3-14-3&pageId=hao123-indexnu&pf_fms=0&pf_bd=0000&pf_gw=0&pf_nav=0&rp=0&navmore=0&skin=skin-color-green&isSiteUser=000&ostype=0&menu=index&mw=2&gxzq=0&slide=1&gx_t0=0&gx_t1=0&gx_t2=0&gx_t3=0&gx_t4=0&gx_navmore=0&gx_relax=0&gx_sh=0&gx_wl=0&gx_gw=0&gx_c_sp=ysdq&gx_c_tt=xwdq&gx_yx=0&gx_c_sj=sjyy&gx_c_xxyl=jpy&gx_menu=index&gx_cywz=0&gx_slide=1'

已经研究了快一周了,还是没有找到解决办法,请求大神搭救。
remap.conf设置:
map http://hao123.xxx.net/ http://www.hao123.com/
traffic server的版本为4.2.2和5.1.1,两个故障一样。
作者: aaaaaa    时间: 2015-01-06 15:59
哈,不太明白为啥
作者: h101com    时间: 2015-01-06 18:04
就是为了访问hao123? 。。。有些没明白你的需求。。。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2