Task #11525 (closed)
Bug: UnicodeDecodeError in OMEROweb/stable
Reported by: | jamoore | Owned by: | web-team@… |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4.x |
Component: | Web | Version: | 4.4.8 |
Keywords: | n.a. | Cc: | web-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Seen via the sysadmin chat room bot for howe logs:
ERROR: howe OMEROweb: 2013-10-10 20:51:18,761 ERROR [ omeroweb.feedback.views] (proc.16533) handler500:141 handler500: Server error 9:51 howe-log-bot ERROR: howe OMEROweb: 2013-10-10 20:51:18,761 ERROR [ omeroweb.feedback.views] (proc.16533) handler500:143 Traceback (most recent call last): File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/django/views/generic/base.py", line 47, in view return self.dispatch(request, *args, **kwargs) File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/django/views/generic/base.py", line 68, in dispatch return handler(request, *args, **kwargs) File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/django/views/generic/base.py", line 72, in http_method_not_allowed logger.warning('Method Not Allowed (%s): %s' % (request.method, request.path), UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 20: ordinal not in range(128)
Attachments (1)
Change History (8)
Changed 11 years ago by jamoore
comment:1 Changed 11 years ago by atarkowska
Can you check activity in webserver logfiles (apache) on 2013-10-10 around 20:51:18. I can't see anything in omero/web logs
comment:2 follow-up: ↓ 3 Changed 11 years ago by jamoore
180.76.5.69 - - [10/Oct/2013:18:41:54 +0100] "GET /webclient/ HTTP/1.1" 302 356 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 180.76.5.171 - - [10/Oct/2013:18:41:55 +0100] "GET /webclient/login/?url=%2Fwebclient%2F HTTP/1.1" 200 1714 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 202.46.49.70 - - [10/Oct/2013:20:15:45 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.196 - - [10/Oct/2013:20:17:00 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 98.182.27.126 - - [10/Oct/2013:20:51:18 +0100] "\x80w\x01\x03\x01" 200 5532 "-" "-" 98.182.27.126 - - [10/Oct/2013:20:51:19 +0100] "GET /HNAP1/ HTTP/1.1" 404 1006 "http://134.36.65.228/" "Mozilla/4.0 (compatible; MSIE 4.01; Mac_PowerPC)" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET / HTTP/1.1" 301 373 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /webclient/ HTTP/1.1" 302 394 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /webclient/login/?url=%2Fwebclient%2F HTTP/1.1" 200 1751 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webgateway/css/reset.css HTTP/1.1" 200 980 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webgateway/css/ome.body.css HTTP/1.1" 200 1765 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webclient/css/dusty.css HTTP/1.1" 200 6419 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webclient/css/layout.css HTTP/1.1" 200 10559 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webgateway/css/ome.login.css HTTP/1.1" 200 2220 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webclient/javascript/jquery.infieldlabel.js HTTP/1.1" 200 1865 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /favicon.ico HTTP/1.1" 301 391 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/webgateway/img/ome.ico HTTP/1.1" 200 1446 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:25 +0100] "GET /static/3rdparty/jquery-1.7.2.js HTTP/1.1" 200 74288 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:26 +0100] "GET /static/webclient/image/logo_login_web.png HTTP/1.1" 200 14124 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:26 +0100] "GET /static/webgateway/img/nuvola_encrypted_grey16.png HTTP/1.1" 200 564 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 10.6.17.46 - - [10/Oct/2013:21:51:26 +0100] "GET /static/webgateway/img/OME_logo_grey_110.png HTTP/1.1" 200 5672 "http://howe.openmicroscopy.org.uk/webclient/login/?url=%2Fwebclient%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Firefox/24.0" 202.46.53.68 - - [10/Oct/2013:22:15:23 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.131 - - [10/Oct/2013:22:16:40 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 202.46.49.76 - - [11/Oct/2013:00:15:25 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.132 - - [11/Oct/2013:00:16:39 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 202.46.53.37 - - [11/Oct/2013:02:15:59 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.196 - - [11/Oct/2013:02:17:14 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 202.46.57.82 - - [11/Oct/2013:04:06:35 +0100] "GET / HTTP/1.1" 301 274 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.194 - - [11/Oct/2013:04:07:29 +0100] "GET / HTTP/1.1" 301 274 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 173.254.227.58 - - [11/Oct/2013:04:35:42 +0100] "GET /CFIDE/administrator/enter.cfm HTTP/1.1" 404 1873 "-" "WhatWeb/0.4.7" 202.46.54.41 - - [11/Oct/2013:06:17:30 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" 119.63.193.196 - - [11/Oct/2013:06:18:46 +0100] "GET / HTTP/1.1" 301 261 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"
comment:3 in reply to: ↑ 2 Changed 11 years ago by atarkowska
Replying to jamoore:
98.182.27.126 - - [10/Oct/2013:20:51:18 +0100] "\x80w\x01\x03\x01" 200 5532 "-" "-" 98.182.27.126 - - [10/Oct/2013:20:51:19 +0100] "GET /HNAP1/ HTTP/1.1" 404 1006 "http://134.36.65.228/" "Mozilla/4.0 (compatible; MSIE 4.01; Mac_PowerPC)"
this seems to be an answer http://serverfault.com/questions/476318/apache-access-log-x80w-x01-x03-x01 and http://www.webhostingtalk.com/showthread.php?t=919066
If we don't have and don't need SSL, why just don't remove the "Listen 443" directive from configuration file /etc/apache2/port.conf. It will only listen to port 80.
comment:4 Changed 11 years ago by jamoore
Not sure if we have anything wrongly configured, but is there any way we can capture these and not report them?
comment:5 Changed 10 years ago by atarkowska
yes, the answer is here
comment:6 Changed 10 years ago by atarkowska
- Resolution set to wontfix
- Status changed from new to closed
It appears to be an attempt to exploit vulnerabilities in the Home Network Administration Protocol (HNAP) implementations of D-Link routers. Closing as this is nothing to do with the app
comment:7 Changed 10 years ago by jamoore
Understood, thanks Ola. Would it be possible to make that not count as an ERROR in our logs?
hudson@howe:~$ tar cjf 11525-logs.tar.bz2 OMERO-CURRENT/var/log/{OMEROweb*,Blitz*,master*}