v2ray / v2ray-core

A platform for building proxies to bypass network restrictions.
https://www.v2ray.com/
MIT License
45.37k stars 8.94k forks source link

doubleclick.net:443: All retry attempts failed #252

Closed maxchendt closed 7 years ago

maxchendt commented 8 years ago

v2ray ver 2.0, Ubuntu 16.04 x64

服务器上dnsmasq解析将 address=/g.doubleclick.net/::1, 即将这些广告网站屏蔽。 用 v2ray代理时,错误如下 sudo tail /var/log/v2ray/error.log

2016/09/01 10:56:00 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:01:09 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:01:24 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:01:28 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:03:14 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:03:29 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.
2016/09/01 11:03:33 [Warning]Freedom: Failed to open connection to tcp:googleads.g.doubleclick.net:443: All retry attempts failed.

本地要等个半分钟多,还在加载页面。如果改用shadowsocks,则立即加载页面完成(广告的地方显示unable to connect). 如何设置 v2ray 服务器的配置,使得v2r不这么任性?

xiaokangwang commented 8 years ago

建议使用v2ray自带的广告拦截功能,要求v2ray屏蔽这个域名。否则V2Ray会认为这个是因为网络原因无法连接持续尝试。 https://www.v2ray.com/chapter_05/00_config/09_ad_blocker.html

xiaokangwang commented 8 years ago

根据我目前对于V2Ray的了解,没有方法通过设置防止V2Ray重试。