PenningLabs / lxconsole

LXD Graphical Web Console
GNU Affero General Public License v3.0
161 stars 19 forks source link

Docker version stop responding after every Brave browser update on Windows client. Error 500. #24

Open baiomys opened 3 months ago

baiomys commented 3 months ago

Docker service is hosted on separate LAN server, MAC_VLAN network. All other services hosted on same service IP (same docker-compose) also stop working until complete restart (via docker-compose down/up), which is very disappointing behavior.

incus:
    image: 'penninglabs/lxconsole:latest'
    restart: always
    volumes:
      - ./incus/certs:/opt/lxconsole/certs
      - ./incus/server:/opt/lxconsole/instance
    networks:
      vlan110:
        ipv4_address: 10.100.100.100
    dns:
      - 1.1.1.1

networks:
  vlan110:
    driver: macvlan
    driver_opts:
      parent: int_gst
    ipam:
      config:
        - subnet: "10.100.100.0/24"
          gateway: "10.100.100.2"
matthewalanpenning commented 3 months ago

Do you know if there are any error logs either from the docker container itself or from the Brave browser that would indicate what the failure is?

baiomys commented 3 months ago

Take a look. error.txt

matthewalanpenning commented 3 months ago

Version 0.5.7 was just released to fix this issue. So it appears as though when the Brave browser is updating it is removing all Session state values in the browser. I did find a few bug reports on this already:

I added a conditional check for the session value that was erroring out and now log the user out when this happens. This should prevent you from having to restart LXConsole when this happens.

Thanks for finding this issue.

baiomys commented 3 months ago

Glad to hear about nasty bug fix. Thanks for quick response.