Skip to Content
Menu
This question has been flagged
2 Replies
2983 Views

traceback (most recent call last): File "/home/abc/virtenv/LS_10/lib/python2.7/site-packages/werkzeug/serving.py", line 193, in run_wsgi execute(self.server.app) File "/home/abc/virtenv/LS_10/lib/python2.7/site-packages/werkzeug/serving.py", line 181, in execute application_iter = app(environ, start_response) File "/opt/odoo-10/10.0/odoo/service/wsgi_server.py", line 184, in application return werkzeug.contrib.fixers.ProxyFix(application_unproxied)(environ, start_response) File "/home/abc/virtenv/LS_10/lib/python2.7/site-packages/werkzeug/contrib/fixers.py", line 152, in __call__ return self.app(environ, start_response) File "/opt/odoo-10/10.0/odoo/service/wsgi_server.py", line 172, in application_unproxied result = handler(environ, start_response) File "/opt/odoo-10/10.0/odoo/http.py", line 1308, in __call__ return self.dispatch(environ, start_response) File "/opt/odoo-10/10.0/odoo/http.py", line 1282, in __call__ return self.app(environ, start_wrapped) File "/home/abc/virtenv/LS_10/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__ return self.app(environ, start_response) File "/opt/odoo-10/10.0/odoo/http.py", line 1481, in dispatch result = ir_http._dispatch() File "/opt/odoo-10/10.0/addons/website_sale/models/ir_http.py", line 15, in _dispatch return super(IrHttp, cls)._dispatch() File "/opt/odoo-10/10.0/addons/website/models/ir_http.py", line 218, in _dispatch resp = super(Http, cls)._dispatch() File "/opt/odoo-10/10.0/addons/web_editor/models/ir_http.py", line 21, in _dispatch return super(IrHttp, cls)._dispatch() File "/opt/odoo-10/10.0/addons/utm/models/ir_http.py", line 20, in _dispatch response = super(IrHttp, cls)._dispatch() File "/opt/odoo-10/10.0/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch return cls._handle_exception(e) File "/opt/odoo-10/10.0/addons/website/models/ir_http.py", line 270, in _handle_exception return super(Http, cls)._handle_exception(exception) File "/opt/odoo-10/10.0/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception return request._handle_exception(exception) File "/opt/odoo-10/10.0/odoo/http.py", line 768, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo-10/10.0/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch result = request.dispatch() File "/opt/odoo-10/10.0/odoo/http.py", line 827, in dispatch r = self._call_function(**self.params) File "/opt/odoo-10/10.0/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo-10/10.0/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo-10/10.0/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo-10/10.0/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/opt/odoo-10/10.0/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) TypeError: robots() got an unexpected keyword argument '1526311941197'

Avatar
Discard
Author

any help could be appreciated

Best Answer

This error shows up when you pass a URL parameter to the /robots.txt route. For example:

www.yourwebsite.com/robots.txt?1526311941197


I haven't been able to find any information about legitimate uses for this. It seems very likely that it's either:

  1. Spammers trying to find a vulnerability in your website (or trying to exploit a vulnerability known to exist in some other eCommerce platform), or

  2. Some obscure search engine crawler passing data to the /robots.txt route (perhaps it's a malformed Unix timestamp, or something similar?)


Either way, it's probably safe to ignore so long as the error isn't showing up for big-name crawlers like Google, Yahoo, Yandex, etc.

For peace of mind, you could search through your Nginx/Apache logfile and find the culprit lines (searching for 1526311941197should do it). From there, you should be able to check the User-Agent string to determine who is making these requests.


Hopefully this helps anyone who stumbles on this error in the future!

Avatar
Discard