RCE Error

267 views
Skip to first unread message

Ajmeer Kaja Mohideen

unread,
Jan 12, 2024, 6:03:58 AMJan 12
to Canvas LMS Users
Hi All, Do any one have detailed steps to configure RCE with Canvas LMS. Steps provided in Git is not working.

Any lead will be highly appreciated. 

German Acevedo

unread,
Jan 25, 2024, 12:11:15 PMJan 25
to Canvas LMS Users
Hi,
I followed this instructions to setup my Canvas and RCE is working fine.
You can try to use only the RCE setup part of the guide.
Regards,

Juan Paulo Pérez Tejada

unread,
Feb 24, 2024, 12:16:03 AMFeb 24
to Canvas LMS Users
Are you using Canvas RCE API with Docker or how are you installing it? 
Message has been deleted
Message has been deleted
Message has been deleted

Lucifer

unread,
Feb 24, 2024, 1:34:59 AMFeb 24
to Canvas LMS Users
I also have the same error, this is my log file while running rce, screenshot_2024-02-24_114019.png

and while uploading image it ishowung like this, 
screenshot_2024-02-24_113932.png

Thanks in advance
Message has been deleted

Lucifer

unread,
Feb 24, 2024, 1:40:23 AMFeb 24
to Canvas LMS Users
screenshot_2024-02-24_113932-1.png

Juan Paulo Pérez Tejada

unread,
Feb 24, 2024, 4:28:50 AMFeb 24
to canvas-l...@googlegroups.com
There's not errors in the log, so it doesn't seem that the issue is the RCE API. As you're following Adeel's tutorial, I guess that you're not using docker, your installation is using Apache Web Server, and you're using `screen`to keep running Canvas RCE API app.

Did you add a comment on the line with the Docker url? How did you configure your file_store.yml?

I also had issues with RCE API when installing Canvas LMS. At the end, I configured Amazon S3 storage to save images and files. Also, I didn't use `screen` to keep running RCE API, I used Phusion Passenger instead, as the rails app does.

I  share with you how I installed the Canvas RCE API: https://github.com/instructure/canvas-rce-api/issues/12#issuecomment-1958696699

--

---
You received this message because you are subscribed to a topic in the Google Groups "Canvas LMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canvas-lms-users/HkyDYYvpTRs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/6371ed80-7733-4b5a-a0fe-46cb9665aac4n%40googlegroups.com.
Message has been deleted

Lucifer

unread,
Jun 24, 2024, 1:38:21 AM (10 days ago) Jun 24
to Canvas LMS Users
this is the log im getting in browser console during my uploading of image after installing rce  , 

Failed to load resource: the server responded with a status of 401 ()
/api/session:1
       
       
       Failed to load resource: the server responded with a status of 401 ()
plugin.js:58 The Paste plugin failed to get canvas session data.
(anonymous) @ plugin.js:58
/api/session:1
       
       
       Failed to load resource: the server responded with a status of 401 ()
/api/session:1
       
       
       Failed to load resource: the server responded with a status of 401 ()
api.js:53 Uncaught (in promise) Error
    at b (api.js:53:19)
api.js:514
       
       
       GET https://mydomain.in/api/session 401 (Unauthorized)
apiReallyFetch @ api.js:514
getSession @ api.js:99
o @ session.js:33
(anonymous) @ index.js:8
loadSession @ sidebarHandlers.js:34
(anonymous) @ UploadFileModal.js:114
Cs @ react-dom.production.min.js:211
$l @ react-dom.production.min.js:257
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
Wl @ react-dom.production.min.js:257
Tl @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
po @ react-dom.production.min.js:123
uo @ react-dom.production.min.js:122
ql @ react-dom.production.min.js:240
kc @ react-dom.production.min.js:284
t.render @ react-dom.production.min.js:290
(anonymous) @ doFileUpload.js:60
(anonymous) @ doFileUpload.js:45
Promise.then (async)
ne @ doFileUpload.js:33
re @ clickCallback.js:20
(anonymous) @ plugin.js:86
commands.exec.<computed> @ tinymce.js:27378
e.execCommand @ tinymce.js:27290
e.execCommand @ tinymce.js:28766
le @ plugin.js:64
onAction @ plugin.js:114
(anonymous) @ theme.js:10766
(anonymous) @ theme.js:10789
(anonymous) @ theme.js:1993
q @ theme.js:310
r @ theme.js:1992
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
(anonymous) @ theme.js:12991
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12990
ma @ theme.js:2067
la @ theme.js:2054
va @ theme.js:2060
e @ theme.js:7757
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
B_ @ theme.js:12824
(anonymous) @ theme.js:12983
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12982
(anonymous) @ theme.js:12583
map @ theme.js:224
i @ theme.js:12578
(anonymous) @ theme.js:12603
r @ theme.js:205
c @ theme.js:12602
(anonymous) @ theme.js:12669
(anonymous) @ theme.js:3383
c @ rocket-loader.min.js:1
Show 58 more frames
Show less
api.js:520
       
       
       GET https://mydomain.in/api/session 401 (Unauthorized)
