Generate Paper Key?

Continuing the discussion from Discourse Encrypt (for Private Messages):

Hi, I stumbled across a puzzling bug on one single Discourse instance I’m running. At first I thought about a sorry interference with the discourse-checklist plugin but it seems that there’s a recent update that requires running rake and move on. After upgrading and running the task though, I still cannot generate a paper key:

### Message (2 copies reported)

Error: Conflict Url: https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js Line: 1 Column: 266574 Window Location: https://dream.public.cat/u/how/preferences/account

### Backtrace

o/t</<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266574

o/t<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266677

o@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266758

trigger@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:542805

A</e._onError/<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:547647

d</t.invoke@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:487826

d</t.flush@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:486840

m</t.flush@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:488839

t</t._end@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:494214

t</t.end@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:490785

t</t._run@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:494732

t</t.run@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:491393

u@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:358611

s/r.error@https://dream.public.cat/assets/application-8d30d64f4bf6acf7d72046595309600445f7de3e530ceafa13b7fc5292e3d73a.js:1:205045

i@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:28213

fireWith@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:28981

w@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:79541

o/<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:81961

I could not reactivate encryption from another device, and am stuck there with no access to encrypted messages and the following Groundhog Day notification:

I follow the link, click “Generate paper key”, get a key… Never appear in the list. Console says:

Actually after running the rake task for discourse-checklist, removing all caches, cookies, session and even my encryption key, I still have Uncaught TypeError: n.getModel() is undefined i _discourse-checklist-....js:128 (I left other errors before, mostly missing SVG and deprecation warnings):

XHRPOSThttps://dream.public.cat/message-bus/376455adee854f9ea4c6f8aed9c3278d/poll
[HTTP/2 200 OK 25173ms]

The icon "bars" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "caret-down" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. 6 _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "plus" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "history" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "times" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "undo" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
XHRPOSThttps://dream.public.cat/mini-profiler-resources/results
[HTTP/2 200 OK 125ms]

The icon "search" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "bars" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "wrench" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "cog" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "lock" is missing from the SVG subset. 5 _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
XHRGEThttps://dream.public.cat/review/count.json
[HTTP/1.1 200 OK 0ms]

The icon "search" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "bars" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "wrench" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "cog" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "lock" is missing from the SVG subset. 5 _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
XHRPOSThttps://dream.public.cat/mini-profiler-resources/results
[HTTP/2 200 OK 129ms]

[DEPRECATION] `ember-addons/ember-computed-decorators` is deprecated. Please use `discourse-common/utils/decorators` instead. 2 _ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:74495:12
XHRGEThttps://dream.public.cat/categories.json?parent_category_id=5
[HTTP/1.1 200 OK 0ms]

XHRPOSThttps://dream.public.cat/mini-profiler-resources/results
[HTTP/2 200 OK 96ms]

XHRGEThttps://dream.public.cat/c/dream/5/l/latest.json?ascending=false&board=default
[HTTP/1.1 200 OK 0ms]

The icon "caret-right" is missing from the SVG subset. 3 _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
[DEPRECATION] `ember-addons/ember-computed-decorators` is deprecated. Please use `discourse-common/utils/decorators` instead. _ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:74495:12
The icon "far-bell" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "plus" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "wrench" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "discourse-expand" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "filter" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
[DEPRECATION] `ember-addons/ember-computed-decorators` is deprecated. Please use `discourse-common/utils/decorators` instead. _ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:74495:12
The icon "list" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "thumbtack" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
The icon "shield-alt" is missing from the SVG subset. _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:686:14
Uncaught TypeError: n.getModel() is undefined
    i _discourse-checklist-5067860a067cd7453c2ada64abb69c8cc6b1857707d20a70f16fc2a5f9a08daf.js:128
    value _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:22451
    value _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:75969
    value _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:75968
    value _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:75959
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19776
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19796
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19796
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19796
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19796
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19796
    exports _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19997
    exports _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19917
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:20105
    i _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:20080
    exports _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:19926
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:20105
    i _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:20080
    e _vendor-6fe3dd0886b189b17813c93b9df752abc0a33c577423b9cb4bf449ee18401160.js:20061
    rerenderWidget _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:55875
    jQuery 8
    success _application-4411e2550c07883f35936e49782de79d71ca918a5b09c8c2f53d8f00aaf0e566.js:8998
    jQuery 4
_discourse-checklist-5067860a067cd7453c2ada64abb69c8cc6b1857707d20a70f16fc2a5f9a08daf.js:128:34

1 Like

Another error… I disabled discourse-checklist plugin, and now am left with

Error: Conflict
Url: https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js
Line: 1
Column: 266574
Window Location: https://dream.public.cat/u/how/preferences/account

and

env
	
params	
message	Error: Conflict
url	https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb779664
line	1
column	266574
window_location	https://dream.public.cat/u/how/preferences/account
stacktrace	o/t</<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4f
backtrace

@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266574

o/t<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266677

o@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:266758

trigger@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:542805

A</e._onError/<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:547647

d</t.invoke@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:487826

d</t.flush@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:486840

m</t.flush@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:488839

t</t._end@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:494214

t</t.end@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:490785

t</t._run@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:494732

t</t.run@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:491393

u@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:358611

s/r.error@https://dream.public.cat/assets/application-8d30d64f4bf6acf7d72046595309600445f7de3e530ceafa13b7fc5292e3d73a.js:1:205045

i@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:28213

fireWith@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:28981

w@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:79541

o/<@https://dream.public.cat/assets/ember_jquery-189e46ebcb33594b835e782fd1ce916ec750bc0cf980ebc4fb7796649161a18d.js:1:81961

Generate paper key is coming from encrypt.

Maybe rebuild without encrypt and see if this goes away. At least so you know which plugin is at play.

1 Like

It does not unfortunately. I don’t even have to visit the location…