Canvas Conversation Module Error

369 views
Skip to first unread message

Ray Yu

unread,
Mar 24, 2013, 2:29:39 AM3/24/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Hi everyone,
 
I recently installed the open-source version of Canvas on one of the Ubuntu servers. Everything works fine except that I encountered two issues that I have absolutely no clues on how to fix:
 
1. I am not able to send messages to other users in the Conversation Module. I can send messages to myself. But when I try to send a message to other users registered in the same setup, I received the error message " "An unexpected error occurred, please try again". I have been searching the web and this forum but could not find anywhere that discusses this issue.
 
2. I cannot upload files by using the "Add Files" bottom but the drag and drop method works.
 
I really appreciate if somebody on this forum can provide me some suggestions on how to fix these issues.
 
Thanks a lot,
Ray

Jude

unread,
Mar 24, 2013, 8:25:38 PM3/24/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Hi Ray,

The Add Files one is an easy fix (if it is the regular problem) and has to do with file validation.

Go to your /app/controllers folder in your canvas install and edit the file 'files_controller.rb' e.g.:
sudo nano /var/canvas/app/controllers/files_controller.rb

Change line 44 to say (at the end):
skip_before_filter :verify_authenticity_token, :only => [:api_create,:create]

Cheers
Jude

Ray Yu

unread,
Mar 25, 2013, 12:47:40 PM3/25/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Hi Jude,
 
I have tried your solution but it still did not work out. Instead, I got the HTTP ERROR (422).
 
Thanks,
Raymond

Christopher Bennell

unread,
Mar 25, 2013, 4:08:00 PM3/25/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Make sure you're using an updated version of the Flash Player plugin. See this thread: https://groups.google.com/forum/#!topic/canvas-lms-users/BL5bV0F9TGw%5B1-25-false%5D

Jude

unread,
Mar 25, 2013, 9:50:41 PM3/25/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Are you getting it in all browsers? With updated flash?

I think since the drag upload (html) is working, this is likely to be a flash problem.

Trương Hoàng Dũng

unread,
Mar 26, 2013, 1:58:09 AM3/26/13
to canvas-l...@googlegroups.com, pil...@optonline.net
The second issue, as i guess, is because your web server or proxy server couldn't load the file upload flash player, you can try allow the swf extension.

liste...@gmail.com

unread,
Apr 10, 2013, 9:05:29 PM4/10/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Hi Ray, I have the same issue with the messaging module. There don't seem to be any related errors in the log files. Were you able to find a resolution to the get the messaging system working?

Thanks,
Scott

Irsandi Hasan

unread,
Apr 11, 2013, 12:53:28 AM4/11/13
to canvas-l...@googlegroups.com, pil...@optonline.net
same with with me, latest stable running fine except conversation still error with messege : "An unexpected error occurred, please try again"


On Sunday, March 24, 2013 1:29:39 PM UTC+7, Ray Yu wrote:

Cody Cutrer

unread,
Apr 12, 2013, 11:03:06 AM4/12/13
to canvas-l...@googlegroups.com, pil...@optonline.net
This is likely due to a MySQL regression. If you cherry-pick https://github.com/instructure/canvas-lms/commit/d67fe681022559f5ea417d12d80a21bd4d739841 on to the latest stable branch, it should work.

Cody Cutrer
Software Engineer
Instructure


--
 
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Irsandi Hasan

unread,
Apr 12, 2013, 11:35:43 AM4/12/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Thanks Cody.

Conversation Module Now Work...

liste...@gmail.com

unread,
Apr 12, 2013, 6:52:14 PM4/12/13
to canvas-l...@googlegroups.com, pil...@optonline.net
Worked perfectly. Thank you Cody.
Reply all
Reply to author
Forward
0 new messages