Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Uppy incompatibility due to OPTIONS request #436
Before writing the issue details, I wanna say thank you for this amazing gem! Helps out a bunch every day!
Direct upload to S3 with uppy & Shrine.
Uppy sends a OPTIONS preflight request to /s3/params and the response is Method Not Allowed (405)
Simplest self-contained example code to demonstrate issue
The exact same code passes when using uppy
Ruby version: 2.6.5
Shrine version: 3.0.1
That's great to hear!
Yes, this is a known issue, but I haven't opened a ticket for it yet, so thanks for doing that
Even though the OPTIONS request is failing, the direct upload itself should still succeed, at least that's how it is for me locally on Chrome/Firefox. So, it's more of an annoying failed request in the network inspector tab than an incompatibility.
That being said, we definitely plan to fix this. We need the
I ended up fixing this by overwriting the
There should be no need, as the upload itself should still be working. Uppy is the one making the OPTIONS request to fetch information from the Uppy Companion (which in our case is