Turris 1.1 - 500 - Internal Server Error after 100.3 update

Hello everyone,

I have Turris 1.1 at home. After the most recent update and router reboot, I am no longer able to access Foris - I end up with 500 - Internal Server Error. Accessing LuCI works just fine.

From LuCI, I pulled following:

Firmware Version	OpenWrt turris 15.05 r47055 / LuCI ad82eacfaca99ddf71169b419e1e338de2eade4a branch (git-19.175.20344-ad82eac)
Kernel Version	4.4.187-f90a52a6230ecb072f657fce5aebd444-0

And in /var/log/messages I can see following error:

2019-08-17 10:20:09 err foris-controller[16108]: Traceback (most recent call last):
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/bin/foris-controller", line 11, in <module>
2019-08-17 10:20:09 err foris-controller[16108]:     load_entry_point('foris-controller==1.0.1', 'console_scripts', 'foris-controller')()
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/site-packages/foris_controller/controller/__main__.py", line 184, in main
2019-08-17 10:20:09 err foris-controller[16108]:     server = MqttListener(options.host, options.port)
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/site-packages/foris_controller/buses/mqtt.py", line 388, in __init__
2019-08-17 10:20:09 err foris-controller[16108]:     self.client.connect(host, port, keepalive=30)
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/site-packages/paho/mqtt/client.py", line 700, in connect
2019-08-17 10:20:09 err foris-controller[16108]:     return self.reconnect()
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/site-packages/paho/mqtt/client.py", line 822, in reconnect
2019-08-17 10:20:09 err foris-controller[16108]:     sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/socket.py", line 722, in create_connection  2019-08-17 10:20:09 err foris-controller[16108]:     raise err
2019-08-17 10:20:09 err foris-controller[16108]:   File "/usr/lib/python3.6/socket.py", line 713, in create_connection  2019-08-17 10:20:09 err foris-controller[16108]:     sock.connect(sa)
2019-08-17 10:20:09 err foris-controller[16108]: ConnectionRefusedError: [Errno 111] Connection refused

I haven’t made any modification to the Turris, except for enable Let’s Encrypt SSL certificate for web frontend.

Anyone running into the same issue? Thanks a lot.

Hello. I have the same problem. :frowning:

Hello, I had a similar problem with Turris Mox. For me the issue was that I had the dnsmasq process disabled.

Thanks for the suggestion. I checked the dnsmasq, but I see it running on my Turris.

Hello,
samo problem on my Turris. upgrade on 100.4 don’t solve issue. I’ve similar problem in part, Pakon was reason. After uninstall everything was ok. But now it’s propably other prioblem because Pakon ins’t installed. dnsmasq running.