Closed vitalyve closed 3 years ago
Same problem at current version - v1.2.20.10. :-(
В новой версии (а может так было и в старой) теперь работает только после перезапуска Ajenti. Разлогинился - залогинился - уже не работает, нужно перестартовать... :-(
Похоже, проблема в том, OpenVPN не закрывает открытую сессию, т.к. ждет команды exit или quit, в то время как плагин просто пытается закрыть текущее соединение после каждого обращения или же открыть новое, если окно браузера было закрыто и ты залогинился заново.
Вот тут описание менеджмент интерфейса: https://openvpn.net/index.php/open-source/documentation/miscellaneous/79-management-interface.html
А в нем написано:
Close the managment session, and resume listening on the management port for connections from other clients. Currently, the OpenVPN daemon can at most support a single management client any one time.
+1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days unless you comment. Thank you for your contributions.
If I log out from Ajenty and try to log in and open the OpenVPN page AFTER SEVERAL HOURS the page shows "[Errno 111] Connection refused" error message , "Please configure OpenVPN plugin" message and OpenVPN plugin configuration dialog (with already filled in fields). Then it asks to restart Ajenti. After restart OpenVPN page works fine.
Screenshot: http://i.imgur.com/DlVNg6O.png
Ajenti working on Ubuntu Server 12.04.4.