furlongm / openvpn-monitor

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.
http://openvpn-monitor.openbytes.ie
GNU General Public License v3.0
968 stars 294 forks source link

flags don't load, in gunicorn #195

Open ExtremTechniker opened 3 years ago

ExtremTechniker commented 3 years ago

/images/flags/code.png not loading 404 error file not found. Error could be that the static directory is not set correct

furlongm commented 3 years ago

Can you run in debug mode and post the full output?

ExtremTechniker commented 3 years ago

How do I run it in debug mode via virtualenv + pip + gunicorn?

furlongm commented 3 years ago

Actually - first can you try adding a trailing slash to the end of the url and see if that fixes it?

ExtremTechniker commented 3 years ago

Hi, that doesn't work with a traling slash on the end

Here is some screenshot from the error

Bildschirmfoto 2021-02-17 um 18 26 25

Is the same error with and without of the trading slash

ExtremTechniker commented 3 years ago

Hey, do you have any ideas?

ExtremTechniker commented 3 years ago

Workaround, flags are loaded when I use the uwsgi + ngnix method, error for gunicorn could be that the static directory isn't set correctly.

macielterra commented 2 years ago

Olá, alguem conseguiu saber o motivo de não mostrar os icones das bandeiras com o Gunicorn? Não tem nada na internet para ajudar.