OAuth Connection Issue: Intermittent Script Load Errors During Shopify App Review

Topic summary

A developer is experiencing intermittent script loading failures during Shopify’s app review process, despite successful testing across multiple browsers. The issues involve:

Technical Details:

  • JavaScript and CSS chunks fail to load with “ERR_CONNECTION_RESET” errors
  • Assets are hosted on Amazon S3 (public bucket) and delivered via CloudFront
  • OAuth flow initiates successfully before resource loading fails

Key Characteristics:

  • Errors are inconsistent (hit or miss)
  • Developer cannot reproduce the issue internally
  • Only occurs during Shopify’s review process
  • Console screenshot provided showing specific failed chunk files

Current Status:
The developer is seeking advice from others who may have encountered similar intermittent CDN/asset loading issues during app review, particularly related to CloudFront delivery or S3 configuration that might cause connection resets for reviewers but not in standard testing environments.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hi Shopify Devs,

I’m facing a bit of trouble during the app approval process. Our OAuth connection setup has been smooth across different browsers in our tests, but the Shopify reviewer ran into errors with some of our website scripts not loading, specifically JavaScript and CSS chunks. The console errors show “ERR_CONNECTION_RESET” which is puzzling.

The problematic files are stored on Amazon S3 in a public bucket and delivered through Amazon CloudFront, and this screenshot from the reviewer’s console captures the issue.

Here is a example file link.
https://static.marble.app/frontend-static-files/master/ca67758c3b0166fd25b2e43f96f2f90753ffa322/js/main.e35b8950.chunk.js.gz

Key points to note:

  • OAuth kicks off without issues.
  • These resource load failures are hit or miss.
  • We haven’t been able to replicate this problem ourselves.

Any advice or similar experiences would be super helpful. I’m all ears for any troubleshooting tips.