Foris broken pipe error after update

Just after automatic update via turris and before installing 3.4. update my router did made an error. After installing 3.4 still the problem is here.

Caused by latest automatic update

This is how it looks:

IOError(32, ‘Broken pipe’)
Stack trace

Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/foris/utils/reporting_middleware.py”, line 86, in call
return self.app(environ, start_response)
File “/usr/lib/python2.7/site-packages/bottle_i18n.py”, line 68, in call
return self.app(e,h)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 979, in call
return self.wsgi(environ, start_response)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 954, in wsgi
out = self._cast(self._handle(environ))
File “/usr/lib/python2.7/site-packages/bottle.py”, line 862, in _handle
return route.call(**args)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 682, in mountpoint_wrapper
body = app(request.environ, start_response)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 979, in call
return self.wsgi(environ, start_response)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 954, in wsgi
out = self._cast(self._handle(environ))
File “/usr/lib/python2.7/site-packages/bottle.py”, line 862, in _handle
return route.call(**args)
File “/usr/lib/python2.7/site-packages/bottle.py”, line 1729, in wrapper
rv = callback(*a, **ka)
File “/usr/lib/python2.7/site-packages/foris/utils/init.py”, line 64, in wrapper
return func(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/foris/config.py”, line 457, in index
notifications = client.get_messages()
File “/usr/lib/python2.7/site-packages/foris/nuci/client.py”, line 216, in get_messages
return get(filter=filters.messages).find_child(“messages”) or user_notify.Messages()
File “/usr/lib/python2.7/site-packages/foris/nuci/client.py”, line 131, in get
data = netconf.get(filter=(“subtree”, filter) if filter is not None else None).data_ele
File “/usr/lib/python2.7/site-packages/ncclient/manager.py”, line 89, in wrapper
return self.execute(op_cls, *args, **kwds)
File “/usr/lib/python2.7/site-packages/foris/nuci/client.py”, line 94, in execute
raise_mode=cls._raise_mode).request(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/ncclient/operations/retrieve.py”, line 65, in request
return self._request(node)
File “/usr/lib/python2.7/site-packages/ncclient/operations/rpc.py”, line 284, in _request
raise self._error
IOError: [Errno 32] Broken pipe

Environment

{‘CONTENT_LENGTH’: ‘0’,
‘DOCUMENT_ROOT’: ‘/www’,
‘GATEWAY_INTERFACE’: ‘CGI/1.1’,
‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8’,
‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’,
‘HTTP_ACCEPT_LANGUAGE’: ‘cs,en-US;q=0.7,en;q=0.3’,
‘HTTP_CONNECTION’: ‘keep-alive’,
‘HTTP_COOKIE’: ‘beaker.session.id=e2b8b4c1b6914af191311d2e54c7f028’,
‘HTTP_HOST’: ‘192.168.1.1’,
‘HTTP_UPGRADE_INSECURE_REQUESTS’: ‘1’,
‘HTTP_USER_AGENT’: ‘Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0’,
‘PATH_INFO’: ‘/config/’,
‘PATH_TRANSLATED’: ‘/www/config/’,
‘QUERY_STRING’: ‘’,
‘REDIRECT_STATUS’: ‘200’,
‘REMOTE_ADDR’: ‘192.168.1.167’,
‘REMOTE_PORT’: ‘62333’,
‘REQUEST_METHOD’: ‘GET’,
‘REQUEST_URI’: ‘/config/’,
‘SCRIPT_FILENAME’: ‘/www/’,
‘SCRIPT_NAME’: ‘/’,
‘SERVER_ADDR’: ‘192.168.1.1’,
‘SERVER_NAME’: ‘192.168.1.1’,
‘SERVER_PORT’: ‘80’,
‘SERVER_PROTOCOL’: ‘HTTP/1.1’,
‘SERVER_SOFTWARE’: ‘lighttpd/1.4.42’,
‘beaker.get_session’: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x1cb1160>>,
‘beaker.session’: {‘csrf_token’: ‘ZE5t704OgDmGSEP3JkDPunp7iU8Qhz5R’, ‘wizard_finished’: True, ‘_accessed_time’: 1482578916.1149549, ‘allowed_step_max’: ‘10’, ‘_creation_time’: 1482578887.7308321, ‘user_authenticated’: True},
‘bottle.app’: <bottle.Bottle object at 0x1823dc0>,
‘bottle.raw_path’: ‘/’,
‘bottle.request’: <LocalRequest: GET http://192.168.1.1/config/>,
‘bottle.request.urlparts’: SplitResult(scheme=‘http’, netloc=‘192.168.1.1’, path=’/config/’, query=’’, fragment=’’),
‘bottle.route’: <GET ‘/’ <function index at 0x1c2a620>>,
‘route.handle’: <GET ‘/’ <function index at 0x1c2a620>>,
‘route.url_args’: {},
‘wsgi.errors’: <flup.server.fcgi_base.OutputStream object at 0x1c71d80>,
‘wsgi.input’: <flup.server.fcgi_base.InputStream object at 0x1c70cd0>,
‘wsgi.multiprocess’: False,
‘wsgi.multithread’: True,
‘wsgi.run_once’: False,
‘wsgi.url_scheme’: ‘http’,
‘wsgi.version’: (1, 0)}

Turris Luci is OK
This problem is on simple administration.

Now everything is allright.

WTF is this?

Likely an incomplete update or something similar. “Broken pipe” indicates that a data connection was suddenly cut off.

Thank you.
I was not willing to wait for login, I waited 5 secs and nothing happened. Doing F5 resulted in this.

Still allright and I am glad for that.

same issue for me after update…

I have opened turris web administration in different window. Then it worked.

I try delete cookies and /etc/init.d/lighttpd restart and now it works but how long I dont know :wink:

I have same issue again I try restart my router and also recovery from last snapshot