Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading 8MB .pdf file attachment to class fails, receives 500 Internal Server Error #680

Open
2 tasks done
kieranv-SCSU opened this issue Sep 22, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@kieranv-SCSU
Copy link

Acknowledgements

  • I have written a descriptive issue title
  • I have searched Issues to see if the bug has already been reported

Operating System

Windows Version 10.0.22631 Build 22631

Browser & Version

Firefox 130.0 (32-bit)

Helium Username

kieranonline

Describe the Bug

I have a "class" for a book club that meets virtually and attempted to upload the .pdf of the book as an attachment file in the class. When I click "save", it begins to upload, but then fails with the error message "The class is saved, but an error occurred while uploading attachments. If the error persists, open a ticket."

The .pdf that fails is 8 MB in size. I also tested uploading a .png of 262 KB, a .csv of 40 KB, and a .pdf of 75 KB, and all worked as expected.

Expected Behavior

The file uploads and is saved to the class attachments.

Console Output / Error Responses

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Sep 27, 2024, _f: undefined, _strict: undefined, _locale: [object Object]
deprecate/<@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:5143
configFromString@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:44539
configFromInput@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:48856
prepareConfig@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:48581
createFromConfig@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:47981
createLocalOrUTC@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:49461
createLocal@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:49537
hooks@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:271
HeliumClasses/this.save_course@https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:39393
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6572
dispatch@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:14129
add/v.handle@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:10866
EventListener.handleEvent*add@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:11340
on/<@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20283
each@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:5347
each@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:1999
on@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20259
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6535
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:7276
moment.min.js:1:4641

XHRPOST
https://api.heliumedu.com/planner/attachments/
[HTTP/1.1 500 Internal Server Error 650ms]

Dropzone.prototype.uploadFiles
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:31771
Dropzone.prototype.processFiles
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:27209
Dropzone.prototype.processQueue
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:26671
HeliumClasses/this.save_course/</</<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:47275
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26346
HeliumClasses/this.save_course/</<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:45521
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
fireWith
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26840
k
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:14258
r
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:18646
(Async: EventHandlerNonNull) send
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:18747
ajax
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:13722
HeliumPlannerAPI/this.edit_course
https://www.heliumedu.com/assets/js/api.min.js:1:14775
HeliumClasses/this.save_course/<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:41515
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26346
HeliumClasses/this.save_course
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:40056

https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6572
dispatch
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:14129
add/v.handle
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:10866
(Async: EventListener.handleEvent) add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:11340
on/<
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20283
each
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:5347
each
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:1999
on
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20259

https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6535

https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:7276

@kieranv-SCSU kieranv-SCSU added the bug Something isn't working label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant