instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.53k stars 2.45k forks source link

"no _dump_data is defined for class Proc" errors intermittently generated on page loads #1735

Open svgit1 opened 3 years ago

svgit1 commented 3 years ago

Summary:

We're trying to determine what's causing intermittent 500 response errors resulting in users seeing the error page ("Page Error. Something broke unexpectedly."). Note that this is intermittent where a simple page refresh resolves. We can't easily replicate but this is frequent enough that these errors being generated multiple times per day for users.

Our frontends are running canvas-lms\stable from 2020-07-15 (f795ec2464)

Steps to reproduce:

  1. Navigate to any page in Canvas. Page intermittently fails to load (500 response) and simple refresh resolves.

Expected behavior:

Page loads without issues every time.

Actual behavior:

Page intermittently fails to load, users see the error page ("Page Error. Something broke unexpectedly."), and "no _dump_data is defined for class Proc" error report is generated (see below details).

Additional notes:

Error report that's generated:

svgit1 commented 3 years ago

Bumping this - does anyone have any thoughts on where we should investigate?

Versions running: apache: 2.4.29 2020-03-13T12:26:16 bundler: 2.1.4 rails (part of bundler): 5.2.4.3 node: 10.22.0 python: 2.7.17 ruby: ruby 2.6.6p146 (2020-03-31 revision 67876) yarn: 1.10.1. Held at this version per the yarn section in Production Start guide. I've also tried the latest version of yarn, didn't help this error. passenger: 6.0.6. Tried an older version of passenger, didn't help this error.

Redis cache: 6.0.5

dluhhbiu commented 3 years ago

I have the same error when visiting the settings page of courses. It`s a random error and I can't replicate it with 100%. Just visit the settings page several times.

svgit1 commented 3 years ago

I have the same error when visiting the settings page of courses. It`s a random error and I can't replicate it with 100%. Just visit the settings page several times.

Same here. We've noticed the Settings page in courses replicates this error the most. We've seen it elsewhere too like during quizzes, assignments, etc., but the settings page seems to be where it occurs the most. Note that replicating has been very hard for us, the percent is quite low but enough to be a problem - we can't replicate consistently.

jfoscue commented 1 year ago

Bumping this issue. We are lots of these in our self deployed canvas

rezacademic commented 13 hours ago

Bumping this again, we see this happening frequently on settings pages