Hi all,
Sometimes I receive this error when I change from dashboard X to Y.
After a reload all graph in dashboard are ok
Do you have any idea of the problem?
Best regards Biselx Nicolas
Internal Server Error: /graphite/render Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/nav/web/graphite/views.py", line 44, in index proxy = urllib2.urlopen(req) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 437, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 475, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: INTERNAL SERVER ERROR
Request repr(): <WSGIRequest path:/graphite/render, GET:<QueryDict: {u'from': [u'-1day'], u'target': [u'alias(scaleToSeconds(nonNegativeDerivative(scale(nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifInOctets,8)),1),"In")', u'alias(scaleToSeconds(nonNegativeDerivative(scale(nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifOutOctets,8)),1),"Out")'], u'title': [u'Traffic on nx-srv-14-1:Ethernet1/7 (FEX103/MA_DC_R301)'], u'bust': [u'0.31416803278127503'], u'height': [u'250'], u'width': [u'1039'], u'template': [u'nav'], u'vtitle': [u'bits/s'], u'until': [u'now']}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '33657086.1686823603.1439997687.1487931986.1491391748.49', '_ga': 'GA1.2.1686823603.1439997687', 'nav_sessionid': 'a482dfjlhja6aedofkj6p7jvoi1ix088', 'petitpois': 'dismiss'}, META:{'CONTEXT_DOCUMENT_ROOT': '/usr/share/nav/htdocs', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/usr/share/nav/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'image/webp,image/apng,image/*,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utma=33657086.1686823603.1439997687.1487931986.1491391748.49; petitpois=dismiss; _ga=GA1.2.1686823603.1439997687; nav_sessionid=a482dfjlhja6aedofkj6p7jvoi1ix088', 'HTTP_HOST': 'nav.epfl.ch', 'HTTP_REFERER': 'https://nav.epfl.ch/index/dashboard/13', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36', 'PATH_INFO': u'/graphite/render', 'PATH_TRANSLATED': '/usr/share/pyshared/nav/wsgi.py/graphite/render', 'QUERY_STRING': 'from=-1day&target=alias%28scaleToSeconds%28nonNegativeDerivative%28scale%28nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifInOctets%2C8%29%29%2C1%29%2C%22In%22%29&target=alias%28scaleToSeconds%28nonNegativeDerivative%28scale%28nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifOutOctets%2C8%29%29%2C1%29%2C%22Out%22%29&title=Traffic+on+nx-srv-14-1%3AEthernet1%2F7+%28FEX103%2FMA_DC_R301%29&height=250&width=1039&template=nav&vtitle=bits%2Fs&until=now&bust=0.31416803278127503', 'REMOTE_ADDR': '128.178.110.13', 'REMOTE_PORT': '52935', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/graphite/render?from=-1day&target=alias%28scaleToSeconds%28nonNegativeDerivative%28scale%28nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifInOctets%2C8%29%29%2C1%29%2C%22In%22%29&target=alias%28scaleToSeconds%28nonNegativeDerivative%28scale%28nav.devices.nx-srv-14-1_epfl_ch.ports.Ethernet1_7.ifOutOctets%2C8%29%29%2C1%29%2C%22Out%22%29&title=Traffic+on+nx-srv-14-1%3AEthernet1%2F7+%28FEX103%2FMA_DC_R301%29&height=250&width=1039&template=nav&vtitle=bits%2Fs&until=now&bust=0.31416803278127503', 'SCRIPT_FILENAME': '/usr/share/pyshared/nav/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '128.178.111.3', 'SERVER_ADMIN': 'nicolas.biselx@epfl.ch', 'SERVER_NAME': 'nav.epfl.ch', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.4.10 (Debian) Server at nav.epfl.ch Port 443</address>\n', 'SERVER_SOFTWARE': 'Apache/2.4.10 (Debian)', 'SSL_TLS_SNI': 'nav.epfl.ch', 'apache.version': (2, 4, 10), 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.daemon_connects': '1', 'mod_wsgi.daemon_restarts': '0', 'mod_wsgi.daemon_start': '1508236565214663', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.process_group': 'NAV', 'mod_wsgi.queue_start': '1508236565214572', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_start': '1508236565214476', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1508236565218425', 'mod_wsgi.version': (4, 3, 0), 'wsgi.errors': <mod_wsgi.Log object at 0x7f68663ca348>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x7f68666c8c70>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>