sst / sst

Build full-stack apps on your own infrastructure.
https://sst.dev
MIT License
22.19k stars 1.68k forks source link

SST Deployed Remix Redirects Timeout. #4605

Open tallowen opened 6 months ago

tallowen commented 6 months ago

The following is the repository of all the steps below: https://github.com/tallowen/remix-redirect-issue

Steps to reproduce:

  1. npx create-remix@latest
  2. sst init
  3. Add a new routes with loaders in redirects minimal commit
  4. Verify that redirects work locally:

When deployed using express or another simple framework, redirects work properly. When deployed using sst ion, these redirects timeout the lambda that is processing them.

tallowen commented 6 months ago

To be explicit, the above repo can be deployed on:

Without the redirect error.

sammyjoyce commented 6 months ago

Yeah, there is already in issue - sst/sst#4646 I have a PR up - sst/ion#427

tallowen commented 6 months ago

@jayair - feel free to close in favour of the other issue if that makes sense!