jlesage / docker-firefox

Docker container for Firefox
MIT License
1.4k stars 266 forks source link

[Bug] WidevineCdm plugin has crashed #196

Open tiagofelicio opened 10 months ago

tiagofelicio commented 10 months ago

Current Behavior

Unable to load DRM content.

Expected Behavior

No response

Steps To Reproduce

  1. open https://bitmovin.com/demos/drm
  2. the plugin will crash

image image

Environment

Container creation

docker run --detach --name=firefox-meogo --network=app \ -e USER_ID=$(id -u $(whoami)) \ -e USER_ID=$(getent group docker | cut -d: -f3) \ -e TZ=Europe/Lisbon \ -e FF_OPEN_URL="https://meogo.meo.pt/" \ -e FF_KIOSK=0 \ -p 10800:5800 \ -v ~/Applications/firefox-meogo/config:/config:rw \ --shm-size 2g \ --privileged \ --restart=unless-stopped \ jlesage/firefox:latest

Container log

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-cjk-font.sh: executing...
[cont-init   ] 10-cjk-font.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-check-snd.sh: executing...
[cont-init   ] 55-check-snd.sh: sound device group 29.
[cont-init   ] 55-check-snd.sh: terminated successfully.
[cont-init   ] 55-firefox.sh: executing...
[cont-init   ] 55-firefox.sh: terminated successfully.
[cont-init   ] 56-firefox-set-prefs-from-env.sh: executing...
[cont-init   ] 56-firefox-set-prefs-from-env.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           Firefox                                       │
    │ Application Version:   116.0-r0                                      │
    │ Docker Image Version:  23.08.1                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'logrotate'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built May 16 2023 17:54:26
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Sat Aug 19 11:03:36 2023
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'app'...
[app         ] Mozilla Firefox 116.0
[supervisor  ] all services started.
[xvnc        ] Sat Aug 19 11:03:39 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ]  ComparingUpdateTracker: 132.096 kpixels in / 64 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:2064 ratio)

Container inspect

