При заходе на такие сайты как яндекс, вк, гугл и тд выскакивает ошибка, хотя на некоторые сайты(маил, фейсбук...) пускает.
Ошибка:
web.Server Traceback (most recent call last):
exceptions.AttributeError: Request instance has no attribute 'received_headers'
/usr/lib/python2.7/dist-packages/twisted/web/server.py:178 in process
177 try:
178 resrc = self.site.getResourceFor(self)
179 if resource._IEncodingResource.providedBy(resrc):
/usr/lib/python2.7/dist-packages/twisted/web/server.py:732 in getResourceFor
731 request.sitepath = copy.copy(request.prepath)
732 return resource.getChildForRequest(self.resource, request)
733
/usr/lib/python2.7/dist-packages/twisted/web/resource.py:98 in getChildForRequest
97 request.prepath.append(pathElement)
98 resource = resource.getChildWithDefault(pathElement, request)
99 return resource
/usr/lib/python2.7/dist-packages/twisted/web/resource.py:201 in getChildWithDefault
200 return self.children[path]
201 return self.getChild(path, request)
202
/usr/lib/python2.7/dist-packages/nanny/daemon/proxy/TwistedProxy.py:213 in getChild
212 pre_check=[False, False]
213 host, port = self.__get_host_info(request)
214 if self.domain_level ==0 :
/usr/lib/python2.7/dist-packages/nanny/daemon/proxy/TwistedProxy.py:278 in __get_host_info
277
278 x = request.received_headers['host'].split(":")
279 if len(x) > 1 :
exceptions.AttributeError: Request instance has no attribute 'received_headers'