XX-net / XX-Net

A proxy tool to bypass GFW.
33.05k stars 7.69k forks source link

发生未知错误,请刷新页面重试。 #9443

Open yuningning520 opened 6 years ago

yuningning520 commented 6 years ago

Smart Router 配置 的缓存页面显示 发生未知错误,请刷新页面重试。

日志

Jan 12 14:20:37.497 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:20:37.501 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.501 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.501 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.502 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.503 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.503 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.596 - [DEBUG] next dns server:8.8.8.8
Jan 12 14:20:37.596 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:20:37.597 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:37.602 - [DEBUG] Web_control 127.0.0.1:50890 POST /cache
----
Jan 12 14:20:43.864 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:20:43.866 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:43.867 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:43.868 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:20:46.776 - [DEBUG] pipe close [127.0.0.1]:50932->message.bilibili.com[140.249.9.4]:443 run_time:5 upload:1612,3 download:598,4, by remote:1, left:0 e:'r'
Jan 12 14:20:48.533 - [DEBUG] domain user host:deja.com:443 try gae, GetReqTimeout:12101
---

Jan 12 14:21:20.803 - [DEBUG] next dns server:114.114.114.114
Jan 12 14:21:20.803 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:21:20.803 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:21:20.846 - [INFO] domain api.github.com:443 gae
---

Jan 12 14:21:23.422 - [DEBUG] next dns server:114.114.114.114
Jan 12 14:21:23.422 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:21:23.422 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:21:23.424 - [DEBUG] pipe close [127.0.0.1]:50772->s4.music.126.net[124.239.147.112]:80 run_time:60 upload:806,2 download:5299,3, by remote:1, left:0 e:'r'
---

Jan 12 14:21:26.973 - [DEBUG] next dns server:114.114.114.114
Jan 12 14:21:26.973 - [ERROR] any err:KeyError('hpd.baidu.com',)
Jan 12 14:21:26.973 - [ERROR] Except stack:Traceback (most recent call last): File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 68, in handle self.socks5_handler() File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\proxy_handler.py", line 279, in socks5_handler handle_domain_proxy(sock, addr, port, self.client_address) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\smart_route.py", line 419, in handle_domain_proxy ips = g.dns_srv.query(host) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\dns_server.py", line 281, in query g.domain_cache.set_ips(domain, ips, type) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 229, in set_ips self.set(domain, record) File "D:\SW\PF\XX-Net\code\3.9.5\smart_router\local\host_records.py", line 62, in set self.cache.popitem(last=False) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 178, in popitem value = self.pop(key) File "D:\SW\PF\XX-Net\code\default\python27\1.0\lib\collections.py", line 160, in pop raise KeyError(key) KeyError: 'hpd.baidu.com'
Jan 12 14:21:27.662 - [INFO] domain github.com:443 gae
xxnet commented 6 years ago

​收到,前面有遇到这样报错的,原因待查。 你先清理缓存。 争取这两天解决。

yuningning520 commented 6 years ago

辛苦啦

xxnet commented 6 years ago

​似乎是因为多线程,没有加保护导致,请升级 https://github.com/XX-net/XX-Net/releases/tag/3.9.6

xx-Chen commented 6 years ago

https://github.com/XX-net/XX-Net/issues/9442