[
    {
        "Id": "2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9",
        "Created": "2023-08-19T10:03:35.913581153Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 439831,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-08-19T10:03:36.288400834Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:0e6abe3e28f14d1ff3be97d869794fb801772b038ff0c03dfcf5a2db7abb20cd",
        "ResolvConfPath": "/var/lib/docker/containers/2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9/hostname",
        "HostsPath": "/var/lib/docker/containers/2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9/hosts",
        "LogPath": "/var/lib/docker/containers/2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9/2622a74f6cbc870a7bbd7325e5a2efe7004ac4aa9a4b7e540cd81de4f0c9e8f9-json.log",
        "Name": "/firefox-meogo",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "unconfined",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/home/taf/Applications/firefox-meogo/config:/config:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "app",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "10800"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "unless-stopped",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                24,
                80
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": true,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": [
                "label=disable"
            ],
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 2147483648,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteIOps": [],
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": null,
            "ReadonlyPaths": null
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/edace2a5937f7256ca0d3175b3d49f5f0ec6efaeaac31cd5ebd64699f02eb27d-init/diff:/var/lib/docker/overlay2/755a68a1592f892d551df37838d29317f7ce998e0a8b75de570b78fd2ebc192f/diff:/var/lib/docker/overlay2/4aa12c9749eba3a00fbf06a6af5120307ed5427e71990fcc9542b13125c70262/diff:/var/lib/docker/overlay2/f99d594e006cb28110c820d06daf3f2354d9b34d95cd7c0308f252b8173f4988/diff:/var/lib/docker/overlay2/a04eed558fb554914120b4d6f359cede4ad98d8750c6ea620339d2ecf618e6c4/diff:/var/lib/docker/overlay2/6415abf2300721491ff177fce582caaab8a15b9be7d6ed4d0a40e88b7dcfb6d3/diff:/var/lib/docker/overlay2/54389bc97966bba718a9710aef8b6fc9e9f3222fb9bd4f249bcdc9c1c4d04eb3/diff:/var/lib/docker/overlay2/052c9ace540cbcddf3e66426a75954aa9bb22f8f83c4e0e72e56e9030d1b3317/diff:/var/lib/docker/overlay2/4a964ac60d5b1bc8464ac3a7b80e4c4c76baf36ff42dd8bea6345a2ce41552c5/diff:/var/lib/docker/overlay2/600329ae15b05116faf67dd02aee7d1aa1c6f504812892975230a557bf0e769e/diff:/var/lib/docker/overlay2/de715c303705c9ce8b7e935b7e3fba6ccc56a0690d8dede59e43adf30ae8bbe4/diff:/var/lib/docker/overlay2/ae6dfc599e2f81cc95ce01d6df03e12e8fba09f61c45bff3a3660ec762a4e304/diff:/var/lib/docker/overlay2/97c84f902f02cae67a8245bc9ed0130106a1bf7f8031986b68cf3a9b35e1840a/diff:/var/lib/docker/overlay2/c4197eb0e6a818fc1dd43cec285dcf1c13505b34312dd023ae3a99a184c0d089/diff:/var/lib/docker/overlay2/a46e76ec41b704a49322538dce8d668071a93c94ef049c9ed54cc6ac456c8b29/diff:/var/lib/docker/overlay2/854515b5992e32f9944f51dc76874e168fa793e13a6faa0c9331bbb743c78acc/diff:/var/lib/docker/overlay2/5d86079aece2880070ef7bfe0c05aabc82a7272a44a1f328a41a843e9cce2462/diff:/var/lib/docker/overlay2/554278e5615f164a09e41a697266849fe82becae87ff149995e4d4516dce36e0/diff:/var/lib/docker/overlay2/602b8b2ffeca57780a0bf369d4e631f2e703db38484e15dc48291458af2aae7f/diff:/var/lib/docker/overlay2/31564de4ccc7c856e6702f1b57a8d1a6798a6251021aa8d1100c272a9790fae5/diff:/var/lib/docker/overlay2/a2101c46d40b825fbd0761ff35f5f9aa72c1916d9db37b5bee786193c087ae37/diff:/var/lib/docker/overlay2/c8a23a4f2cc6786a9a0e37200b3faae94eaf08db044e981376bffc5057d27012/diff:/var/lib/docker/overlay2/9a0c49679d74714cff569cf27fd42a4dd139c79db7c604e0451f4053e61a04aa/diff:/var/lib/docker/overlay2/66e0004d004ff28f6d6f7c6f2f423e05051bbd825c1104bd9c86b0a285fe181f/diff:/var/lib/docker/overlay2/149a210728fd1f8099bb527cf04d094852b79c9f3ad0e9310b755ef27205c77e/diff:/var/lib/docker/overlay2/5d7f3dce089f26901acbe7c8232a0805f304ea0d5a18d6967eee563322b3b2f1/diff:/var/lib/docker/overlay2/49067d9e2122b0af67335c3037b7d96dbb80ced71fbfbf06587b4f882377c510/diff:/var/lib/docker/overlay2/7f7af277aca5438af685e0202ffa89e807c48de595d17f3142c338c5f8bb5f4e/diff:/var/lib/docker/overlay2/d795eb01312c923c5c847322f9404687e6ed86ba9b8853f2880e491e0389e971/diff:/var/lib/docker/overlay2/713eec27ce16eaacb4cd239a6f57656f575a0619307814193b7890b08bf1b530/diff:/var/lib/docker/overlay2/00bac36f31c5715f4b5a544da34469d3d86ade25ce1d8f54174d3a008a49fa97/diff:/var/lib/docker/overlay2/35bfa7bc52e115e420cc0033a33e3e91cd2de0820ba5191303738675d49a31fa/diff:/var/lib/docker/overlay2/8d6d60f48ceabfee206d321ed512ddc14da309a100959205e57b7466f18bab60/diff:/var/lib/docker/overlay2/dc0d490f7d2d80629538cfefed6af2924f659d2bf99cc3a235f1041c243f2df0/diff:/var/lib/docker/overlay2/0b04ada37b01530210a8f5e97183e497007c66d8fc8e23cb539931262a23dffc/diff:/var/lib/docker/overlay2/3592e28d60fda9f1f52dbd7a2206412287b5a8dae3636f4a9049378d2aa6a033/diff",
                "MergedDir": "/var/lib/docker/overlay2/edace2a5937f7256ca0d3175b3d49f5f0ec6efaeaac31cd5ebd64699f02eb27d/merged",
                "UpperDir": "/var/lib/docker/overlay2/edace2a5937f7256ca0d3175b3d49f5f0ec6efaeaac31cd5ebd64699f02eb27d/diff",
                "WorkDir": "/var/lib/docker/overlay2/edace2a5937f7256ca0d3175b3d49f5f0ec6efaeaac31cd5ebd64699f02eb27d/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/home/taf/Applications/firefox-meogo/config",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "2622a74f6cbc",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=Europe/Lisbon",
                "FF_OPEN_URL=https://meogo.meo.pt/",
                "FF_KIOSK=0",
                "USER_ID=999",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "GROUP_ID=1000",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=0",
                "SECURE_CONNECTION=0",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/firefox:latest",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "org.label-schema.description": "Docker container for Firefox",
                "org.label-schema.name": "firefox",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-firefox",
                "org.label-schema.version": "23.08.1"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "50471525b5209228084d6cb7c370f28c427b72fdbd0bdd07a29e81178e0f086b",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "10800"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "10800"
                    }
                ],
                "5900/tcp": null
            },
            "SandboxKey": "/var/run/docker/netns/50471525b520",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "app": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "2622a74f6cbc"
                    ],
                    "NetworkID": "40e8bfd5462623d3efd2859ca217edc7d4b9721d139395e80804c55ba5fbd820",
                    "EndpointID": "cfb547f2985ebd425b05d20a463f53b510ce0611020b70b6ccd9f84b6b22a209",
                    "Gateway": "172.21.0.1",
                    "IPAddress": "172.21.0.13",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:15:00:0d",
                    "DriverOpts": null
                }
            }
        }
    }
]

Anything else?

No response