Jibri fails with Selenium access error

I have a vanilla install of Jitsi and Jibri, which generally works, but Recording always fails: the voice announces immediately “Recording has stopped”, and an orange error message appears “Recording failed to start”, with the only details provided “Recording failed. Please try again.”

The logs reveal:

jvb.log

nothing conspicuous

AbstractHealthCheckService.run#171: Performed a successful health check

jicofo.log

Got Jibri status update: Jibri jibribrewery@internal.auth.$domain/Jibri has status pending and failure reason null, current Jibri jid is jibribrewery@internal.auth.$domain

Updating status from JIBRI: <iq to='focus@$domain> from='jibribrewery@internal.$domain type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error'/></iq> for testingrecording@conference.$domain

org.jitsi.jicofo.recording.jibri.JibriSession.log() failureReason was non-null but shouldRetry wasn't set, will NOT retry

org.jitsi.jicofo.recording.jibri.JibriSession.log() Jibri failed and signaled that we should not retry the same request

org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Got jibri status off and failure error

prosody.log

speakerstats.meetings.$domain:speakerstats_component warn A module has been configured that triggers external events.

speakerstats.meetings.$domain:speakerstats_component warn Implement this lib to trigger external events.

jibri/browser.0.log

Failed to read the 'localStorage' property from 'Window': Access is denied for this document

jibri/ffmpeg.0.txt

is empty

jibri/log.0.txt

Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections

org.jitsi.jibri.selenium.JibriSelenium.run() An error occurred while joining the call: org.openqa.selenium.WebDriverException: <unknown>: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Linux 4.19.0-8-amd64 x86_64) (WARNING: The server did not provide any stacktrace information

org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Error: SESSION Failed to join call

org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error, sending error iq status='off' failure_reason='error

For reference, system components (stable)

jitsi-meet 2.0.4468-1
jitsi-meet-prosody 1.0.4025-1
jitsi-meet-web 1.0.4025-1
jitsi-meet-web-config 1.0.4025-1
jitsi-videobridge2 2.1-183-gdbddd169-1

chromedriver 81.0.4044.69