Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #63

Open
mammut700 opened this issue Jan 28, 2024 · 5 comments
Open

error #63

mammut700 opened this issue Jan 28, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@mammut700
Copy link

** Adding auto-update cronjob...
** Waiting for services to start...
✅ libertea-provider-trojan-grpc started
✅ libertea-rsyslog started
✅ libertea-provider-vless-ws started
✅ libertea-provider-trojan-ws started
✅ libertea-log-parser started
✅ libertea-mongodb started
✅ libertea-provider-shadowsocks-v2ray started
✅ libertea-provider-vmess-grpc started
✅ libertea-provider-vless-grpc started
✅ libertea-haproxy started
❌ libertea-panel failed to start. Retrying...


ERROR: Timeout while waiting for panel to start.
Please open an issue on https://github.com/VZiChoushaDui/Libertea/issues/new
and include the following information:

@VZiChoushaDui
Copy link
Owner

Please run the following command on your server and send the results:

tail -n 100 /tmp/libertea-panel.log

@VZiChoushaDui VZiChoushaDui added the bug Something isn't working label Jan 29, 2024
@mammut700
Copy link
Author

tail -n 100 /tmp/libertea-panel.log
[2024-01-29 18:35:47] Current directory: /root/libertea/panel
[2024-01-29 18:35:47] Checking net.core.somaxconn value
[2024-01-29 18:35:48] net.core.somaxconn value is 4096
[2024-01-29 18:35:48] Starting Libertea panel via uwsgi on port 1000 with 6 threads, and listen queue size of 512
*** Starting uWSGI 2.0.23 (64bit) on [Mon Jan 29 18:35:48 2024] ***
compiled with version: 9.4.0 on 28 January 2024 19:40:40
os: Linux-5.4.0-170-generic #188-Ubuntu SMP Wed Jan 10 09:51:01 UTC 2024
nodename: ubuntu-vps-start-se-sto1-1
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /root/libertea/panel
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your processes number limit is 3494
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 127.0.0.1:1000 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:44239 (port auto-assigned) fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x563d3eb16460
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your server socket listen backlog is limited to 512 connections
your mercy for graceful operations on workers is 60 seconds
mapped 567672 bytes (554 KB) for 6 cores
*** Operational MODE: preforking ***
Traceback (most recent call last):
File "/root/libertea/panel/./serve.py", line 4, in
from panel import create_app
File "/root/libertea/panel/./panel/init.py", line 1, in
import requests
File "/usr/lib/python3/dist-packages/requests/init.py", line 95, in
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/init.py", line 8, in
from OpenSSL import SSL, crypto
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/SSL.py", line 19, in
from OpenSSL.crypto import (
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1593, in
class X509StoreFlags:
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1612, in X509StoreFlags
NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/init.py", line 1, in
import requests
File "/usr/lib/python3/dist-packages/requests/init.py", line 95, in
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/init.py", line 8, in
from OpenSSL import SSL, crypto
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/SSL.py", line 19, in
from OpenSSL.crypto import (
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1593, in
class X509StoreFlags:
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1612, in X509StoreFlags
NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'

Original exception was:
Traceback (most recent call last):
File "/root/libertea/panel/./serve.py", line 4, in
from panel import create_app
File "/root/libertea/panel/./panel/init.py", line 1, in
import requests
File "/usr/lib/python3/dist-packages/requests/init.py", line 95, in
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/init.py", line 8, in
from OpenSSL import SSL, crypto
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/SSL.py", line 19, in
from OpenSSL.crypto import (
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1593, in
class X509StoreFlags:
File "/usr/local/lib/python3.8/dist-packages/pyOpenSSL-22.1.0-py3.8.egg/OpenSSL/crypto.py", line 1612, in X509StoreFlags
NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
[2024-01-29 18:35:48] Libertea panel serve script exited with code 22

@VZiChoushaDui
Copy link
Owner

@mammut700 What is your OS and OS version? You can find out by running command lsb_release -a

@mammut700
Copy link
Author

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

@VZiChoushaDui
Copy link
Owner

Fixed in the new version. Please install Libertea again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants