504 Gateway time-out, client won't load


Project was running ok locally but can’t get client to load once I moved it to glitch. Node server is running, I can see it in the logs. At first I thought it was a disk space problem but now i’ve removed all node_modules from client (biggest folder) and just imported build directly from desktop. This build runs fine in my browser locally but I’m getting 504 Gateway time-out on glitch.

Also seems like something is generally buggy with this disk because when i try to check disk usage i’m now seeing “0” in the -/app directory??

$ df -ih
Filesystem     Inodes IUsed IFree IUse% Mounted on
overlay          6.2M  1.1M  5.1M   17% /
tmpfs            3.8M    16  3.8M    1% /dev
tmpfs            3.8M    16  3.8M    1% /sys/fs/cgroup
/dev/rbd73          0     0     0     - /app
/dev/xvda1       6.2M  1.1M  5.1M   17% /tmp
shm              3.8M     1  3.8M    1% /dev/shm
tmpfs            3.8M   946  3.8M    1% /etc/hosts
/dev/xvdp1          0     0     0     - /rbd/pnpm-volume/66436536-7248-4a91-8675-c297af60ed0f
/dev/xvdp1          0     0     0     - /rbd/pnpm-volume/store/2/server
udev             3.8M  1002  3.8M    1% /dev/tty
tmpfs            3.8M     1  3.8M    1% /proc/scsi
tmpfs            3.8M     1  3.8M    1% /sys/firmware

project is at https://glitch.com/edit/#!/picnic.

i have tried:
• removing and reinstalling node_modules multiple times
• wiping whole project and reimporting from github
• remixing project

not sure what to try next?


In a remixed project, I can get the 504 error to stop and the client to load if I remove the app.use(session on line 35 in server.js. That’s probably just a setup issue in my remix, but it at least it suggests that if you’re still having disk issues, remixing might fix it up for you.