Bug #21
"500: internal server error" in the visualization tool.
Start date:
07/19/2016
Due date:
% Done:
0%
Description
Example URL with the issue: http://gdp.cs.berkeley.edu:8888/datasource?logname=edu.berkeley.eecs.swarmlab.device.c098e5300003&startTime=1468957075&endTime=1468960675&tqx=reqId%3A0
Ideally, any exceptions should be logged to the log-file, rather than printing on the console. source:uhb/visualization/server.py#L105
Related issues
History
#1 Updated by Nitesh Mor almost 7 years ago
commit:32a0a36 fixes the issue "500: internal server error" and provides a more meaningful result, i.e. empty set on querying a range without any data.
#2 Updated by Nitesh Mor almost 7 years ago
- Status changed from New to In Progress
#3 Updated by Nitesh Mor almost 7 years ago
- Related to Bug #19: Error handling in web-visualization for sensor nodes added
#4 Updated by Nitesh Mor almost 7 years ago
Workaround: if using with systemd
with something like this:
[Service] ... ExecStart=/usr/bin/python server.py -l /var/log/visServer.log StandardOutput=syslog
Any errors are sent to syslog
. This is still better than completely discarding any error output.
#5 Updated by Nitesh Mor almost 7 years ago
- Status changed from In Progress to Resolved
#6 Updated by Nitesh Mor over 6 years ago
- Status changed from Resolved to Closed