Troubleshooting#
403 on signed URLs#
Check that the full query string is preserved by the proxy (
$query_stringin Nginx).Ensure
WEBRICK_SIGN_KEYmatches between generator and verifier.If using temporary URLs, confirm clock skew and TTL (
signedDefaultTtl).
406 Not Acceptable#
Negotiation middleware rejects unacceptable
Acceptheaders. Ensure your client requests supported types.Use
Response::auto()for convenience.
Weird caches#
Verify
Varyheaders includeAccept-Encoding/Accept-Languageas emitted by middleware.Avoid stripping or overwriting
Varyat the proxy/CDN.