Exporting calendar as .png leads to 504 error

Open
#4,290 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, react
Domain
frontend

Research direction

Start at the Download > Image (.png) entry point and reproduce the 504 FUNCTION_INVOCATION_TIMEOUT described in the issue. Done means the calendar downloads successfully as a PNG instead of timing out; verify the behavior in Chrome on the reported flow.

Written by the indexing model from the issue text.

Description

Describe the bug

Exporting my calendar led to nusmods.com timing out and leading to a 504 GATEWAY_TIMEOUT code "FUNCTION_INVOCATION_TIMEOUT", id "sin1::mf8qd-1768390909781-20d7020ef866"

To Reproduce

Steps to reproduce the behavior:

  1. Click on 'Download > Image (.png)'
  2. Wait, then see error
Expected behavior

Calendar to download as a .png file

Screenshots
Image
Desktop (please complete the following information):
  • OS: Windows 11 Pro 25H2
  • Chrome
  • Version 143.0.7499.193
Dominant language
JavaScript
Stars
689
Forks
364
Avg merge
7h 5m
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nusmodifications/nusmods

All issues in nusmodifications/nusmods

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.