-
Notifications
You must be signed in to change notification settings - Fork 372
Description
gunicorn -c deploy_config.py run:app > error_log
[2022-09-09 13:00:25 -0400] [6375] [DEBUG] Current configuration:
config: deploy_config.py
wsgi_app: None
bind: ['0.0.0.0:8000']
backlog: 2048
workers: 1
worker_class: sync
threads: 1
worker_connections: 1000
max_requests: 0
max_requests_jitter: 0
timeout: 30
graceful_timeout: 30
keepalive: 2
limit_request_line: 4094
limit_request_fields: 100
limit_request_field_size: 8190
reload: False
reload_engine: auto
reload_extra_files: []
spew: False
check_config: False
print_config: False
preload_app: False
sendfile: None
reuse_port: False
chdir: /opt/Pcap-Analyzer
daemon: False
raw_env: []
pidfile: /var/log/gunicorn/debug.log
worker_tmp_dir: None
user: 0
group: 0
umask: 0
initgroups: False
tmp_upload_dir: None
secure_scheme_headers: {'X-FORWARDED-PROTOCOL': 'ssl', 'X-FORWARDED-PROTO': 'https', 'X-FORWARDED-SSL': 'on'}
forwarded_allow_ips: ['127.0.0.1']
accesslog: None
disable_redirect_access_to_syslog: False
access_log_format: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"
errorlog: -
loglevel: debug
capture_output: False
logger_class: gunicorn.glogging.Logger
logconfig: None
logconfig_dict: {}
syslog_addr: udp://localhost:514
syslog: False
syslog_prefix: None
syslog_facility: user
enable_stdio_inheritance: False
statsd_host: None
dogstatsd_tags:
statsd_prefix:
proc_name: gunicorn.pid
default_proc_name: run:app
pythonpath: None
paste: None
on_starting: <function OnStarting.on_starting at 0x7fd990424160>
on_reload: <function OnReload.on_reload at 0x7fd990424280>
when_ready: <function WhenReady.when_ready at 0x7fd9904243a0>
pre_fork: <function Prefork.pre_fork at 0x7fd9904244c0>
post_fork: <function Postfork.post_fork at 0x7fd9904245e0>
post_worker_init: <function PostWorkerInit.post_worker_init at 0x7fd990424700>
worker_int: <function WorkerInt.worker_int at 0x7fd990424820>
worker_abort: <function WorkerAbort.worker_abort at 0x7fd990424940>
pre_exec: <function PreExec.pre_exec at 0x7fd990424a60>
pre_request: <function PreRequest.pre_request at 0x7fd990424b80>
post_request: <function PostRequest.post_request at 0x7fd990424c10>
child_exit: <function ChildExit.child_exit at 0x7fd990424d30>
worker_exit: <function WorkerExit.worker_exit at 0x7fd990424e50>
nworkers_changed: <function NumWorkersChanged.nworkers_changed at 0x7fd990424f70>
on_exit: <function OnExit.on_exit at 0x7fd990425090>
proxy_protocol: False
proxy_allow_ips: ['127.0.0.1']
keyfile: None
certfile: None
ssl_version: 2
cert_reqs: 0
ca_certs: None
suppress_ragged_eofs: True
do_handshake_on_connect: False
ciphers: None
raw_paste_global_conf: []
strip_header_spaces: False
[2022-09-09 13:00:25 -0400] [6375] [INFO] Starting gunicorn 20.1.0
[2022-09-09 13:00:25 -0400] [6375] [DEBUG] Arbiter booted
[2022-09-09 13:00:25 -0400] [6375] [INFO] Listening at: http://0.0.0.0:8000 (6375)
[2022-09-09 13:00:25 -0400] [6375] [INFO] Using worker: sync
[2022-09-09 13:00:25 -0400] [6376] [INFO] Booting worker with pid: 6376
[2022-09-09 13:00:25 -0400] [6376] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/dist-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/Pcap-Analyzer/run.py", line 4, in
from app import app
File "/opt/Pcap-Analyzer/app/init.py", line 4, in
from flask import Flask
File "/usr/lib/python3/dist-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/usr/lib/python3/dist-packages/flask/app.py", line 19, in
from werkzeug.local import ContextVar
ImportError: cannot import name 'ContextVar' from 'werkzeug.local' (/usr/local/lib/python3.10/dist-packages/werkzeug/local.py)
[2022-09-09 13:00:25 -0400] [6376] [INFO] Worker exiting (pid: 6376)
[2022-09-09 13:00:25 -0400] [6375] [DEBUG] 1 workers
[2022-09-09 13:00:25 -0400] [6375] [INFO] Shutting down: Master
[2022-09-09 13:00:25 -0400] [6375] [INFO] Reason: Worker failed to boot.
`Package Version
adblockparser 0.7
AdvancedHTTPServer 2.2.0
aiocmd 0.1.2
aioconsole 0.3.1
aiodns 3.0.0
aiofiles 0.8.0
aiohttp 3.8.1
aiomultiprocess 0.8.0
aioredis 1.3.1
aiosignal 1.2.0
aiosmb 0.2.50
aiosqlite 0.17.0
aiowinreg 0.0.7
ajpy 0.0.4
alabaster 0.7.12
alembic 1.7.6.dev0
altgraph 0.17.2
aniso8601 8.0.0
anyio 3.5.0
apispec 5.1.1
apispec-webframeworks 0.5.2
appdirs 1.4.4
APScheduler 0.0.0
argcomplete 2.0.0
asciitree 0.3.3
asgiref 3.5.0
asn1crypto 1.4.0
async-timeout 4.0.1
asysocks 0.1.2
attrs 21.2.0
autobahn 22.1.1
Automat 20.2.0
Babel 2.8.0
backcall 0.2.0
backoff 1.11.1
base58 1.0.3
basemap 1.2.1
bcrypt 3.2.0
beautifulsoup4 4.11.1
bidict 0.21.3
binwalk 2.3.3
bleach 4.1.0
blinker 1.4
bluepy 1.3.0
boltons 21.0.0
bottle 0.12.19
Bottleneck 1.3.2
Brlapi 0.8.3
Brotli 1.0.9
bs4 0.0.1
cairocffi 1.3.0
catfish 4.16.3
cbor 1.0.0
censys 2.0.9
certifi 2020.6.20
Certipy 3.0.0
cffi 1.15.0
chardet 3.0.4
charset-normalizer 2.0.6
cheroot 8.6.0+ds1
CherryPy 18.6.1
cherrypy-cors 1.6
cli-helpers 2.2.1
click 8.0.3
click-plugins 1.1.1
colorama 0.4.4
colorlog 6.6.0
commonmark 0.9.1
configobj 5.0.6
configparser 5.2.0
constantly 15.1.0
crackmapexec 5.2.2
cryptography 37.0.2
cx-Oracle 8.3.0
cycler 0.11.0
Cython 0.29.28
dataclasses-json 0.5.7
dbus-python 1.2.18
debtags 2.1
decorator 4.4.2
defusedxml 0.7.1
Deprecated 1.2.13
deprecation 2.0.7
dicttoxml 1.7.4
dirsearch 0.4.2
distro 1.7.0
distro-info 1.1
Django 3.2.12
dnslib 0.9.19
dnspython 2.2.0
docopt 0.6.2
donut-shellcode 0.9.2
dropbox 11.26.0
dsinternals 1.2.4
ecdsa 0.18.0b1
email-validator 1.1.2
et-xmlfile 1.0.1
ExifRead 2.3.2
faraday-agent-parameters-types 1.0.3
faraday-client 1.1.0
faraday-plugins 1.5.9
faradaysec 3.19.0
fastapi 0.74.1
feedparser 6.0.8
fierce 1.5.0
filedepot 0.5.2
filteralchemy 0.1.0
flasgger 0.9.5
Flask 2.0.1
Flask-Classful 0.14.1
Flask-KVSession-fork 0.6.3
Flask-Limiter 1.0.1
Flask-Login 0.5.0
Flask-Mail 0.9.1
Flask-Principal 0.4.0
Flask-RESTful 0.3.9
Flask-Security-Too 4.0.0
Flask-SocketIO 5.0.1
Flask-SQLAlchemy 2.5.1
Flask-WTF 0.14.3
flatbuffers 1.12.1-git20200711.33e2d80-dfsg1-0.6
fonttools 4.32.0
frozenlist 1.2.0
fs 2.4.12
future 0.18.2
GDAL 3.4.2
geoip2 2.9.0
geojson 2.5.0
gitdb 4.0.9
GitPython 3.1.27
gnureadline 8.1.2
gpg 1.16.0-unknown
graphene 2.1.9
graphene-sqlalchemy 2.1.2
graphql-core 2.2.1
graphql-relay 2.0.1
graphviz 0.14.2
greenlet 1.1.2
gunicorn 20.1.0
gvm-tools 22.6.0
h11 0.13.0
h2 4.1.0
hashID 3.1.4
hiredis 1.0.1
hpack 4.0.0
html2text 2020.1.16
html5lib 1.1
httpagentparser 1.9.1
humanize 0.0.0
hupper 1.10.3
hyperframe 6.0.0
hyperlink 21.0.0
icalendar 4.0.3
idna 3.3
impacket 0.9.24
importlib-metadata 4.6.4
incremental 21.3.0
iniconfig 1.1.1
invoke 1.7.0
iptools 0.6.1
ipwhois 0.15.1
IPy 1.1
ipython 7.31.1
itsdangerous 2.1.2
jaraco.classes 3.2.1
jaraco.collections 3.5.1
jaraco.context 4.1.1
jaraco.functools 3.5.0
jaraco.text 3.7.0
jdcal 1.0
jedi 0.18.0
Jinja2 3.0.3
jq 1.2.1
jsonschema 3.2.0
kaitaistruct 0.9
kali-tweaks 2022.2.1
KismetCaptureBtGeiger 2021.7.1
KismetCaptureFreaklabsZigbee 2018.7.0
KismetCaptureRtl433 2020.10.1
KismetCaptureRtladsb 2020.10.1
KismetCaptureRtlamr 2020.10.1
kiwisolver 1.3.2
ldap3 2.9
ldapdomaindump 0.9.3
libcomps 0.1.15
lightdm-gtk-greeter-settings 1.2.2
limiter 0.1.2
limits 1.5.1
louis 3.21.0
lsassy 3.1.1
lxml 4.8.0
lz4 4.0.0+dfsg
macholib 1.16
Mako 1.1.3
Markdown 3.3.6
MarkupSafe 2.0.1
marshmallow 3.15.0
marshmallow-enum 1.5.1
marshmallow-sqlalchemy 0.26.1
matplotlib 3.5.1
matplotlib-inline 0.1.3
maxminddb 2.0.3
mechanize 0.4.8
mercurial 6.1.3
minidump 0.0.21
minikerberos 0.2.14
mistune0 0.8.4
mitmproxy 8.0.0
mnemonic 0.19
more-itertools 8.10.0
mpmath 0.0.0
msgpack 1.0.3
msldap 0.3.30
multidict 5.1.0
mypy-extensions 0.4.3
mysql-connector 2.2.9
mysqlclient 1.4.6
nassl 4.0.2
neo4j 1.7.0.dev0
neobolt 1.7.17
neotime 1.7.4
netaddr 0.8.0
netifaces 0.11.0
networkx 2.5
nplusone 1.0.0
ntlm-auth 1.5.0
numexpr 2.8.1
numpy 1.21.5
odfpy 1.4.2
olefile 0.46
onboard 1.4.1
openpyxl 3.0.9
ospd-openvas 21.4.4
packaging 21.3
pandas 1.3.5
paramiko 2.8.1
parse 1.19.0
parso 0.8.1
passlib 1.7.4
Paste 3.5.0
PasteDeploy 2.1.1
PasteScript 2.0.2
patator 0.9
pcapy 0.11.5.dev0
pefile 2021.9.3
pendulum 2.1.2
pexpect 4.8.0
pgcli 3.4.1
pgspecial 1.11.10
phonenumbers 8.12.1
pickleshare 0.7.5
Pillow 9.0.1
pip 22.1.1
pipdeptree 2.2.0
plaster 1.0
plaster-pastedeploy 0.5
pluggy 1.0.0
pluginbase 1.0.1
ply 3.11
portend 3.1.0
prettytable 2.5.0
promise 2.3
prompt-toolkit 3.0.28
protobuf 3.12.4
psutil 5.9.0
psycopg2 2.9.2
ptyprocess 0.7.0
publicsuffix2 2.20191221
publicsuffixlist 0.7.10
py 1.10.0
py-ubjson 0.16.1
pyasn1 0.4.8
pyasn1-modules 0.2.1
pycairo 1.20.1
pycares 4.1.2
pycparser 2.20
pycrypto 2.6.1
pycryptodome 3.14.1
pycryptodomex 3.11.0
pycurl 7.44.1
pydantic 1.9.0
PyDispatcher 2.0.5
pydot 1.4.2
pyee 9.0.4
pyExploitDb 0.2.0
pyfiglet 0.8.post0
pyftpdlib 1.5.6
pygexf 0.2.2
Pygments 2.6.1
PyGObject 3.42.1
pygraphviz 1.7
PyHamcrest 2.0.2
pyinotify 0.9.6
PyInstaller 3.5+498e6ee058
pylnk3 0.4.2
pyminifier 2.1
pymongo 3.11.0
pymssql 2.2.2
PyMySQL 1.0.2
PyNaCl 1.5.0
pyOpenSSL 22.0.0
pyotp 2.3.0
pyparsing 2.4.7
PyPDF2 1.26.0
pyperclip 1.8.2
pypng 0.0.20
pyppeteer 0.2.5
pyproj 3.3.1
pypsrp 0.5.0
pypykatz 0.4.9
PyQRCode 1.2.1
PyQt5 5.15.6
PyQt5-sip 12.10.1
pyqtgraph 0.12.4
pyramid 2.0
pyrsistent 0.18.1
pyserial 3.5
pyShodan 0.2.3
pyshp 2.2.0
pysmi 0.3.2
pysnmp 4.4.12
PySocks 1.7.1
pyspnego 0.1.5
pytest 6.2.5
python-apt 2.3.0+b1
python-dateutil 2.8.1
python-debian 0.1.43
python-docx 0.8.11
python-dotenv 0.20.0
python-engineio 4.0.0
python-gvm 21.11.0
python-libnmap 0.7.2
python-magic 0.4.25
python-nmap 0.6.3
python-pam 2.0.2
python-pptx 0.6.18
python-snappy 0.5.3
python-socketio 5.0.3
PyTrie 0.4.0
pytz 2020.1
pytz-deprecation-shim 0.1.0.post0
pytzdata 2020.1
pywerview 0.3.2
PyX 0.15
pyxdg 0.27
PyYAML 5.4.1
qrcode 7.3.1
Quamash 0.6.1
redis 3.5.3
repoze.lru 0.7
requests 2.27.1
requests-file 1.5.1
requests-ntlm 1.1.0
requests-toolbelt 0.9.1
responses 0.18.0
retrying 1.3.3
rich 12.1.0
Routes 2.5.1
rpm 4.17.0
rq 1.10.1
ruamel.yaml 0.17.16
ruamel.yaml.clib 0.2.6
rule-engine 1.1.0
Rx 3.2.0
scapy 2.4.5rc1.dev279
scipy 1.7.3
secure 0.3.0
selenium 4.0.0a1
service-identity 18.1.0
setproctitle 1.2.2
setuptools 59.6.0
sgmllib3k 1.0.0
shodan 1.27.0
simplejson 3.17.2
simplekv 0.13.0
sipvicious 0.3.4
six 1.15.0
slowapi 0.1.4
smmap 5.0.0
smoke-zephyr 2.0.1
sniffio 1.2.0
snowballstemmer 2.0.0
sortedcontainers 2.1.0
soupsieve 2.0.1
speaklater 1.4
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 1.0.3
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.4
split 0.4
spyse-python 2.2.3
SQLAlchemy 1.4.31
sqlalchemy-schemadisplay 1.3
SQLAlchemy-Utc 0.11.0
sqlparse 0.4.2
sslyze 5.0.4
starlette 0.18.0
stone 3.3.1
Sublist3r 1.0
sympy 1.9
syslog-rfc5424-formatter 1.2.2
tables 3.7.0
tabulate 0.8.9
Tempita 0.5.2
tempora 5.0.1
termcolor 1.1.0
terminaltables 3.1.0
texttable 1.6.4
theHarvester 4.0.3
tld 0.11.11
tls-parser 1.2.2
token-bucket 0.3.0
toml 0.10.2
tornado 6.1
tqdm 4.64.0
traitlets 5.1.1
translationstring 1.4
Twisted 22.4.0
txaio 21.2.1
typing-extensions 3.10.0.2
typing-inspect 0.7.1
tzlocal 4.2
u-msgpack-python 2.3.0
ufoLib2 0.13.1
ufw 0.36.1
ujson 5.2.0
unattended-upgrades 0.1
unicodecsv 0.14.1
unicodedata2 14.0.0
Unidecode 1.3.4
urllib3 1.25.9
urwid 2.1.2
uvicorn 0.17.6
uvloop 0.16.0
validators 0.20.0
venusian 3.0.0
wafw00f 2.1.0
wapiti3 3.0.4
wcwidth 0.2.5
webargs 8.0.1
webencodings 0.5.1
WebOb 1.8.6
websocket-client 1.2.3
websockets 10.2
websockify 0.10.0
Werkzeug 1.0.1
wfuzz 3.1.0
wheel 0.37.1
whois 0.8
wifite 2.6.0
winacl 0.1.2
wrapt 1.13.3
wsaccel 0.6.3
wsproto 1.1.0
WTForms 2.2.1
xcffib 0.11.1
xdg 5
xlrd 1.2.0
XlsxWriter 3.0.2
xlutils 2.0.0
xlwt 1.3.0
xmltodict 0.12.0
yara-python 4.2.0
yarl 1.7.2
yaswfp 0.9.3
zc.lockfile 2.0
zipp 1.0.0
zlib-wrapper 0.1.3
zope.deprecation 4.4.0
zope.interface 5.4.0
`