Skip to content

1.8.13: page load broken with 'self' content security policy (Ace2Editor.init() error event while waiting for load event) #4975

@dvzrv

Description

@dvzrv

Describe the bug
After updating from 1.8.12 to 1.8.13 (no plugins, plain packaged version that I provide in the AUR), I get the following on loading any pad:

An error occurred

Please press and hold Ctrl and press F5 to reload this page

If the problem persists, please send this error message to your webmaster:
ErrorId: Hlk02KxskYcOry455748
Unhandled Promise rejection
URL: https://my-pad.tld/p/test
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Ace2Editor.init() error event while waiting for load event
at https://my-pad.tld/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=580f7db7 at line 49

Reloading the page doe not fix the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any pad
  2. See error

Expected behavior
pad loads normally

Screenshots
screenshot-2021-03-25_20-28-38_blur

Server (please complete the following information):

  • Etherpad version: 1.8.13
  • OS: Arch Linux
  • Node.js version (node --version): v15.12.0
  • npm version (npm --version): 7.7.4

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox
  • Version: 87.0

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Downgrading to 1.8.12 fixes the issue.

The PKGBUILD that creates the package can be found here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=etherpad-lite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions