Hello,
I’m trying to configure ORA2
to use S3
bucket but I’m getting an error.
I’m using Tutor
with the plugin S3 and open-release/maple.2
.
Picture profiles, badges, and grades are working but ORA2
is not working.
If I change ORA2_FILEUPLOAD_BACKEND
to filesystem
it works, but the file is stored in the filesystem.
Has anyone managed to configure ORA3 with S3?
Here is my plugin config:
OPENEDX_AWS_ACCESS_KEY: my-key
OPENEDX_AWS_QUERYSTRING_AUTH: false
OPENEDX_AWS_S3_SECURE_URLS: false
OPENEDX_AWS_SECRET_ACCESS_KEY: my-secret-access
S3_STORAGE_BUCKET: my-bucket
S3_REGION: us-east-1
S3_ADDRESSING_STYLE: auto
S3_CUSTOM_DOMAIN: muy-bucket.s3.amazonaws.com
S3_PROFILE_IMAGE_BUCKET: my-bucket-profile
S3_PROFILE_IMAGE_CUSTOM_DOMAIN: my-bucket-profile.s3.amazonaws.com
Log with ORA2_FILEUPLOAD_BACKEND = "filesystem"
2022-04-19 02:57:06,247 INFO 23 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T02:57:06.247022+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "event_source": "server", "page": null}
2022-04-19 02:57:06,328 INFO 23 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "openassessmentblock.save_files_descriptions", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "org_id": "Organization1", "enterprise_uuid": "", "module": {"display_name": "Open Response Assessment", "usage_key": "block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd"}, "asides": {}}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": {"saved_response": "[\"testeste\", \"test\", \"teste\", \"53ws5\", null, \"atsas\"]"}, "time": "2022-04-19T02:57:06.328582+00:00", "event_type": "openassessmentblock.save_files_descriptions", "event_source": "server", "page": "x_module"}
2022-04-19 02:57:06,381 INFO 6 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T02:57:06.380530+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "event_source": "server", "page": null}
2022-04-19 02:57:06,452 WARNING 6 [openassessment.fileupload.api] [user 5] [ip 172.20.0.1] api.py:38 - FileUploadError: Could not retrieve URL for key 68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd
repeat ...
2022-04-19 02:57:06,541 WARNING 6 [openassessment.fileupload.api] [user 5] [ip 172.20.0.1] api.py:38 - FileUploadError: Could not retrieve URL for key 68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/19
2022-04-19 02:57:06,596 INFO 23 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/openassessment/fileupload/submissions_attachments/68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/5/", "context": {"user_id": 5, "path": "/openassessment/fileupload/submissions_attachments/68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/5/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T02:57:06.595935+00:00", "event_type": "/openassessment/fileupload/submissions_attachments/68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/5/", "event_source": "server", "page": null}
2022-04-19 02:57:06,688 INFO 23 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/download_url", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/download_url", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T02:57:06.688040+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/download_url", "event_source": "server", "page": null}
2022-04-19 02:57:06,708 INFO 6 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "openassessment.upload_file", "context": {"user_id": 5, "path": "/event", "course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"fileName\": \"4-flashes-converted.pdf\", \"fileSize\": 75611, \"fileType\": \"application/pdf\"}", "time": "2022-04-19T02:57:06.708208+00:00", "event_type": "openassessment.upload_file", "event_source": "browser", "page": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first"}
2022-04-19 03:01:18,307 INFO 6 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/remove_uploaded_file", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/remove_uploaded_file", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T03:01:18.306954+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/remove_uploaded_file", "event_source": "server", "page": null}
2022-04-19 03:01:18,416 INFO 6 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "openassessmentblock.remove_uploaded_file", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/remove_uploaded_file", "org_id": "Organization1", "enterprise_uuid": "", "module": {"display_name": "Open Response Assessment", "usage_key": "block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd"}, "asides": {}}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": {"student_item_key": "68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/5"}, "time": "2022-04-19T03:01:18.415961+00:00", "event_type": "openassessmentblock.remove_uploaded_file", "event_source": "server", "page": "x_module"}
Log with ORA2_FILEUPLOAD_BACKEND = "s3"
2022-04-19 03:23:44,829 INFO 9 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T03:23:44.828870+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "event_source": "server", "page": null}
2022-04-19 03:23:44,919 INFO 9 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "openassessmentblock.save_files_descriptions", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/save_files_descriptions", "org_id": "Organization1", "enterprise_uuid": "", "module": {"display_name": "Open Response Assessment", "usage_key": "block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd"}, "asides": {}}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": {"saved_response": "[\"testeste\", \"test\", \"teste\", \"53ws5\", null, null, null, \"asda\"]"}, "time": "2022-04-19T03:23:44.919489+00:00", "event_type": "openassessmentblock.save_files_descriptions", "event_source": "server", "page": "x_module"}
2022-04-19 03:23:44,972 INFO 26 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "context": {"course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "course_user_tags": {}, "user_id": 5, "path": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-19T03:23:44.972592+00:00", "event_type": "/courses/course-v1:Organization1+CourseNumber1+CourseRun1/xblock/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/handler/upload_url", "event_source": "server", "page": null}
2022-04-19 03:23:45,051 INFO 26 [botocore.vendored.requests.packages.urllib3.connectionpool] [user 5] [ip 172.20.0.1] connectionpool.py:734 - Starting new HTTPS connection (1): s3.amazonaws.com
2022-04-19 03:23:45,805 WARNING 26 [openassessment.fileupload.api] [user 5] [ip 172.20.0.1] api.py:38 - FileUploadError: Could not retrieve URL for key 68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd
repeat ...
2022-04-19 03:23:59,746 INFO 26 [botocore.vendored.requests.packages.urllib3.connectionpool] [user 5] [ip 172.20.0.1] connectionpool.py:734 - Starting new HTTPS connection (1): s3.amazonaws.com
2022-04-19 03:24:00,907 WARNING 26 [openassessment.fileupload.api] [user 5] [ip 172.20.0.1] api.py:38 - FileUploadError: Could not retrieve URL for key 68039956f1a06f022ca4f65c658566ec/course-v1:Organization1+CourseNumber1+CourseRun1/block-v1:Organization1+CourseNumber1+CourseRun1+type@openassessment+block@977e9651475048af85066b267f99e4fd/19
2022-04-19 03:24:01,738 INFO 9 [tracking] [user 5] [ip 172.20.0.1] logger.py:41 - {"name": "openassessment.upload_file_error", "context": {"user_id": 5, "path": "/event", "course_id": "course-v1:Organization1+CourseNumber1+CourseRun1", "org_id": "Organization1", "enterprise_uuid": ""}, "username": "student", "session": "1d7fbd7c5081a1fae1a3e25b78db8c13", "ip": "172.20.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "host": "kms.com", "referer": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first", "accept_language": "en-US,en;q=0.9,pt-BR;q=0.8,pt;q=0.7", "event": "{\"statusText\": \"NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://tutor-bucket-dev.s3.amazonaws.com/submissions_attachments/68039956f1a06f022ca4f65c658566ec/course-v1%3AOrganization1%2BCourseNumber1%2BCourseRun1/block-v1%3AOrganization1%2BCourseNumber1%2BCourseRun1%2Btype%40openassessment%2Bblock%40977e9651475048af85066b267f99e4fd/7?AWSAccessKeyId=AKIAZC6A3GTMQNCDWRVW&Signature=Z4ds4RW6iadQb8ChyEvGbpbL1Zs%3D&content-type=application%2Fpdf&Expires=1650342240'.\"}", "time": "2022-04-19T03:24:01.738444+00:00", "event_type": "openassessment.upload_file_error", "event_source": "browser", "page": "http://kms.com/courses/course-v1:Organization1+CourseNumber1+CourseRun1/courseware/484163aa2ca140b3a3d331c3b63c17c2/1eeb83cdaeee4ce2bdf9fa323f90cde0/?child=first"}
The error occurs on this file/line fileupload/api.py