(anonymous) @ api.js:520
Promise.then (async)
(anonymous) @ api.js:519
Promise.then (async)
apiReallyFetch @ api.js:516
getSession @ api.js:99
o @ session.js:33
(anonymous) @ index.js:8
loadSession @ sidebarHandlers.js:34
(anonymous) @ UploadFileModal.js:114
Cs @ react-dom.production.min.js:211
$l @ react-dom.production.min.js:257
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
Wl @ react-dom.production.min.js:257
Tl @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
po @ react-dom.production.min.js:123
uo @ react-dom.production.min.js:122
ql @ react-dom.production.min.js:240
kc @ react-dom.production.min.js:284
t.render @ react-dom.production.min.js:290
(anonymous) @ doFileUpload.js:60
(anonymous) @ doFileUpload.js:45
Promise.then (async)
ne @ doFileUpload.js:33
re @ clickCallback.js:20
(anonymous) @ plugin.js:86
commands.exec.<computed> @ tinymce.js:27378
e.execCommand @ tinymce.js:27290
e.execCommand @ tinymce.js:28766
le @ plugin.js:64
onAction @ plugin.js:114
(anonymous) @ theme.js:10766
(anonymous) @ theme.js:10789
(anonymous) @ theme.js:1993
q @ theme.js:310
r @ theme.js:1992
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
(anonymous) @ theme.js:12991
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12990
ma @ theme.js:2067
la @ theme.js:2054
va @ theme.js:2060
e @ theme.js:7757
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
B_ @ theme.js:12824
(anonymous) @ theme.js:12983
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12982
(anonymous) @ theme.js:12583
map @ theme.js:224
i @ theme.js:12578
(anonymous) @ theme.js:12603
r @ theme.js:205
c @ theme.js:12602
(anonymous) @ theme.js:12669
(anonymous) @ theme.js:3383
c @ rocket-loader.min.js:1
Show 58 more frames
Show less
api.js:53 Uncaught (in promise) Error
    at b (api.js:53:19)
b @ api.js:53
Promise.then (async)
o @ session.js:33
(anonymous) @ index.js:8
loadSession @ sidebarHandlers.js:34
(anonymous) @ UploadFileModal.js:114
Cs @ react-dom.production.min.js:211
$l @ react-dom.production.min.js:257
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
Wl @ react-dom.production.min.js:257
Tl @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
po @ react-dom.production.min.js:123
uo @ react-dom.production.min.js:122
ql @ react-dom.production.min.js:240
kc @ react-dom.production.min.js:284
t.render @ react-dom.production.min.js:290
(anonymous) @ doFileUpload.js:60
(anonymous) @ doFileUpload.js:45
Promise.then (async)
ne @ doFileUpload.js:33
re @ clickCallback.js:20
(anonymous) @ plugin.js:86
commands.exec.<computed> @ tinymce.js:27378
e.execCommand @ tinymce.js:27290
e.execCommand @ tinymce.js:28766
le @ plugin.js:64
onAction @ plugin.js:114
(anonymous) @ theme.js:10766
(anonymous) @ theme.js:10789
(anonymous) @ theme.js:1993
q @ theme.js:310
r @ theme.js:1992
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
(anonymous) @ theme.js:12991
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12990
ma @ theme.js:2067
la @ theme.js:2054
va @ theme.js:2060
e @ theme.js:7757
(anonymous) @ theme.js:2745
(anonymous) @ theme.js:104
(anonymous) @ theme.js:12787
fold @ theme.js:209
R_ @ theme.js:12781
I_ @ theme.js:12806
P_ @ theme.js:12828
B_ @ theme.js:12824
(anonymous) @ theme.js:12983
Ss @ theme.js:3724
_s @ theme.js:3761
triggerEvent @ theme.js:12982
(anonymous) @ theme.js:12583
map @ theme.js:224
i @ theme.js:12578
(anonymous) @ theme.js:12603
r @ theme.js:205
c @ theme.js:12602
(anonymous) @ theme.js:12669
(anonymous) @ theme.js:3383
c @ rocket-loader.min.js:1
Show 58 more frames
Show less
api.js:514 mydomain.in
       
       
       GET https://mydomain.in/api/session 401 (Unauthorized)
apiReallyFetch @ api.js:514
getSession @ api.js:99
apiFetch @ api.js:505
fetchPage @ api.js:155
fetchMediaFolder @ api.js:352
(anonymous) @ upload.js:369
(anonymous) @ index.js:8
startMediaUpload @ sidebarHandlers.js:59
q @ UploadFile.js:73
l @ doFileUpload.js:54
onSubmit @ UploadFileModal.js:137
s @ react-dom.production.min.js:14
h @ react-dom.production.min.js:14
f @ react-dom.production.min.js:14
g @ react-dom.production.min.js:15
ft @ react-dom.production.min.js:52
pt @ react-dom.production.min.js:51
_t @ react-dom.production.min.js:52
wt @ react-dom.production.min.js:56
P @ react-dom.production.min.js:287
V @ react-dom.production.min.js:19
cn @ react-dom.production.min.js:70
ln @ react-dom.production.min.js:69
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
H @ react-dom.production.min.js:287
an @ react-dom.production.min.js:68
c @ rocket-loader.min.js:1
Show 17 more frames
Show less
api.js:520
       
       
       GET https://mydomain.in/api/session 401 (Unauthorized)
(anonymous) @ api.js:520
Promise.then (async)
(anonymous) @ api.js:519
Promise.then (async)
apiReallyFetch @ api.js:516
getSession @ api.js:99
apiFetch @ api.js:505
fetchPage @ api.js:155
fetchMediaFolder @ api.js:352
(anonymous) @ upload.js:369
(anonymous) @ index.js:8
startMediaUpload @ sidebarHandlers.js:59
q @ UploadFile.js:73
l @ doFileUpload.js:54
onSubmit @ UploadFileModal.js:137
s @ react-dom.production.min.js:14
h @ react-dom.production.min.js:14
f @ react-dom.production.min.js:14
g @ react-dom.production.min.js:15
ft @ react-dom.production.min.js:52
pt @ react-dom.production.min.js:51
_t @ react-dom.production.min.js:52
wt @ react-dom.production.min.js:56
P @ react-dom.production.min.js:287
V @ react-dom.production.min.js:19
cn @ react-dom.production.min.js:70
ln @ react-dom.production.min.js:69
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
H @ react-dom.production.min.js:287
an @ react-dom.production.min.js:68
c @ rocket-loader.min.js:1
Show 17 more frames
Show less
upload.js:391 Fetching the media folder failed. Error
    at b (api.js:53:19)
    at async k.apiFetch (api.js:504:15)
(anonymous) @ upload.js:391
Promise.catch (async)
(anonymous) @ upload.js:387
(anonymous) @ index.js:8
startMediaUpload @ sidebarHandlers.js:59
q @ UploadFile.js:73
l @ doFileUpload.js:54
onSubmit @ UploadFileModal.js:137
s @ react-dom.production.min.js:14
h @ react-dom.production.min.js:14
f @ react-dom.production.min.js:14
g @ react-dom.production.min.js:15
ft @ react-dom.production.min.js:52
pt @ react-dom.production.min.js:51
_t @ react-dom.production.min.js:52
wt @ react-dom.production.min.js:56
P @ react-dom.production.min.js:287
V @ react-dom.production.min.js:19
cn @ react-dom.production.min.js:70
ln @ react-dom.production.min.js:69
t.unstable_runWithPriority @ scheduler.production.min.js:19
so @ react-dom.production.min.js:122
H @ react-dom.production.min.js:287
an @ react-dom.production.min.js:68
c @ rocket-loader.min.js:1
Show 17 more frames

can anyone help me in recovering from it??


Show less

Andrey Gangan

unread,
Jun 24, 2024, 6:05:51 AM (9 days ago) Jun 24
to Canvas LMS Users
double check secrets

понедельник, 24 июня 2024 г. в 08:38:21 UTC+3, Lucifer:

Andrey Gangan

unread,
Jun 24, 2024, 6:06:34 AM (9 days ago) Jun 24
to Canvas LMS Users
do you remember that secrets migrated to another file? 

понедельник, 24 июня 2024 г. в 13:05:51 UTC+3, Andrey Gangan:

Lucifer

unread,
Jun 24, 2024, 12:08:29 PM (9 days ago) Jun 24
to Canvas LMS Users
Can you explain me in a detailed description. I can't understand.

Andrey Gangan

unread,
Jun 25, 2024, 9:34:32 AM (8 days ago) Jun 25
to Canvas LMS Users
secrets for rce migrated from dynamic_settings.yml  to vault_contents.yml 

понедельник, 24 июня 2024 г. в 19:08:29 UTC+3, Lucifer:
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages