Skip to content

Cockpit "Oops" as soon as the page finished loading #22552

@hypersplash

Description

@hypersplash

Explain what happens

  1. I accessed the web console through Firefox
  2. The red "Oops" message immediately popped up right after the page was loaded
  3. As I clicked on Oops the message is simply
    Cockpit had an unexpected internal error. You can try restarting Cockpit by pressing refresh in your browser. The javascript console contains details about this error (Ctrl-Shift-I in most browsers).
Image

Version of Cockpit

350-1

Where is the problem in Cockpit?

Navigation & Shell

Server operating system

Debian

Server operating system version

Sid (rolling release / bleeding edge)

What browsers are you using?

Firefox

System log

JavaScript log:
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-dd4J3UnQShsOmqcYi4vN5BT3mGZB/0fOwBA72rsguKc=', requires 'unsafe-hashes' for style attributes) or a nonce. content.js:85:443
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-sBQspCyjc+p8EI4pUICBc9cLXH52A/ESHuoYxoMMh14=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-1IkHQxvyH27HA78GuzvXQnT+e54J4v29T6saiGzG++w=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-dd4J3UnQShsOmqcYi4vN5BT3mGZB/0fOwBA72rsguKc=', requires 'unsafe-hashes' for style attributes) or a nonce. content.js:85:443
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-V0Qomdl85G96/mdoMb5Vr88Rl9TjMkxw26jCD5SauOQ=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-EYjFYxX2T/s5tPW71M3BudI+b+LSBMgw6Ce5gDF8KuU=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-dd4J3UnQShsOmqcYi4vN5BT3mGZB/0fOwBA72rsguKc=', requires 'unsafe-hashes' for style attributes) or a nonce. content.js:85:443
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-Jq55A8GuwIfTCaRN/DgW5dbu6ITvewQPAIsbXtW06FI=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-uLQYgDd2xDHG9YSbWESKsRzhVwJEmcpmBL9SBzrUnXs=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-dd4J3UnQShsOmqcYi4vN5BT3mGZB/0fOwBA72rsguKc=', requires 'unsafe-hashes' for style attributes) or a nonce. content.js:85:443
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-LV1b2IJ3+7MTa1NXxpJ9OW6cW9d44O2GR79kR/c3Wuw=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-0Yxf1iNriNVzV1pw7WYOnIJGFNbE6zZPFoZXyLO9BTw=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-dd4J3UnQShsOmqcYi4vN5BT3mGZB/0fOwBA72rsguKc=', requires 'unsafe-hashes' for style attributes) or a nonce. content.js:85:443
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-DNE55Jj5W7/FfZRqVFK+t5x4x64aBFj22keJgy5fCSI=') or a nonce. content.js:71:183
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “default-src 'self'”. Consider using a hash ('sha256-yVEZTqChOdNOUYyx7Lt2B73ODO86GkaULQZ5+RFsIYY=') or a nonce. content.js:71:183
RangeError: date value is not finite in DateTimeFormat.format()
    e3 http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    t http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    render http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    gu http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    u0 http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    wk http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    _k http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    DT http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    vd http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    Iu http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    gk http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    fg http://localhost:6942/cockpit/@localhost/updates/updates.js:1
    ag http://localhost:6942/cockpit/@localhost/updates/updates.js:1
updates.js:8:161
Uncaught RangeError: date value is not finite in DateTimeFormat.format()
    e3 http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    t http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    render http://localhost:6942/cockpit/@localhost/updates/updates.js:62
    gu http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    u0 http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    wk http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    _k http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    DT http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    vd http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    Iu http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    gk http://localhost:6942/cockpit/@localhost/updates/updates.js:8
    fg http://localhost:6942/cockpit/@localhost/updates/updates.js:1
    ag http://localhost:6942/cockpit/@localhost/updates/updates.js:1
updates.js:62:7954

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions