Problem when reconfiguring Nginx for SSL with self-signed certificate

Frank_Mascarell nginx-forum at forum.nginx.org
Wed Sep 5 20:49:19 UTC 2018


It has also tried the proxy_passs an http, with the same error.
This is like finding a needle in a pocket: stressful and disappointing.


root at BaseVPS-ubuntu1804-django20:~# systemctl status gunicorn
● gunicorn.service - gunicorn daemon
   Loaded: loaded (/etc/systemd/system/gunicorn.service; disabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-09-05 20:34:38 UTC;
12min ago
  Process: 8842 ExecStart=/home/gela/.virtualenvs/django20/bin/gunicorn
--access-logfile - --workers 3 --bind unix:/run/gunicorn.sock
LibrosWeb.wsgi:application (code=exited, status=1/FAILURE)
 Main PID: 8842 (code=exited, status=1/FAILURE)

sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:     self.stop()
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:   File
"/home/gela/.virtualenvs/django20/lib/python3.6/site-packages/gunicorn/arbiter.py",
line 393, in stop
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:    
time.sleep(0.1)
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:   File
"/home/gela/.virtualenvs/django20/lib/python3.6/site-packages/gunicorn/arbiter.py",
line 245, in handle_chld
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:    
self.reap_workers()
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:   File
"/home/gela/.virtualenvs/django20/lib/python3.6/site-packages/gunicorn/arbiter.py",
line 525, in reap_workers
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:     raise
HaltServer(reason, self.WORKER_BOOT_ERROR)
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 gunicorn[8842]:
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 systemd[1]: gunicorn.service:
Main process exited, code=exited, status=1/FAILURE
sep 05 20:34:38 BaseVPS-ubuntu1804-django20 systemd[1]: gunicorn.service:
Failed with result 'exit-code'.

root at BaseVPS-ubuntu1804-django20:~# systemctl status gunicorn.socket
Failed to dump process list, ignoring: No such file or directory
● gunicorn.socket - gunicorn socket
   Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor
preset: enabled)
   Active: active (listening) since Wed 2018-09-05 20:34:37 UTC; 13min ago
   Listen: /run/gunicorn.sock (Stream)
   CGroup: /system.slice/gunicorn.socket

sep 05 20:34:37 BaseVPS-ubuntu1804-django20 systemd[1]: Listening on
gunicorn socket.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281099,281110#msg-281110



More information about the nginx mailing list