New Installation OpenBSD login fail

hello I try to setup a new installation on a PC installed with OpenBSD 6.7:
my python version is 3.7.7 I install a venv and intall homeassistant through the pip install script.
the ‘hass’ script is running.

I made the web service accessible through an apache2 server with configuration (with my true domain instead of ‘example.com’):

<VirtualHost *:80>
    ServerName hass.example.com
    Redirect permanent / https://hass.example.com/
</VirtualHost>

tualHost *:443>
    #
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    #
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #
    ServerName hass.example.com:443
    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    Redirect permanent /.well-known https://www.example.com/.well-known

    #
    ProxyRequests       Off
    ProxyPreserveHost   On
    # avoid redirection for SSL renew certificate
    ProxyPass           /.well-known !
    ProxyPassReverse    /.well-known !
    # redirect other trafic to home assistant
    ProxyPass /api/websocket ws://localhost:8123/api/websocket
    ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket
    ProxyPass / http://localhost:8123/
    ProxyPassReverse / http://localhost:8123/
    #
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    #
    #LogLevel info
    ErrorLog "logs/error_log"
    #
 </VirtualHost>

during the first connection to the webpage It asks to setup a login, but I get a response
“Ah snap, something went wrong!”

and after that when I try to login I get a response:
“Something went wrong loading onboarding, try refreshing”

I try to run homeassistant with verbose message, but there is nothing in the log file.
What’s wrong in the configuration?

Update: I finally make everything work:
first I tried to connect through IP address : port -> this connection is working fine -> that mean the issue is comming from the apache configuration.
in fact, what was missing is the wstunnel proxy: adding this line:

LoadModule proxy_wstunnel_module /usr/local/lib/apache2/mod_proxy_wstunnel.so

in the httpd config file solve the issue!

the error were logged: but in the httpd error log, not in homeassistant log.