免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2144 | 回复: 2
打印 上一主题 下一主题

[proxy] traffic server 问题,求大神搭救 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-11-23 12:58 |只看该作者 |倒序浏览
本帖最后由 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,两个故障一样。

论坛徽章:
0
2 [报告]
发表于 2015-01-06 15:59 |只看该作者
哈,不太明白为啥

论坛徽章:
9
巳蛇
日期:2013-12-05 15:03:33戌狗
日期:2013-12-10 20:52:35白羊座
日期:2014-12-30 14:11:58处女座
日期:2015-01-15 14:33:442015年亚洲杯纪念徽章
日期:2015-01-28 13:37:36羊年新春福章
日期:2015-01-30 15:03:352015年亚洲杯之约旦
日期:2015-02-09 17:07:552015年亚洲杯之韩国
日期:2015-03-26 15:04:132015年亚洲杯之卡塔尔
日期:2015-04-04 16:35:54
3 [报告]
发表于 2015-01-06 18:04 |只看该作者
就是为了访问hao123? 。。。有些没明白你的需求。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP